Commit Graph

1357 Commits

Author SHA1 Message Date
Jason Perkins
d1eb67d43b Enable per-file optimization levels for Visual Studio 2013-10-16 14:29:49 -04:00
Jason Perkins
133cf7ce7c Add "full" and "debug" optimization levels 2013-10-16 13:47:09 -04:00
Jason Perkins
1e24b4790b Improve path.getabsolute
- Allow optional second "relative to" argument to use as base for conversion
- Fix handling of paths like: $ORIGIN/../lib
2013-10-12 16:18:54 -04:00
Jason Perkins
d7ff3629ed Improve error message for conflicting API field registrations 2013-10-12 16:17:24 -04:00
Jason Perkins
760261cf3d Cleaned up configset targeting in the list setting API 2013-10-09 17:34:21 -04:00
Jason Perkins
5855e6f596 Fixed handling of deprecations when warning messages have been disabled 2013-10-09 16:24:49 -04:00
Jason Perkins
b3f907b111 Fixed location of reported deprecation errors 2013-10-09 15:44:08 -04:00
Jason Perkins
30d53ced1d Merged in triton/premake-cs-fixes/cpp-framework (pull request #79)
Use the user specified target .NET framework for Managed C++ VS projects.
2013-10-09 11:38:18 -04:00
Jason Perkins
27cbd39b1d Merged in nitingupta910/premake-dev (pull request #81)
Fixes for gcc/clang
2013-10-09 11:34:58 -04:00
Nitin Gupta
9fc0cc4f85 Handle case for optimize "Off"
Makes gcc/clang use '-O0' when optimize "Off" is set
2013-10-08 18:05:17 -07:00
Nitin Gupta
c3d0e094a8 Fix clang test case
Test asserts that CXX is set to clang++ (and not clang)
2013-10-08 17:30:04 -07:00
Jason Perkins
1aebae101b Added flag to enable/disable deprecation handling for backward compatibility 2013-10-08 14:13:56 -04:00
Jason Perkins
192cf143a7 Fix pattern matching in deprecated value removal handler 2013-10-08 13:45:37 -04:00
Nitin Gupta
078b4e8a08 Set CXX to clang++ when toolset is clang
Without this, clang (instead of C++) is used even
when compiling C++ code.
2013-10-07 22:41:45 -07:00
Jason Perkins
084f846192 Removed some useless code 2013-10-03 16:43:32 -04:00
Jason Perkins
9889b06e89 Handle removal of wildcard values in deprecation system 2013-10-04 15:32:56 -04:00
Jason Perkins
9ecb373715 Fix error handling in remove() deprecation path 2013-10-03 13:46:03 -04:00
Jason Perkins
24af0a7414 Set default language earlier, to avoid out of scope warnings 2013-10-03 13:23:56 -04:00
Jason Perkins
1b105e377d Pass same flags to PCH compile as C/C++ source code 2013-10-03 10:47:14 -04:00
Jason Perkins
65d6f65177 Add remove() handlers for deprecated values 2013-10-02 15:59:54 -04:00
Jason Perkins
acbec658ad Fix broken MSC exception handling flag 2013-09-30 12:20:53 -04:00
Jason Perkins
32d082a7e2 Add support of lists of values in flag maps 2013-09-30 11:10:07 -04:00
Jason Perkins
e062bf8035 Remove no-op language set call from configuration building 2013-09-30 13:06:32 -04:00
triton
68f3a6d032 Use the user specified target .NET framework for Managed C++ VS projects. 2013-09-30 15:53:16 +01:00
Jason Perkins
64c220b70a Project locations are now inherited from the solution, if set. 2013-09-30 10:16:56 -04:00
Jason Perkins
91635859b9 Add warnings(); deprecate ExtraWarnings and NoWarnings flags 2013-09-29 12:39:07 -04:00
Jason Perkins
686f3f071a Add optimize(); deprecate Optimize, OptimizeSize, and OptimizeSpeed flags 2013-09-29 11:23:39 -04:00
triton
69ad16381c Added new function usingdirs() to specify additional C++/CLI using directories. 2013-09-28 00:04:18 +01:00
Jason Perkins
bc9ba89cce Add nativewchar(); deprecate NativeWChar and NoNativeWChar flags 2013-09-27 15:12:50 -04:00
Jason Perkins
4862c25af5 Add floatingpoint(); deprecate FloatFast and FloatStrict flags 2013-09-27 14:49:21 -04:00
Jason Perkins
df428a72d7 Add vectorextensions(); deprecate EnableSSE and EnableSSE2 2013-09-27 14:25:10 -04:00
triton
6e15d08b16 Fixed resource compiler tool in the C++ Make backend. 2013-09-27 01:52:06 +01:00
triton
48c49498fa Added support for resource compiler tool under the GCC toolset. 2013-09-27 00:37:24 +01:00
triton
82fc2683be C# Make projects now specify the "/noconfig" csc/mcs flag to behave like VS. 2013-09-27 00:18:33 +01:00
Jason Perkins
13fa20a5f5 Move project API definition to _premake_init with other initialization code 2013-09-26 12:24:10 -04:00
Jason Perkins
5497d0fb37 Improve the API deprecation system; link to new Premake-dev documentation 2013-09-26 12:01:50 -04:00
Jason Perkins
5946f73f4c Fix undefined symbol in API error message 2013-09-19 16:40:15 -04:00
Jason Perkins
542d4c88fb Merged in dcourtois/premake-dev/FixNoWarnings (pull request #65)
fixed NoWarnings flag for vs201x generators
2013-09-19 10:22:39 -04:00
Jason Perkins
4bef76b42a Merged in dcourtois/premake-dev/CustomBuildMessages (pull request #62)
added support for custom build message in vs201x generator
2013-09-19 10:19:15 -04:00
Jason Perkins
44bf43a837 Merged in dcourtois/premake-dev/Manifests (pull request #64)
add additional manifests support for vs201x generators
2013-09-19 10:09:47 -04:00
Jason Perkins
2ca1ffd58e Add new API config.linksToProject() 2013-09-18 11:48:21 -04:00
dcourtois
9a4e2ec8aa forgot to add test_manifest.lua to tests/premake5.lua and small fixes 2013-09-18 16:50:00 +02:00
dcourtois
eebd451006 merge latest revisions 2013-09-18 11:54:46 +02:00
dcourtois
e682b08779 fixed NoWarnings flag for vs201x generators 2013-09-18 11:37:36 +02:00
dcourtois
912a0e2ec3 used vc2010.element instead of _p for additional manifests 2013-09-18 10:35:02 +02:00
dcourtois
4e644afce3 removed wip code from another branch commited by mistake 2013-09-18 09:58:33 +02:00
dcourtois
fb3165417a use new vc2010.element method instead of _p function 2013-09-18 09:49:42 +02:00
Jason Perkins
68c26b0e38 New call api.addAllowed() to add values to a field's allowed value list 2013-09-17 14:59:13 -04:00
Jason Perkins
cf8b1b0f3a Moved project APIs back into base folder with rest of the core code 2013-09-17 14:22:54 -04:00
neoaggelos
b98af00c11 Merged premake/premake-dev into default 2013-09-15 11:36:41 +03:00