Rory
6cb6f4a678
Add support for changing the debug information for Visual Studio 2017 files to DebugFull. The default for VS2017 (i.e. when debug information is set to 'true') is to use fastlink. There is a new option to use a full pdb file. For older versions of Visual Studio, the new 'Full' symbols option behaves like 'On'. ( #694 )
2017-02-13 09:02:02 -08:00
Tom van Dijck
5a4ad51aec
Define _HAS_EXCEPTIONS=0 when exceptionhandling is "off". ( #674 )
...
* Define _HAS_EXCEPTIONS=0 when exceptionhandling is "off".
* Fix unit-test.
* It should be for VS2013 and later only.
* update & add unit-test.
2017-02-03 07:05:23 -08:00
Tom van Dijck
6f7d0c16da
intrinsics api. ( #683 )
...
* intrinsics api.
* add options to msc.lua
2017-02-01 09:06:31 -08:00
Tom van Dijck
8015673f40
functionlevellinking api. ( #681 )
...
* functionlevellinking api.
* add options to msc.lua
2017-02-01 08:57:32 -08:00
Tom van Dijck
b76bef918d
floatingpointexceptions api. ( #684 )
...
* floatingpointexceptions api.
* generate options for msc
2017-02-01 08:53:49 -08:00
Tom van Dijck
ac2919e74c
stringpooling api. ( #682 )
...
* stringpooling api.
* add options to msc.lua
2017-02-01 08:47:50 -08:00
Michael Savage
ea76aa24f7
squash: fix C++ tests
2017-01-05 16:34:30 +02:00
Jason Perkins
1f5976e3ed
Omit NMake defines and include dirs when kind is "None"
...
"None" projects, by definiton, are never built, so these settings are unnecessary. Omit them so that changes to their value will not cause the generated project to change.
2016-12-19 10:09:30 -05:00
Jason Perkins
9017431249
Fix VS'15 <GenerateDebugInformation> to match Update 3
2016-11-23 16:00:05 -05:00
Tom van Dijck
5bb7c54e3f
Add support in csproj backend to add files to certain configurations.
2016-11-22 09:45:02 -08:00
Tom van Dijck
94ab7bbb64
Merge pull request #634 from starkos/fix-default-rule-var-kinds
...
Default rule variables to string when `kind` is not set
2016-11-22 09:09:55 -08:00
aleksijuvani
f337abb776
Add tests for linkbuildoutputs API
2016-11-22 13:50:26 +02:00
Jason Perkins
cf87c66ec1
Default rule variables to string when kind
is not set
...
Because this is the most common case, we've been treating variables with no `kind` as an implicit string value.
2016-11-21 13:37:08 -05:00
Tom van Dijck
ca89c9d79b
Fix for debugInformationFormat handling with FastLink.
2016-11-07 09:44:47 -08:00
Samuel Surtees
e91bc6d57e
Merge pull request #610 from mikisch81/vstudio-makefile-proj-includes-defines
...
Apply includedirs and defines for makefile projects in Visual Studio
2016-11-03 20:15:26 +10:00
Samuel Surtees
ecc0d0b739
Merge pull request #608 from mikisch81/fix-vstudio-staticlib-deps
...
VStudio: Add additional deps & additional libdirs for static lib
2016-11-03 20:10:10 +10:00
Sam Surtees
e8789acbe7
Added ability for duplicate build commands to be specified. Fixes #540
2016-11-03 19:16:37 +10:00
Michael Schwarcz
3444ef8e04
Apply includedirs and defines for makefile projects in vs
...
- This will help Intellisense when viewing makefile projects on Visual Studio
2016-11-01 13:17:09 +02:00
Michael Schwarcz
5f7e7b6802
Added tests
2016-10-31 09:38:11 +02:00
Tom van Dijck
d2580bab86
Adding some tests.
2016-08-22 16:06:55 -07:00
Tom van Dijck
7fc49130ea
Merge pull request #543 from noresources/macosx-no-arch-libdirs
...
do not add architecture-dependent library directories on macOS
2016-08-18 08:11:21 -07:00
Tom van Dijck
fbd2c40bf6
Merge pull request #525 from Blizzard/FastLink
...
Adding /Debug:FastLink support for VS2015.
2016-08-17 09:38:52 -07:00
Joao Matos
e06218c885
use rpaths & soname/install_name to link sibling shared libraries on OS X and Linux
...
new api runpathdirs().
<toolset>.getrunpathdirs() adds user defined rpath set using runpathdirs().
handle runpathdirs in gcc, clang and snc.
make.list() can now add quotes to list elements
Original patch by Renaud Guillard (@noresources).
2016-08-17 16:48:41 +01:00
Jörn Heusipp
8afb5e8ffa
Add test to verify that vectorextensions "IA32" emits nothing with vs2010.
2016-08-08 11:37:32 +02:00
Jörn Heusipp
34b4b2021d
Add test for vectorextensions "IA32".
2016-08-08 11:10:47 +02:00
Tom van Dijck
6971902731
Adding /Debug:FastLink support for VS2015.
2016-07-28 16:01:13 -07:00
Renaud Guillard
b7bdfb258d
add tests
2016-07-28 21:33:27 +02:00
David Ely
d3d8269e7a
symbols api introduced and working, with tests.
2016-07-19 16:29:26 +10:00
Tom van Dijck
2a67664fda
linkgroups api.
2016-06-08 11:27:13 -07:00
Jason Perkins
e6bfd500b0
Catch older unit tests up to the latest standards
2016-05-12 19:56:04 -04:00
Samuel Surtees
5373584834
Merge pull request #475 from starkos/fix-no-nuget-packages
...
Only output NuGet project element if packages were listed by the project
2016-04-14 19:16:41 +10:00
Jason Perkins
10b83b950f
Only output NuGet project element if packages were listed by the project
2016-04-13 18:55:44 -04:00
Sam Surtees
5059099a5b
Added systemversion API. Fixes #315
2016-04-12 21:10:23 +10:00
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
da89636575
Test for .asm file support in visual studio action.
2016-04-07 12:52:58 -07:00
Tom van Dijck
cf1b44018c
refactor file categorization in vcxproj backend.
...
and add Masm support.
2016-04-07 12:52:58 -07:00
aleksijuvani
6059f8ff39
Change cs2005.assemblyReferences to use call arrays
2016-03-21 11:15:57 +02:00
aleksijuvani
ee521c4c57
Add tests for Visual Studio NuGet support
2016-03-19 20:43:38 +02:00
Jason Perkins
dbb42a0b77
Merge pull request #307 from LORgames/ssurtees/translatePathFix
...
Modify `path.translate()` to use target OS path separator by default
2016-03-17 12:13:55 -04: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
Sam Surtees
7886b04642
Added support for schema files in C# projects. Fixes #416
2016-02-29 21:39:32 +10:00
Sam Surtees
43dc8ccbcc
Fixed issue with incorrect UUID being generated for groups. Fixes #100
2016-02-26 02:04:08 +10:00
Sam Surtees
d382228ceb
Converted premake-core tests over to use premake.action.set() instead of _ACTION
2016-02-06 13:35:54 +10:00
Tom van Dijck
6377a30a6a
Link groups for gcc. (-Wl,--start-group)
2016-02-05 09:54:30 -08:00
Jason Perkins
0573e4f4b6
Update unit tests to match new VS solution output
2016-01-17 16:39:30 -05:00
Tom van Dijck
00aff301b2
added 'editorintegration' flag
...
added tests
use p.push/pop api.
2016-01-12 08:27:42 -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