Commit Graph

279 Commits

Author SHA1 Message Date
Jason Perkins
002e65d428 Merge pull request #453 from aleksijuvani/nuget-in-vs-exporter
Add NuGet support to the Visual Studio exporter
2016-04-11 13:30:49 -04:00
Tom van Dijck
cf1b44018c refactor file categorization in vcxproj backend.
and add Masm support.
2016-04-07 12:52:58 -07:00
aleksijuvani
0592e36829 Remove redundant prj.nuget checks 2016-03-21 20:13:38 +02:00
aleksijuvani
987818a9e7 Add NuGet support to the Visual Studio exporter 2016-03-19 20:43:37 +02:00
Jason Perkins
ef2f5c8945 Roll back PR #440; see discussion at https://github.com/premake/premake-core/pull/440 2016-03-15 14:48:33 -04:00
Sam Surtees
a0242bb955 Cleaned up vstudio linker elements. Fixes #150 2016-03-01 22:11:33 +10:00
pohan
ae22c2bcd4 Remove hardcoded part
Remove hardcoded part: \\BuildCustomizations. Ya that's more flexible
now.
2016-02-23 22:21:31 +08:00
pohan
2eacbe8623 Add Build Customizations option
Support Build Customization settings for projects. Now Premake5 can
recognize Build Customizations File that 3rd party API (e.g. CUDA)
maded.
2016-02-23 11:54:20 +08: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
a7fa9b9142 Adds the missing resource file test on PR #365 2015-12-16 19:50:37 -05:00
Jason Perkins
79f453a285 Emit <TargetMachine> element to fix LNK4068 warnings in Visual Studio 2010+ 2015-12-16 16:25:37 -05:00
Jason Perkins
6fc7a6920d Revert "Add targetMachine property."
This reverts commit d38f9a9292.
2015-11-30 18:14:37 -05:00
Tom van Dijck
d38f9a9292 Add targetMachine property. 2015-11-03 13:59:03 -08:00
Tom van Dijck
68b714ad6f add "LargeAddressAware" api. 2015-11-03 13:27:57 -08:00
Jason Perkins
04840ec2f0 Revert "improve determinism"
This reverts commit 66358a2880.
2015-10-26 15:59:07 -04:00
starkos
9f9353eb27 Merge pull request #260 from tritao/framework
Rename "framework" to "dotnetframework".
2015-10-07 12:42:34 -04:00
Tom van Dijck
811ac304d4 fix m.additionalUsingDirectories 2015-10-05 09:21:26 -07:00
starkos
991561c600 Merge pull request #246 from Blizzard/fix-dependencies
Fix project dependencies.
2015-09-28 18:04:55 -04:00
Jason Perkins
d623e47d2a Merge branch 'ssurtees/fixedEmptyProjectBug' of https://github.com/LORgames/premake-core into LORgames-ssurtees/fixedEmptyProjectBug
# Conflicts:
#	tests/actions/vstudio/vc2010/test_platform_toolset.lua
2015-09-16 18:35:25 -04:00
Sam Surtees
01dfaf611c Added tests and file type testing helper function 2015-09-16 22:31:40 +10:00
starkos
158a80c696 Merge pull request #239 from Blizzard/improve-determinism
improve determinism
2015-09-15 18:30:23 -04:00
Sam Surtees
0c497da65e Empty projects no longer ignore platform toolset when there are no "cpp" files present. Fixes #93 2015-09-15 21:03:25 +10:00
starkos
fcb06adcf4 Merge pull request #259 from starkos/rollback-162
Roll back pull request #162
2015-09-10 15:03:23 -04:00
triton
5952d054e5 Rename "framework" to "dotnetframework".
"framework" is a very generic term and hard to tell what it's actually about.

Keeps "framework" around for backwards compatibility.
2015-09-10 02:58:52 +01:00
starkos
b5ee3ac021 Merge pull request #169 from TurkeyMan/llvm_toolset
Support LLVM platform toolset for MSC; Clang in Visual Studio.
2015-09-09 15:06:53 -04:00
Jason Perkins
5cd081cf65 Roll back pull request #162
As discussed in the conversion on the request, and on issue #151.
2015-09-09 14:22:43 -04:00
Tom van Dijck
25045787e0 fix project dependencies. 2015-09-03 13:31:26 -07:00
Tom van Dijck
66358a2880 improve determinism 2015-09-01 16:59:33 -07:00
Manu Evans
28ebe8fce7 string.explode() gains 'maxTokens' argument. 2015-09-01 22:46:10 +10:00
aleksijuvani
6ed366842c vs2010_vcxproj.lua: change importExtensionSettings to use a call array 2015-08-31 22:22:46 +03:00
aleksijuvani
1f82a77b7b vs2010_vcxproj.lua: change importExtensionTargets to use a call array
Allows us to create new extension targets in overrides without
breaking rule generation.
2015-08-31 21:58:23 +03:00
Sam Surtees
5d6d05c31d Added ignoreDefaultLibraries API for Visual Studio 2010+ projects. 2015-08-25 20:33:46 +10:00
Manu Evans
04a7cd1546 Silence warnings about arguments unknown to Clang, fixed a mistake 2015-08-02 12:34:28 +10:00
Manu Evans
eab093302c Support LLVM platform toolset for MSC; Clang in Visual Studio. 2015-08-02 12:34:27 +10:00
leeonix
dd8c5f1818 Merge remote-tracking branch 'premake-src/master' 2015-08-01 09:21:57 +08:00
leeonix
ccd1790324 add cfg.debugformat ~= "c7" condition. 2015-08-01 09:17:00 +08:00
leeonix
829a76060a add cfg.debugformat ~= "c7" condition. 2015-08-01 09:15:38 +08:00
starkos
8ee9529315 Merge pull request #161 from Blizzard/entrypoint-api
add 'entrypoint' API.
2015-07-30 18:54:57 -04:00
starkos
50d89a1c00 Merge pull request #168 from TurkeyMan/more_sse
Added some missing SSE versions that I've wanted a few times
2015-07-30 15:49:17 -04:00
Tom van Dijck
b9402b0e67 add 'entrypoint' API. 2015-07-27 10:30:51 -07:00
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
Manu Evans
da385c897b Added some missing SSE versions that I've wanted a few times. 2015-07-25 15:11:57 +10:00
leeonix
ac5dd3cfce if flags has Symbols. change .pdb file name. 2015-07-22 13:10:22 +08:00
leeonix
c90fe7a064 rename .pdb file name as $(TargetName). 2015-07-22 12:47:11 +08:00
leeonix
f5931345c3 rename .pdb file name as targetname. 2015-07-19 03:45:15 +08: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