Commit Graph

1377 Commits

Author SHA1 Message Date
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
Jason Perkins
b0103e76ca Add getLibraryDirectories() to tool adapters
- use throughout to avoid flag duplication in VS projects with external tools
2014-05-23 20:10:34 -04:00
Jason Perkins
17522321aa Disable VS 2013 duplicated file warnings 2014-05-22 10:26:16 -04:00
Jason Perkins
7c8acae626 Add os.realpath() to resolve symbolic links on Posix systems 2014-05-23 18:37:15 -04:00
Jason Perkins
f3395f6cad Rework VC 2010 project exporter to new extensibility conventions 2014-05-22 09:55:28 -04:00
Jason Perkins
87ebf6ee6a Update embedded project information 2014-05-14 17:43:08 -04:00
Jason Perkins
e588886bb8 Added os.chmod() (h/t Richard Geary) 2014-05-14 17:32:56 -04:00
Jason Perkins
537cd73591 Fix action check to work with new interactive prompt 2014-05-13 19:34:53 -04:00
Jason Perkins
b722cfef29 New flag --interactive opens a REPL prompt with project loaded (h/t Richard Geary) 2014-05-13 19:17:50 -04:00
Jason Perkins
9e372f8edb Add --fatal flag to treat Premake script warnings as errors 2014-05-09 15:17:00 -04:00
Jason Perkins
5d38977c99 Fix bug in VC 2010 test suite 2014-05-07 15:18:03 -04:00
Jason Perkins
ae8a1e0cf3 Manual merge pull request #45 (Oliver Kuckertz)
- Add Maps flag to control generation of maps file for Visual Studio
2014-05-01 15:32:50 -04:00
Jason Perkins
2d8be343b1 Remove a bit of dead code from api.lua 2014-04-29 15:45:26 -04:00
Jason Perkins
cb0aba47f3 Stop returning dotted directory names in os.matchdirs() 2014-04-29 15:45:15 -04:00