Commit Graph

1496 Commits

Author SHA1 Message Date
Jason Perkins
3a2c736b3b Add implementations for all VC 200x tools, as override points for modules 2014-01-24 13:06:52 -05:00
Jason Perkins
623b35aba8 Add indentation aware output functions for exporters 2014-01-24 18:57:00 -05:00
Jason Perkins
17a6308140 Merged in TurkeyMan/premake-dev/gmakefix (pull request #90)
Removed another evil open else statement.
2014-01-22 11:56:39 -05:00
Manu Evans
04a6b92b4f Removed another evil open else statement. 2014-01-22 18:57:33 +10:00
Jason Perkins
625d4a9d5d Fixed broken vc200x namespace alias in loops 2014-01-18 14:54:46 -05:00
Jason Perkins
d618f62419 Normalize paths in os.* functions before working with them (Richard Geary) 2014-01-16 15:38:33 -05:00
Jason Perkins
bc4b65b9a4 Use rawget() for testing new API calls; allows global namespace metatables 2014-01-16 14:50:26 -05:00
Jason Perkins
729cab1680 Convert existing VC 200x call arrays to new format 2014-01-16 14:22:38 -05:00
Jason Perkins
6cf6ab4955 Add prebuild-, prelink- and postbuildmessage() 2014-01-15 16:12:29 -05:00
Jason Perkins
98ee892303 Use boolean fields rather than string decorations for extra API field information (Richard Geary) 2014-01-14 16:43:14 -05:00
Jason Perkins
d9a9919f49 Use DOS-style environment variables in VS solution paths 2014-01-13 17:10:53 -05:00
Jason Perkins
945d3fd279 Remove incompatible /DEBUG flag from MSC librarian command line arguments 2014-01-10 10:59:03 -05:00
Jason Perkins
fc381f7c67 Add api.alias() to allow complete aliasing of project API calls 2014-01-11 15:31:37 -05:00
Jason Perkins
a64bfc630f Change premake.extensions namespace to premake.modules, to match online docs 2014-01-11 15:31:15 -05:00
Jason Perkins
2efe9d780d Fixed VC 2010 escaping of custom build steps 2014-01-10 10:40:45 -05:00
Jason Perkins
48bbde5334 Fixed XML escaping for VS C# projects 2014-01-09 18:06:03 -05:00
Jason Perkins
75da14d13b Split XML declarations from VS project headers, to allow comments to be inserted by modules 2014-01-07 17:08:51 -05:00
Jason Perkins
9108d6d3e5 Show name of action in the missing field error message 2013-12-30 17:19:00 -05:00
Jason Perkins
5ef4cb3012 Expose target name builder for extension modules 2013-12-30 17:18:20 -05:00
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
Renaud Guillard
5e17dfec18 Check presence of ld.so.conf files. Add support of additional ld.so.conf in /opt path 2013-12-05 20:58:42 +01:00
Renaud Guillard
50534c2338 Transform solution groups into target aggregates 2013-12-05 20:41:35 +01: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