Commit Graph

1263 Commits

Author SHA1 Message Date
Jason Perkins
0a596481a0 Add path.normalize() 2013-12-17 13:41:58 -05:00
Jason Perkins
7669651db0 Split VC 2010 link entries out for easier overriding 2013-12-11 17:33:44 -05:00
Jason Perkins
c79f93665a Add command line options to filter terms for configurations
--renderer=opengl can be used like: configuration { "renderer=opengl" }
  --release can be used like: configuration { "release" }
2013-12-10 11:59:35 -05:00
Jason Perkins
69572e392f Handle trees based at the root of the filesystem 2013-12-09 17:35:21 -05:00
Jason Perkins
bbdba2273e For convenience, allow nil arguments to some table functions 2013-12-09 16:26:34 -05:00
Jason Perkins
82e2676b40 Write scripts.c to right location even when called from a different working directory 2013-12-01 16:03:08 -05:00
Jason Perkins
1f126d1855 Bug: ignores first command line argument after the action 2013-12-01 15:38:28 -05:00
Jason Perkins
97edb4bee9 Improve comment filtering in embed action 2013-12-01 15:30:28 -05:00
Jason Perkins
7d77ec8a1a Only write scripts.c if modified by embed action 2013-12-01 15:24:25 -05:00
Jason Perkins
2774e7796a Port string.startswith() to native code 2013-11-26 19:10:53 -05:00
Jason Perkins
082dc318e4 Add missing 'local' keyword on internal helper functions to prevent overwriting 2013-11-26 17:37:21 -05:00
Jason Perkins
446090b6d8 Added more command line flags for MSC compiler 2013-11-22 14:06:41 -05:00
Jason Perkins
6dc52d2e08 Improve command line argument processing
- allow options to appear after the action
- export "raw" arguments to new _ARGV variable
2013-11-22 13:11:51 -05:00
Jason Perkins
11bfb279d3 Added support for Settings.settings file association 2013-11-20 15:35:37 -05:00
Jason Perkins
1ee62b13bc Removed override of Lua type(); no longer required by Premake APIs 2013-11-20 13:26:52 -05:00
Jason Perkins
06aa897261 Add new "Resource" build action for WPF 2013-11-16 11:53:48 -05:00
Jason Perkins
fadde31127 Begin adding support for .xaml files 2013-11-15 17:17:41 -05:00
Jason Perkins
d3f0a43644 Add flag "WPF" to enable Microsoft WPF project handling 2013-11-15 16:35:27 -05:00
Jason Perkins
708175e24b Split baking back out into own source file; prevent automatic baking of "raw" objects 2013-11-14 08:52:55 -05:00
Jason Perkins
6a57a89e9c Allow embed action to be called from non-standard locations 2013-11-07 09:39:46 -05:00
Jason Perkins
6cb3034234 Fix misplaced variable declaration 2013-11-10 16:19:25 -05:00
Jason Perkins
c38eb0c67f Fix virtual path matching for patterns like "filename.*" 2013-11-10 16:14:29 -05:00
Jason Perkins
3722d90662 Remove some dead code 2013-11-07 07:45:28 -05:00
Jason Perkins
071e74f0ae Move setting of _PREMAKE_COMMAND into premake_execute() for reuse 2013-11-05 11:50:59 -05:00
Jason Perkins
868e9192ab Split VS C# project properties into function callouts 2013-10-31 11:51:32 -04:00
Jason Perkins
b5e7a345fb Merged in triton/premake-cs-fixes/make-rc2 (pull request #71)
Fixed resource compiler tool in the C++ Make backend.
2013-10-31 11:19:09 -04:00
Jason Perkins
e2e4bd5113 Merged in TurkeyMan/premake-dev/patchability (pull request #85)
Improvements to vstudio patchability
2013-10-31 11:05:34 -04:00
Jason Perkins
cd3c44bb46 Dropped unused namestyle fields 2013-10-31 10:58:10 -04:00
Jason Perkins
91d003a82f Phased out sysflag tables from tool adapters 2013-10-31 10:57:25 -04:00
Jason Perkins
ed4afb5e10 Merged in TurkeyMan/premake-dev/number_bool_apis (pull request #88)
Added number, integer and boolean api 'kinds'.
2013-10-31 07:38:16 -04:00
Manu Evans
29ce69b9e7 Added number, integer and boolean api 'kinds'. 2013-10-31 12:30:52 +10:00
Jason Perkins
db77bb3434 Fix C# resource file associations when placed in a subfolder 2013-10-30 14:22:53 -04:00
Jason Perkins
7ef0bf5bc8 Merged in TurkeyMan/premake-dev/omitDefaultLibrary (pull request #86)
Added OmitDefaultLibrary flag
2013-10-30 11:15:05 -04:00
Manu Evans
b60e999f50 Removed floatingpoint 'None'. 2013-10-30 14:13:02 +10:00
Manu Evans
3feb383e2b Support vs2005 (yes, I downloaded and installed vs2005 to test).
Added unit tests.
2013-10-30 14:03:24 +10:00
Jason Perkins
45b7dd029b Removed a bit of dead code 2013-10-29 15:58:20 -04:00
Manu Evans
40c846c2fe Added OmitDefaultLibrary flag. 2013-10-29 17:10:01 +10:00
Manu Evans
e30adefed5 Made solution patchable. 2013-10-29 15:47:39 +10:00
Manu Evans
d14a0f6ec8 Minor changes to improve patch-ability. 2013-10-29 15:43:35 +10:00
Jason Perkins
3b5a070d42 Split more of VC 200x exporter into function call-outs 2013-10-28 11:01:41 -04:00
Jason Perkins
95ac073019 Only generate VC'10 .filters file when project has subfolders 2013-10-27 10:56:22 -04:00
Jason Perkins
d2295fc5d5 Merged in triton/premake-cs-fixes/gcc-rc (pull request #68)
Added support for resource compiler tool under the GCC toolset.
2013-10-24 11:39:57 -04:00
Jason Perkins
b9739214dc Merged in triton/premake-cs-fixes/cs-noconfig (pull request #66)
C# Make projects now specify the "/noconfig" csc/mcs flag to behave like VS.
2013-10-24 11:38:52 -04:00
Jason Perkins
bff804a03a Merged in triton/premake-cs-fixes/cli-usingdirs3 (pull request #75)
Added new function usingdirs() to specify additional C++/CLI using directories.
2013-10-24 11:32:48 -04:00
Jason Perkins
f9015f55f1 Fix DEPENDS in C# Makefiles (João Matos, Jason Filsinger) 2013-10-24 11:30:05 -04:00
Jason Perkins
04b290f725 Allow "*" to select the parent scope (i.e. solution "*" selects global scope, project "*" selects solution scope) 2013-10-24 09:59:24 -04:00
Jason Perkins
7257516dac Make force includes a mixed list field, so includes can be specified relative to search paths easily 2013-10-23 13:20:57 -04:00
Jason Perkins
ccede98258 Move some of .csproj exporter to function callout convention 2013-10-23 13:06:03 -04:00
Jason Perkins
a31373e287 Begin porting VC200x exporter to new function callout conventions 2013-10-23 10:51:11 -04:00
Jason Perkins
9831545e2d Fix path.getrelative() when trailing slashes are present 2013-10-22 16:32:51 -04:00