Commit Graph

187 Commits

Author SHA1 Message Date
Jörn Heusipp
e8c1ffeea5 Add largeaddressaware support for VS200x. 2015-12-26 15:14:51 +01:00
Jason Perkins
16b62f0877 Add new API characterset(); make Premake match Visual Studio default behavior
Visual Studio has been defaulting its projects to Unicode since at least 2008. Premake has been defaulting to MBCS to maintain backward compatibility with earlier Premake versions. This PR tries to set things right by switching Premake's default to Unicode.

This might set a record for most broken projects.
2015-12-18 16:59:13 -05:00
Jason Perkins
1dd9e9fae2 Fix output deltas caused by recent file buffering additions
- Restore trailing EOL sequences to Visual Studio projects and solutions
- Fix UTF8 BOM marker on VC 2010 projects
2015-08-24 16:08:17 -04:00
Jason Perkins
bf3e68287c More easy solution to workspace renames 2015-08-12 14:53:12 -04:00
Jason Perkins
f59651f3f6 Deprecate SEH flag; add value to exceptionhandling() 2015-06-23 19:03:28 -04:00
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
Jason Perkins
1b9c2893c2 Consolidate VS translate-and-make-relative behavior to a single call 2015-05-08 17:08:41 -04: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
Jason Perkins
17f1843c71 Finish renaming architectures away from x32/x64
A number of tests were relying on the fact that x32/x64 were being converted implicitly to x86/x86_64. If/when we retire those symbols, all of those tests would break. Renamed them now to avoid having to sort it out later. Also fixed up comments to keep everything consistent.
2015-04-13 18:27:11 -04: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
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
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
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
f5abdb9d69 Remove ".lib" extension from system library links in generated makefiles on Windows 2015-02-14 14:56:02 -05:00
M Skibbe
314d8cbe2d fix buildoutputs format 2015-01-28 09:26:57 +01: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
6e12c6485f Move command token expansion into actions, to allow more control at point of export 2014-11-29 14:51:49 -05:00
Jason Perkins
baa6989d0f Replace "Off" string literal with p.OFF variable, just in case 2014-11-11 19:29:28 -05:00
Jason Perkins
38c5620f33 Convert all usages of Managed flag to new clr() function 2014-11-11 19:20:29 -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
ba74e661fa Move cfg.linkoptions out of toolset getldflags() to match behavior of getcflags() and getcxxflags() 2014-11-05 16:25:58 -05:00
Damien Courtois
39725134b7 added support for buildinputs in vs200x generators 2014-09-25 11:00:17 +02:00
Jason Perkins
b0103e76ca Add getLibraryDirectories() to tool adapters
- use throughout to avoid flag duplication in VS projects with external tools
2014-05-23 20:10:34 -04:00
Jason Perkins
6812f6493b Bit more cleanup of VC 200x exporter; calling it done (for now) 2014-04-08 14:33:01 -04:00
Jason Perkins
12b2949c37 Merged project and file compiler configuration blocks 2014-04-03 11:00:47 -04:00
Jason Perkins
5e0eb1ab6d Clean up structure of VC 200x file exporting code 2014-03-20 11:21:02 -04:00
Jason Perkins
b1ea51dcc5 More clean-up of VC 200x exporter 2014-03-14 10:24:48 -04:00
Jason Perkins
13c072594d Migrated more of the .vcproj support code to new conventions 2014-03-11 12:10:33 -04:00
Jason Perkins
8c54e7943f Rework VC 200x linker block to call arrays 2014-03-06 10:11:08 -05:00
Jason Perkins
6c0be942ce Merged in tbasnoopy/premake-dev/ATL support (pull request #105)
add ATL support
2014-02-27 14:01:16 -05:00
Jason Perkins
5fdeba643f Moved platform toolset selection into configuration system 2014-02-27 09:54:55 -05:00
M. Skibbe
cb3671fdc8 add ATL support 2014-02-27 13:47:51 +01:00
Jason Perkins
253b48718b Clean up implementation of VC 200x tool element maps 2014-02-21 09:04:52 -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
fc79f5d9dc Add distinct FatalCompileWarnings and FatalLinkWarnings flags 2014-02-14 12:23:12 -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
c5ada9c42f Convert VCCLCompilerTool to call arrays 2014-02-04 16:04:36 -05: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
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
625d4a9d5d Fixed broken vc200x namespace alias in loops 2014-01-18 14:54:46 -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