Commit Graph

122 Commits

Author SHA1 Message Date
Tom van Dijck
8d0b2565b5 convert exceptionhandling, rtti and editandcontinue flags from boolean to "tri-states". 2015-06-16 08:44:18 -07:00
Tom van Dijck
307e04ed88 add new exceptionhandling and rtti API's, deprecate the corresponding flags. 2015-06-16 08:25:39 -07:00
Tim Wharton
fbd2d5d707 Add Visual Studio calling convention support
Add callingconvention directive, possible values are: Cdecl, FastCall, StdCall or VectorCall.
2015-06-06 04:44:04 +01:00
Jason Perkins
304c091431 Merge remote-tracking branch 'origin/master' into vstudio-system-includes 2015-05-19 15:55:47 -04:00
Jason Perkins
7eb03dfa27 Add syslibdirs and VC 2010+ implementation 2015-05-17 17:53:55 -04:00
starkos
fac7f87431 Merge pull request #62 from Blizzard/tokens-in-vpaths
allow tokens in vpaths
2015-05-17 12:02:47 -04:00
Jason Perkins
ee1f165c8a Add sysincludedirs() and VC 2010+ implementation 2015-05-13 15:41:29 -04:00
tdijck
75fcb73bf5 allow tokens in vpaths 2015-05-11 10:23:30 -07:00
tdijck
480e98c1d5 add bindirs 2015-05-07 13:02:57 -07:00
Jason Perkins
2df200eb2d Re-standardize all project APIs to Lua's all-lowercase style
See [this discussion topic](https://groups.google.com/forum/#!topic/premake-development/W1rRPcMmM0k)
2015-05-05 14:46:00 -04:00
Manu Evans
f01d7f726c Merge pull request #48 from starkos/vs-platform-toolset
Modify toolset() to accept an option version number
2015-04-29 21:26:59 +10:00
Jason Perkins
32183f039f Modify toolset() to accept an option version number.
toolset("gcc")   -- specifies GCC with no specific version
toolset("gcc-4.8")   -- GCC version 4.8
toolset("msc-100")  -- MSC with platform toolset v100
toolset("v100")  -- same as above
2015-04-28 18:50:56 -04:00
Jason Perkins
400f0fccdb New API buildlog() to specify build log file path; implemented for Visual Studio 2010+ 2015-04-28 16:30:23 -04:00
Manu Evans
ff4689b3c0 Merge pull request #35 from TurkeyMan/debugger_selection
More debugging api's
2015-04-17 09:46:33 +10:00
Manu Evans
4ce26b3c9e Support selection between different debuggers.
Specify the debugger binaries, args to run with.
Specify path remaps:
  It's typical to remap path embedded in dwarf (as the exe was built) to the location of the source on your own pc.
2015-04-14 19:56:05 +10:00
Manu Evans
07e90323cd Changed x32/x64 to explicit architecture names for clarity.
Aliases should probably be deprecated.
2015-04-13 21:41:08 +10:00
starkos
f07b28b1c0 Merge pull request #5 from TurkeyMan/manu/endian
Add new endian() project API
2015-04-09 15:52:40 -04:00
starkos
168f91f3f4 Merge pull request #4 from TurkeyMan/manu/fpu
Add new fpu() project API
2015-04-09 15:12:37 -04:00
starkos
053f7b6740 Merge pull request #3 from TurkeyMan/manu/pic
Add new pic() api
2015-04-09 14:43:46 -04:00
Manu Evans
48db64e9a9 Added pic (position independent code) api, used all over the place. 2015-04-10 01:12:53 +10:00
starkos
f9d31fe0c2 Merge pull request #13 from Blizzard/pr7
Add C++11, C++14 flags for GCC & Clang
2015-04-06 16:55:44 -04:00
Jason Perkins
76cad937c3 Merge branch 'pr4' of https://github.com/Blizzard/premake-core 2015-04-04 11:24:01 -04:00
Jason Perkins
1478c4064b Merge branch 'pr3' of https://github.com/Blizzard/premake-core 2015-04-04 11:20:50 -04:00
Manu Evans
99b02d9ecd Added an 'fpu' option, to select software/hardware FPU (used by arm, mips, etc) 2015-04-03 12:53:46 +10:00
Manu Evans
a37df953b5 Added 'endian' option to select target endian (arm, ppc, mips) 2015-04-03 12:53:37 +10:00
Jason Perkins
bd51df5d85 WE'VE MOVED TO GITHUB! Come join us at https://github.com/premake/premake-core
If you need help moving a private Mercurial fork of Premake to git, see https://github.com/premake/premake-core/wiki/Migrating-From-BitBucket
2015-04-02 16:31:57 -04:00
tdijck
cac5baecbc Add C++11, C++14 flags for GCC & Clang 2015-03-31 11:55:13 -07:00
tdijck
3eb49baad4 deprecate ReleaseRuntime flag, use 'runtime "Release"' instead.: 2015-03-31 11:50:51 -07:00
tdijck
4d514e53f8 add verbosef 2015-03-31 11:50:25 -07:00
Jason Perkins
878d108367 Merged in ben_ratzlaff/premake-dev (pull request #146)
Implement 'RelativeLinks" flag to effect makefile creation to use -l and -L instead of linking against the full path of a dynamic object library
2015-03-29 17:46:35 -04:00
Jason Perkins
d34021bcc9 Implement AVX2 flags for GCC and MSC 2015-03-26 08:17:13 -04:00
Jason Perkins
d61b995683 Fix indentation from previous commits 2015-03-26 08:13:34 -04:00
Jason Perkins
d5b5abe43e Merged in TurkeyMan/premake-dev/gccprefix (pull request #154)
Added new API gccprefix
2015-03-11 12:03:12 -04:00
Jason Perkins
e4a1ff2638 Merged in TurkeyMan/premake-dev/specific_warnings (pull request #152)
Added api's for control of specific warnings.
2015-03-10 17:14:22 -04:00
Jason Perkins
57880d8182 Merged in TurkeyMan/premake-dev/undefines (pull request #151)
Added 'undefines' api.
2015-03-10 17:11:52 -04:00
Manu Evans
7540f8a2f1 Added support to declare an explicit gcc toolchain prefix. 2015-03-10 21:45:41 +10:00
Manu Evans
f0f02fc680 Now with added unittests 2015-03-10 20:59:28 +10:00
Manu Evans
838e53c3d5 Now with added unit tests. 2015-03-10 20:41:44 +10:00
Manu Evans
a0567affcd Added some new debug api's, which are used by many of my plugins.
These are shared by a variety of IDE's, systems, toolsets, etc.

I can't seem to find use for them in the built-in actions, but they come up in
many of my extensions.
Cross-compilers, consoles, embedded, etc, all use these.
2015-03-10 10:25:34 +10:00
Manu Evans
b965c5a665 Added api's for control of specific warnings.
Support VS200x, 201x, gmake
2015-03-10 09:53:46 +10:00
Manu Evans
f03898de68 Added 'undefines' api.
Support VS200x, 201x, gmake
2015-03-10 08:49:19 +10:00
Jason Perkins
6f13f36998 Break _premake_main() out to a call array 2015-02-27 16:11:01 -05:00
Ben Ratzlaff
ec157c8e6e Implement 'RelativeLinks" flag to effect makefile creation to use -l and -L instead of linking against the full path of a dynamic object library 2015-02-06 16:48:59 -07:00
Jason Perkins
3f718a470c Add ability to map Premake tokens to toolset specific variables 2015-01-15 12:00:57 -05:00
Jason Perkins
ceb3c83d67 Remove outdated PS3 support
I will be bringing this back shortly, in a more complete form
2014-12-08 16:04:41 -05:00
Jason Perkins
a956ea740e Allow vpaths to bubble up to project from configurations
This allows expressing "use these vpaths if this configuration is present in the project", and placing the vpaths in the same configuration block as the file lists.
2014-11-21 15:24:42 -05:00
Jason Perkins
77d75071fd Add new API clr() to replace existing Managed and Unsafe flags
A new API is needed to add support for "pure" and "safe" managed C++ code. The existing flags will be marked as deprecated in the documentation, but otherwise left intact.
2014-11-11 19:20:09 -05:00
Jason Perkins
b3aebffaf2 Add new editAndContinue() API to replace NoEditAndContinue flag
Make it easier and more intuitive to support platforms/toolsets where edit-and-continue is available but turned off by default. Can now turn off with editAndContinue("off") instead of flags("NoEditAndContinue"), and turn it on with editAndContinue("on") instead of removeflags("NoEditAndContinue").

The NoEditAndContinue flag is still in place, and continues to behave as it did before, but will be marked deprecated in the documentation.
2014-11-10 18:01:39 -05:00
Jason Perkins
3b960f01be Turn off deprecation warnings for fields and values that can be easily translated.
To ease the transition to 5.0, allow these values to continue to work while marking them deprecated in the documentation. Will put the messages back some time after release when folks have had a chance to switch.
2014-11-10 17:41:31 -05:00
Jason Perkins
30347622bf Add new flags ShadowedVariables and UndefinedIdentifiers with GCC support 2014-11-05 16:27:48 -05:00