Commit Graph

1224 Commits

Author SHA1 Message Date
Jason Perkins
05975042a2 A bit of clean-up on io.lua 2013-12-24 13:08:16 -05:00
Jason Perkins
ffdacd7fba Treat linker warnings as errors when FatalWarnings is set 2013-12-24 14:01:57 -05:00
Jason Perkins
cd4e12e287 Remove MSC /MANIFEST and /INCREMENTAL flags; are already the default values 2013-12-23 16:52:54 -05:00
Jason Perkins
591b6d4083 Add /DLL switch when building shared libs with MSC 2013-12-20 10:19:44 -05:00
Jason Perkins
0824533307 Allow implib… fields to control linking names for all target kinds 2013-12-20 09:48:03 -05:00
Jason Perkins
1bbefc56aa Move path.normalize() to native code for performance 2013-12-22 14:14:31 -05:00
Jason Perkins
3af52fd900 Return resultfrom insertflat() to allow chaining of operations 2013-12-20 14:58:11 -05:00
Jason Perkins
b3216cbcf8 Return absolute path if getrelative() hits the top of a DOS file system (issue #213) 2013-12-20 15:08:05 -05:00
Jason Perkins
860826c3d8 Review and fix manifest ordering; move some functions up the load order to allow earlier use 2013-12-19 16:13:04 -05:00
Jason Perkins
957a6e45e1 Move more tool switches into the mapping tables 2013-12-17 16:43:09 -05:00
Jason Perkins
fbfa40f5b3 - Expose the matching logic used by os.matchdirs() and os.matchfiles() for overriding
- Cache results of os.is64bit()
2013-12-17 13:49:25 -05:00
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
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
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
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