Commit Graph

1393 Commits

Author SHA1 Message Date
Jason Perkins
1f67707a9b Store config maps in a list, so project script ordering will be maintained 2014-08-28 09:19:14 -04:00
Jason Perkins
6449bc70a6 Re-fix "empty loop body" warnings broken by previous commit 2014-08-26 14:07:02 -04:00
Jason Perkins
2d9a997e04 Add casts to lua_Number to allow working with floating point runtimes 2014-08-10 15:53:25 -04:00
Jason Perkins
22d46ce57c More modernizing of VC 201x for extensibility 2014-08-07 18:07:32 -04:00
Jason Perkins
9044ece96f Allow modules loaded via require() to use script-relative paths 2014-07-30 15:35:26 -04:00
Jason Perkins
3a4888b810 Allow ExcludeFromBuild flag to work properly with mapped configurations 2014-07-29 16:34:54 -04:00
Jason Perkins
42cb65e0cb Allow ExcludeFromBuild flag to exclude entire configurations (VS only) 2014-07-29 16:00:02 -04:00
Jason Perkins
b1e25f43b1 Test framework no longer errors when test is not found 2014-07-29 15:50:55 -04:00
Jason Perkins
bed5207c5e Fix up formatting of tests from previous commit 2014-07-29 14:57:20 -04:00
Jason Perkins
32fc58eb23 Merged in gaz_liddon/premake-dev (pull request #115)
Fixes external library name mangling in gmake makefiles
2014-07-29 14:54:08 -04:00
Jason Perkins
2dfa47c0eb Fix up unsafe flag test from previous commit 2014-07-29 14:51:17 -04:00
Jason Perkins
394427a3db Merged in triton/premake-cs-fixes/cs-unsafe2 (pull request #67)
Added Unsafe flag support to the C# Make action.
2014-07-29 14:49:46 -04:00
Jason Perkins
d39cb36aef Allow external projects to be explicitly linked; use target...() APIs to control target name 2014-07-28 19:18:45 -04:00
Jason Perkins
02eb13e99d Stop writing PDB file name element to VS 201x C++ projects; use default name instead 2014-07-28 16:37:45 -04:00
Jason Perkins
ff146754fc Simplify list and keyed field merging code paths; performance improvement 2014-07-28 16:11:29 -04:00
Jason Perkins
00f1cd902c Add api.addAliases helper; allow field name arguments to api.unregister() 2014-07-23 15:54:15 -04:00
Jason Perkins
c3042f9b02 Minor fix-ups on field definitions; fix kind of buildoutputs() 2014-07-23 15:53:43 -04:00
Jason Perkins
10d0bd315f Small fixes to unit test framework
- test.contains() can now accept and array of values to check
- no longer errors on /test argument if no matching suite/test is found
2014-07-23 13:10:41 -04:00
Jason Perkins
65d1ddf211 Move VS 201x output property group opening tag into elements array to allow for overriding 2014-07-22 16:34:40 -04:00
Jason Perkins
ccfc2b8b66 Allow "!" prefix to force an explicit object directory, disregarding project or configuration overlaps 2014-07-21 18:49:56 -04:00
Jason Perkins
ce0e8f8e90 Merged in triton/premake-cs-fixes/defplatform (pull request #108)
Added support for setting default platforms and implemented the VS action.
2014-07-17 11:48:41 -04:00
Jason Perkins
35582e2c4c Added cleanExtensions(), with VC 201x support 2014-07-16 15:32:08 -04:00
Jason Perkins
7b8d4c4c98 Merge utility and build rule improvements 2014-07-16 14:24:00 -04:00
Jason Perkins
f38c76a3ee Fix handling of dependson() for VS C# projects (João Matos) 2014-07-15 18:31:26 -04:00
Jason Perkins
19c3d7c972 Support project-level custom rule variables for VS 201x 2014-07-15 11:16:59 -04:00
Jason Perkins
8d206735b6 Improve compatibility with VS 201x Utility projects 2014-07-14 16:48:03 -04:00
Jason Perkins
5614bfcd17 Fixes to support a wider range of field kinds
- Rename api.checkvalue() to api.checkValue() and swap argument order for consistency
- Add kind argument to api.checkValue() to identify which segment is being tested
- Limit wildcard test in remove() to string values
- Return error message from field.new() instead of raising error internally
2014-07-14 12:00:30 -04:00
Jason Perkins
7158f623b9 #222: os_match.c should use do_isfile() 2014-07-10 16:08:19 -04:00
Jason Perkins
3cea3afe1c Merged in stefanc/premake-dev/gmake-parallel-pch (pull request #118)
Fix gmake parallel builds when using precompiled headers
2014-07-08 17:32:00 -04:00
Jason Perkins
b39daa31c1 Fixes for custom rule variable error handling 2014-07-07 17:03:46 -04:00
Jason Perkins
1a84bd6530 Move more unit test helpers to testfx, so they can be used by modules 2014-07-07 17:03:14 -04:00
Jason Perkins
5d5928a759 Added response file support to C# Make action (João Matos) 2014-07-01 16:35:31 -04:00
Jason Perkins
d22bc1a4bc Remove unused scope argument from api.gettarget() 2014-07-01 11:13:52 -04:00
Jason Perkins
57667cc16a Merge basic support for custom Visual Studio rule files 2014-06-30 15:18:59 -04:00
Jason Perkins
a520c6c732 Merge with default 2014-06-27 11:08:59 -04:00
Jason Perkins
55a5feec48 Add Premake executable directory to search path for the system script 2014-06-27 11:06:17 -04:00
Jason Perkins
0df2020f6b Pass _PREMAKE_COMMAND unit test when executable uses a non-standard name or location 2014-06-26 10:43:48 -04:00
Jason Perkins
d5ef6f4c32 Small optimization, improves compatibility with DLL version of Lua runtime 2014-06-26 10:40:24 -04:00
Jason Perkins
019ba5dcfc Safely ignore nil values in list fields 2014-06-16 10:13:00 -04:00
Jason Perkins
725e433929 Added missing extension targets section for custom rules 2014-06-12 19:05:44 -04:00
Jason Perkins
bd49556345 Bug fixes and modernizing of VC 2010 exporter 2014-06-12 18:39:39 -04:00
Jason Perkins
07a4ad897d Add custom rules to VC 2010 filters 2014-06-12 16:14:42 -04:00
Jason Perkins
d7c7c9373d Modernizing pass over VS'10 file generation 2014-06-11 16:05:25 -04:00
Jason Perkins
d7bd1e381d Added support for custom rule list variables (VS only) 2014-06-11 13:52:08 -04:00
Jason Perkins
efe5f1e292 Initial implementation of a minimal custom rules API (currently Visual Studio only) 2014-06-10 16:38:16 -04:00
Stefan Cosma
20e44b9f34 - Fix gmake parallel builds when using precompiled headers 2014-06-05 18:11:03 +02:00
Jason Perkins
70b66f2b31 Remove problematic strip-symbol flags from Clang tool adapter
- see http://industriousone.com/topic/how-remove-flags-ldflags
2014-06-02 11:35:09 -04:00
Jason Perkins
026b75bd3f Handle missing value edge cases when validating configuration values 2014-05-30 17:03:15 -04:00
Jason Perkins
27a39db6a6 Stop using io.tmpfile() in script embedding; doesn't always work on Windows 2014-05-29 18:04:58 -04:00
Jason Perkins
8fe9c55a15 Added os.islink() — does path point to a symbolic link or reparse point? 2014-05-28 15:08:54 -04:00