Commit Graph

235 Commits

Author SHA1 Message Date
Jason Perkins
bfc67b5c51 Add capture support to UTF8 BOM output
If `io.utf8()` is called while running unit tests, it would be output directly to the console since there is no active file output while testing. Replace call with premake.utf8() as a companion to premake.w() and ignore while capturing to prevent this spurious output.
2015-07-27 20:14:48 +10:00
Jason Perkins
d2452f23e9 Use m.element() consistently; precursor to enabling more per-file configuration settings 2015-07-15 16:52:57 -04:00
Jason Perkins
d7525cf1d9 Replace "premake." with "p." consistently 2015-07-15 16:52:56 -04:00
Jason Perkins
de7b6e001d Code cleanup; finish converting to new indentation-aware output APIs 2015-07-15 16:52:56 -04:00
Jason Perkins
6be595f126 Consolidate file handling in VC 2010 exporter 2015-07-15 16:52:56 -04:00
Jason Perkins
f94c5aee15 Convert custom build files export to call array 2015-07-15 16:52:56 -04:00
Jason Perkins
59644e42fb Convert VC 2010 file configurations export to call array; bit of cleanup 2015-07-15 16:52:56 -04:00
starkos
e04c4292ac Merge pull request #103 from Blizzard/inline
add inlining API.
2015-07-05 12:21:53 -04:00
rhuvendiek
94374e496b Write entries to compile idl files with MIDL into vcxproj-files. 2015-06-29 13:56:15 +02:00
Jason Perkins
f59651f3f6 Deprecate SEH flag; add value to exceptionhandling() 2015-06-23 19:03:28 -04:00
Tom van Dijck
59bd1c10b0 Update vs2010_vcxproj.lua 2015-06-22 08:25:18 -07:00
starkos
d1a74ecf76 Merge pull request #106 from Blizzard/filterempty
adding table.filterempty to vstudio.path
2015-06-21 19:30:57 -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
Tom van Dijck
678616b068 fix for /O2 not liking /RTC1 2015-06-10 16:32:09 -07:00
Tom van Dijck
cf4d189368 adding table.filterempty to vstudio.path 2015-06-08 11:48:02 -07:00
Tom van Dijck
962f1e5a2d add inlining API. 2015-06-08 11:06:18 -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
starkos
b23fcc0e2b Merge pull request #12 from Blizzard/pr6
/O2 is incompatible with /RTC1
2015-05-25 19:42:29 -04:00
Jason Perkins
24f232ce13 Restore ordering of include file search paths 2015-05-20 17:09:48 -04:00
Jason Perkins
304c091431 Merge remote-tracking branch 'origin/master' into vstudio-system-includes 2015-05-19 15:55:47 -04:00
Tom van Dijck
f994bcf448 fix architecture. 2015-05-18 18:16:58 -07:00
tdijck
588a1567bf /O2 is incompatible with /RTC1 2015-05-18 08:35:34 -07:00
Jason Perkins
7eb03dfa27 Add syslibdirs and VC 2010+ implementation 2015-05-17 17:53:55 -04:00
Jason Perkins
dfba2f2543 Merge branch 'pr16' of https://github.com/Blizzard/premake-core into Blizzard-pr16
# Conflicts:
#	src/actions/vstudio/vs2010_vcxproj.lua
2015-05-17 11:57:47 -04:00
Jason Perkins
ee1f165c8a Add sysincludedirs() and VC 2010+ implementation 2015-05-13 15:41:29 -04:00
starkos
dc3127432b Merge pull request #18 from Blizzard/pr12
64-bit compiler doesn't like SSE/SSE2 flags, they are implied.
2015-05-10 10:26:18 -04: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
15fd9fd43b Translate rule var paths for Visual Studio projects and make relative to project 2015-05-08 16:30:47 -04:00
Tom van Dijck
23bda444c6 move filterEmpty into table, lowercase.
fix path.translate issue.
2015-05-07 13:14:18 -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
07e90323cd Changed x32/x64 to explicit architecture names for clarity.
Aliases should probably be deprecated.
2015-04-13 21:41:08 +10:00
Tom van Dijck
01821e8e64 64-bit compiler doesn't like SSE/SSE2 flags, they are implied. 2015-04-06 16:30:49 -07:00
tdijck
ad0e4f03b4 Adding VS 2015 support. 2015-03-31 11:56:37 -07:00
Jason Perkins
0869ac5cb2 Implement AVX2 for Visual Studio 2013 2015-03-26 10:22:55 -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
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
2ae3479f58 Merged in tbasnoopy/premake-dev/buildoutput fix (pull request #149)
add missing buildoutputs fix for vs2010
2015-02-18 15:13:41 -05:00
M Skibbe
b5c37c25cc add missing buildoutputs fix for vs2010 2015-02-18 11:33:07 +01:00
Jason Perkins
f5abdb9d69 Remove ".lib" extension from system library links in generated makefiles on Windows 2015-02-14 14:56:02 -05:00
Jason Perkins
98ab499f13 Revert ToolVersion change on VC 2013 .filters files to match VS 2015-01-12 17:17:56 -05:00
Jason Perkins
b9d6ce892b Fix Visual Studio 2013 tool and framework version numbers 2014-12-29 15:18:07 -05:00
Jason Perkins
e507d1a2fb Exclude resource elements from Visual Studio when no resource files are present 2014-12-23 20:05:40 -05:00
Jason Perkins
1bcd783031 Consolidate Visual Studio extensions into the core action 2014-12-08 17:42:00 -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