Jason Perkins
a04b0aa9cd
Fix indentation in Visual Studio .user and .filter files
2014-09-19 14:02:50 -04:00
Jason Perkins
039d83cc28
Merge latest development branch
2014-09-18 17:29:01 -04:00
Jason Perkins
8f4a17f046
Merge automated test framework updates
2014-09-18 16:35:25 -04:00
Jason Perkins
b347b204d8
Modify testing scripts to use new test action setup
2014-09-18 16:19:08 -04:00
Jason Perkins
52515963b4
Make test framework module aware
...
- Move test action into main project script
- Look for and load test suites from manifest files
- Make individual tests play nicer with third-party modifications
2014-09-17 19:19:47 -04:00
Jason Perkins
6376110d0c
Restore XML declaration extension point for VC 201x projects
2014-09-12 15:47:22 -04:00
Jason Perkins
df3688f56a
Basic support for boolean properties, some fixes
2014-09-11 10:57:13 -04:00
Jason Perkins
5d9901913c
Merge with development branch
2014-09-11 10:56:44 -04:00
Jason Perkins
a0af35b467
Added basic support for enum and list rule properties
2014-09-11 10:20:13 -04:00
Jason Perkins
c034834dc1
Complete generation of simple .targets files
2014-09-10 16:38:38 -04:00
Jason Perkins
63927957d6
Fill in more easy bits in generated rule .targets
2014-09-04 14:22:49 -04:00
Jason Perkins
1f1f5bee5f
Add rule .props file support for buildCommands, buildOutputs, buildMessage, buildDependencies
2014-09-03 16:14:42 -04:00
Jason Perkins
962ab7935b
Add new globals _PREMAKE_DIR, _MAIN_SCRIPT, and _MAIN_SCRIPT_DIR
2014-09-02 16:43:09 -04:00
Jason Perkins
287c592733
Fix _WORKING_DIR global broken by commit 3da877fd5473
2014-09-02 15:41:02 -04:00
Jason Perkins
7e345ea1ac
Merge deterministic configuration map fixes
...
- Store maps in a list, so the project script ordering will be maintained when applied
2014-08-28 09:38:20 -04:00
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
98aba2438f
Rework filter() and configuration() to support new container hierarchies; can now use on rules
2014-08-27 16:38:58 -04:00
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