Commit Graph

1403 Commits

Author SHA1 Message Date
Oliver Schneider
5c15e8791a Removing the execute bit on these source files, no line changes of any kind, though. 2014-02-05 00:43:21 +00:00
Jason Perkins
c5ada9c42f Convert VCCLCompilerTool to call arrays 2014-02-04 16:04:36 -05:00
Jason Perkins
5f1c12a1cf Fix makefile unit tests broken by previous commits 2014-02-04 15:27:51 -05:00
Jason Perkins
9c2e0b456a Merged in windirstat/premake-dev/fix_issue214 (pull request #93)
Same fix as for premake-stable
2014-02-04 14:24:29 -05:00
Oliver Schneider
2ce5c148ac Same fix as for premake-stable 2014-02-04 00:47:12 +00:00
Jason Perkins
46e3a06330 Port VC 200x user files to new indentation APIs, fix a few indentation bugs from previous commit 2014-01-31 14:29:58 -05:00
Jason Perkins
93949df3fc Enable per-file defines in VC 2010 projects 2014-01-28 13:41:58 -05:00
Jason Perkins
6db06d6985 Use new indentation-aware APIs in VC 200x exporter 2014-01-31 11:40:09 -05:00
Jason Perkins
f40bdf16c1 Switch local namespace alias from _ to m
- avoids conflicts with _ as a dummy variable in loops
- matches the informal Lua convention for module definitions
2014-01-28 10:42:49 -05:00
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
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