Commit Graph

1269 Commits

Author SHA1 Message Date
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
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