Commit Graph

1666 Commits

Author SHA1 Message Date
Renaud Guillard
4323ed7a2f os.findlib(): add new argument to specify additional library search paths 2015-01-07 00:31:34 +01:00
João Matos
da75753b0d Added support for debug arguments to the C# VS/XS projects generators.
Obsoletes pull request #113, thanks to Elias Holzer for original code.
2015-01-02 22:26:13 +00:00
Jason Perkins
b9d6ce892b Fix Visual Studio 2013 tool and framework version numbers 2014-12-29 15:18:07 -05:00
Jason Perkins
c922f3a199 Fix "unused parameter" warning 2014-12-24 16:40:15 -05:00
Jason Perkins
e507d1a2fb Exclude resource elements from Visual Studio when no resource files are present 2014-12-23 20:05:40 -05:00
Jason Perkins
247018cef0 Fix relative loading of embedded scripts when local file exists 2014-12-22 17:08:47 -05:00
Jason Perkins
25255da22d Error on attempts to override a missing function 2014-12-22 11:52:57 -05:00
Jason Perkins
b47d85390e Add target field name to "invalid value" error messages 2014-12-22 11:52:31 -05:00
Jason Perkins
8f9ae22861 Defensive check for missing basedir field on config set blocks 2014-12-22 11:52:01 -05:00
Jason Perkins
dad1ee10e3 Pass Lua state to do_chdir(), for use by native code customizations 2014-12-22 11:51:06 -05:00
Jason Perkins
e2d8acf864 Allow main script name to be overridden in premake_execute() 2014-12-22 11:50:26 -05:00
Jason Perkins
b68537cd00 Remove dead code from option unit tests 2014-12-22 11:49:47 -05:00
Jason Perkins
a8f4c5561a Fix failing PS3 related unit tests 2014-12-18 16:41:58 -05:00
Jason Perkins
934e3cecf8 A bit of cleanup 2014-12-13 17:32:09 -05:00
Jason Perkins
1bcd783031 Consolidate Visual Studio extensions into the core action 2014-12-08 17:42:00 -05:00
Jason Perkins
ceb3c83d67 Remove outdated PS3 support
I will be bringing this back shortly, in a more complete form
2014-12-08 16:04:41 -05:00
Jason Perkins
2ee89a7181 Merged in dcourtois/premake-dev/test_issue_63 (pull request #140)
added unit test for issue #63
2014-12-16 15:24:25 -05:00
Damien Courtois
5b872a3a7f added unit test for issue #63 2014-12-16 10:44:56 +01:00
Jason Perkins
7b44ef842d Merge improved field scoping for usages 2014-12-13 17:39:58 -05:00
Jason Perkins
89d33d2c8a Allow containers to explicitly list support for config scoped fields 2014-12-13 17:03:53 -05:00
Jason Perkins
eb0904698f Fix escaping of multiple build rule inputs 2014-12-08 12:44:51 -05:00
Jason Perkins
8756cd3eed Add missing quotes around PCH compile flags (h/t Daniel Gibson)
See comment at 7e583c84a3 (comment-1468822)
2014-12-08 11:47:55 -05:00
Jason Perkins
590981d94d Merge command tokens feature 2014-12-03 16:47:55 -05:00
Jason Perkins
b9fe7a510f Fix DOS touch token replacement to work when file is in a different directory 2014-12-03 16:23:16 -05:00
Jason Perkins
c613ea9a83 Add CHDIR command line token 2014-12-01 17:34:08 -05:00
Jason Perkins
f6d226c808 Add DELETE, ECHO, MKDIR, MOVE, RMDIR, and TOUCH command line tokens 2014-12-01 17:27:57 -05:00
Jason Perkins
59568aeeb1 Add /I to xcopy token replacement to avoid "file or directory?" prompts 2014-12-01 16:49:52 -05:00
Jason Perkins
fbdceb7f0a Fix translateCommands() call in os.execute 2014-11-30 10:43:26 -05:00
Jason Perkins
6e12c6485f Move command token expansion into actions, to allow more control at point of export 2014-11-29 14:51:49 -05:00
Jason Perkins
56b8b65334 Improve Windows copy token replacement 2014-11-29 13:53:31 -05:00
Jason Perkins
a04f7e72ae Enable token expansion for os.execute() 2014-11-27 13:14:46 -05:00
Jason Perkins
d645ba7c8f Flag fields containing command lines and expand tokens during baking 2014-11-27 13:12:36 -05:00
Jason Perkins
5d327279cc Add os.translateCommand() to expand tokens 2014-11-27 12:56:48 -05:00
Jason Perkins
c08c1aaabf Merge config validation improvements
- virtual paths are now allowed to bubble up to the project configuration, like config maps
- the validation system is rebuilt on the new container API
2014-11-24 16:03:53 -05:00
Jason Perkins
75814c3e3b Reuse container class test function with API 2014-11-24 15:26:57 -05:00
Jason Perkins
dfc24eccfa Rework validateScopes() to handle arbitrary container hierarchies 2014-11-21 18:26:46 -05:00
Jason Perkins
011b0d9fd8 Port validation logic to walk the new container hierarchy 2014-11-21 17:04:43 -05:00
Jason Perkins
a956ea740e Allow vpaths to bubble up to project from configurations
This allows expressing "use these vpaths if this configuration is present in the project", and placing the vpaths in the same configuration block as the file lists.
2014-11-21 15:24:42 -05:00
Jason Perkins
8eef265558 Fix issue #21: ARCH variable conflicts with building on Gentoo
Remove the $(ARCH) variable from generated makefiles. If needed, we can come up with a different name that doesn't conflict with existing system variables.
2014-11-19 12:29:19 -05:00
Jason Perkins
d882782490 Enable additional filter prefixes
Use criteria.allowPrefix("newPrefix") to allowing filtering configurations: filter { "newPrefix:someValue" }.

Pass extra filter values to oven.bakeConfig() to retrieve a configuration with the new filter applied: oven.bakeConfig(prj, buildcfg, platform, { newPrefix="targetValue" })
2014-11-17 17:53:08 -05:00
Jason Perkins
1b6118077f Added wildcard-in-table matching from previous commit to filter() 2014-11-13 14:40:38 -05:00
Jason Perkins
67f37e2850 Merged in tbasnoopy/premake-dev/configuration resetting using table (pull request #137)
Allow resetting configuration using a table
2014-11-13 14:38:47 -05:00
M Skibbe
8e0d32df41 allow resetting configuration with 'configuration { "*" }' 2014-11-13 10:38:06 +01:00
M Skibbe
97af7fb9b2 Merged premake/premake-dev into default 2014-11-13 10:19:36 +01:00
Jason Perkins
c4ab787b51 Merge new clr() function, replacement for Managed and Unsafe flags 2014-11-12 16:06:51 -05:00
Jason Perkins
0284817398 Implement CLR "Pure" and "Safe" values for VC 201x and MSC 2014-11-11 19:44:44 -05:00
Jason Perkins
baa6989d0f Replace "Off" string literal with p.OFF variable, just in case 2014-11-11 19:29:28 -05:00
Jason Perkins
ca68cc052b Convert all usages of Unsafe flag to new clr() function 2014-11-11 19:24:07 -05:00
Jason Perkins
38c5620f33 Convert all usages of Managed flag to new clr() function 2014-11-11 19:20:29 -05:00
Jason Perkins
77d75071fd Add new API clr() to replace existing Managed and Unsafe flags
A new API is needed to add support for "pure" and "safe" managed C++ code. The existing flags will be marked as deprecated in the documentation, but otherwise left intact.
2014-11-11 19:20:09 -05:00