Commit Graph

1278 Commits

Author SHA1 Message Date
Jason Perkins
253b48718b Clean up implementation of VC 200x tool element maps 2014-02-21 09:04:52 -05:00
Jason Perkins
0af9660606 Fix file sort order for VC'10 projects when virtual paths are used 2014-02-26 18:43:06 -05:00
Jason Perkins
9e30be2197 Move action and argument processing to scripts 2014-02-26 15:47:33 -05:00
Jason Perkins
2422a54f6a Move command line option processing to scripts 2014-02-26 15:36:11 -05:00
Jason Perkins
51ab0947e8 Make _OPTIONS table key lookups case insensitive 2014-02-25 13:17:04 -05:00
Jason Perkins
68d517c061 Update copyright dates 2014-02-20 15:21:47 -05:00
Jason Perkins
cba18ab007 Port and clean up empty configuration handling in VC 200x projects 2014-02-18 10:59:56 -05:00
Jason Perkins
b320248d7b A bit of clean-up work over the recently modified call array code 2014-02-11 11:11:46 -05:00
Jason Perkins
1b28b48a6b Fix duplicate flags in Gmake PCH build commands (Patrick Rapin) 2014-02-14 15:22:32 -05:00
Jason Perkins
85e62a76f5 Make framework a configuration value, to enable more reuse by modules (Will Vale) 2014-02-14 15:18:37 -05:00
Jason Perkins
fc79f5d9dc Add distinct FatalCompileWarnings and FatalLinkWarnings flags 2014-02-14 12:23:12 -05:00
Jason Perkins
407861bc80 Allow custom build and resource files to be excluded from builds 2014-02-11 18:04:07 -05:00
Jason Perkins
d52a835bdd Consolidate key-value setter function into api.getSetter(); simplify addition of custom setter logic 2014-02-11 15:22:10 -05:00
Will Vale
b5a40c9fd2 Removed "valid" framework values - aim is to use framework for other systems - e.g. Android API level 2014-02-12 00:04:33 +13:00
Jason Perkins
6b7a05722d Route all output through premake.out() to simplify interception and overriding.
Fix a related bug in the C++ makefile generator.
2014-02-08 12:26:18 -05:00
Jason Perkins
1cbc2bef9d Clean up pass over output APIs used by exporters
- Reworked _p() and _x() over new indentation-aware output APIs
- Added proper APIs for setting indentation, EOL sequence, and value escaping
- Moved functions intended for exporters to premake.lua (with generation and validation calls)
2014-02-08 10:44:57 -05:00
Jason Perkins
b3468bd591 Add locale() to specify culture codes for Visual Studio C/C++ resources 2014-02-06 15:38:51 -05:00
Jason Perkins
f44ac84545 Add per-file defines for VC 200x 2014-02-05 17:04:37 -05:00
Jason Perkins
984b14c621 Merged in windirstat/premake-dev/fix_issue223_sln2 (pull request #102)
Possible solution 2 for issue #223
2014-02-05 11:46:27 -05:00
Jason Perkins
17e4438ccc Merged in windirstat/premake-dev/fix_issue41 (pull request #99)
This fixes issue #41 by simply resetting the indentation to its default ...
2014-02-05 11:31:56 -05:00
Jason Perkins
7fa0736285 Merged in windirstat/premake-dev/oliver_ignore_pclint_visuallint (pull request #98)
Unified .gitignore and .hgignore and added three types of files to be ignored
2014-02-05 11:29:35 -05:00
Jason Perkins
105b2a163f Merged in windirstat/premake-dev/remove_x_on_source_files (pull request #97)
Removing the execute bit on these source files, no line changes of any kind, though.
2014-02-05 11:18:31 -05:00
Oliver Schneider
d959eb7ccb Possible solution 2 for issue #223 2014-02-05 03:30:26 +00:00
Oliver Schneider
f0086c20de This fixes issue #41 by simply resetting the indentation to its default at the beginning of solution generation, i.e. in vs2005.generateSolution, shared by all VS implementations 2014-02-05 02:15:38 +00:00
Oliver Schneider
697c70d2df Adding ignore entries for .vlstatus (Visual Lint) and .lnt (PCLint) 2014-02-05 02:05:03 +00:00
Oliver Schneider
0ed7fb2238 Unifying the .gitignore and .hgignore files before adding my own 2014-02-05 02:03:04 +00:00
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