Jason Perkins
6471232ced
Begin implementation of property definitions for generated rules
...
- add new API propertyDefinition() with name, kind, and default value keys
- write default values to Visual Studio .props files
2014-08-27 10:40:36 -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
8108d278df
Introduce configuration container API; reimplement rules as a container class
2014-08-25 16:15:04 -04:00
Jason Perkins
95d487b8ee
Add location() and filename() support for generated rule sets
...
- Enable new top-level field scope "rule"
2014-08-19 11:05:27 -04:00
Jason Perkins
f99293bee2
Split rule file generation into namespaces to prevent function name overlaps
2014-08-14 17:45:44 -04:00
Jason Perkins
643a0067f0
Fill in generated skeleton of Visual Studio VS 201x rule files
2014-08-14 17:37:35 -04:00
Jason Perkins
67582066a0
Add opening XML and project elements to rule files; consolidate common code
2014-08-11 17:50:55 -04:00
Jason Perkins
9230abc637
Rename project.getfilename() to premake.filename(); now used by rules too
2014-08-11 17:28:51 -04:00
Jason Perkins
08e1494ff3
Clean up namespace usage in action.lua
2014-08-11 17:14:41 -04:00
Jason Perkins
947adac8ee
Start rule set implementation
...
- Add rule() function
- Generate empty rule files for Visual Studio 201x
2014-08-11 17:02:36 -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