Commit Graph

341 Commits

Author SHA1 Message Date
Tom van Dijck
e007c344a8 Merge pull request #808 from Blizzard/rtti-per-file
Added per file rtti generation for Visual Studio
2017-06-18 15:12:59 -07:00
Tom van Dijck
4619b18053 add test 2017-06-18 15:09:50 -07:00
Tom van Dijck
d9faf2ea3f Merge pull request #810 from Blizzard/masm-seh
Added masm handling of seh exception handling for VS2010 and above
2017-06-18 14:42:27 -07:00
Tom van Dijck
5251432aec Add support for cppdialect in VS2015 & VS2017 actions. 2017-06-14 13:04:59 -07:00
R. Blaine Whittle
9fadce2c69 Fix to masm support for SEH to work on a per file basis 2017-06-14 12:59:16 -07:00
R. Blaine Whittle
f14090974a Added masm handling of seh exception handling for VS2010 and above 2017-06-14 12:59:09 -07:00
R. Blaine Whittle
3ff5343769 Added per file rtti generation for VS 2017-06-14 12:56:04 -07:00
Tom van Dijck
ef5828404c ASCII instead of NotSet, and add more tests. 2017-06-13 11:46:35 -07:00
Jacob Repp
cc107a4da4 Adding support for NotSet characterset in VS2010+ (#79) 2017-06-13 11:34:58 -07:00
Tom van Dijck
0ec61b41c6 Merge pull request #771 from Blizzard/compileAs-API
[core] Use 'compileAs' API
2017-05-25 08:43:35 -07:00
Tom van Dijck
863b89625f Merge pull request #769 from Blizzard/cmdpath-token
[core] new cmd path decorations with %[] syntax
2017-05-04 10:28:19 -07:00
Tom van Dijck
85b3e28de1 [core] Use 'compileAs' API 2017-05-02 14:09:06 -07:00
R. Blaine Whittle
bce3f2c4ed [core] new cmd path decorations with %[] syntax
this is for marking cmd options as paths relative to the
projects base dir. decorated paths can use tokens / macros
decorated paths are wrapped with "".  Final slashes are
honored. Slashes are platform specific.

Note that the working dir for custom cmd is undefined as
the current working dir will be different between xcode (wks.location)
and visual studio / make (prj.location.)  Changing the CWD isn't
a good default behavior (for reasons.)  This leads to prior
use of premake requiring alot of string concating / function calls
for path translations which make the cmd line difficult to read and maintain.
With path decorations, one can just make those relative paths with %[]
and everything should work.
2017-05-01 12:18:52 -07:00
Tom van Dijck
0c1d4e10ae [core] Fix Visual Studio ExecutablePath settings. 2017-05-01 12:02:11 -07:00
Tom van Dijck
1e648f5515 [core] Adding ARM support for Visual Studio. 2017-04-26 15:59:59 -07:00
Sam Surtees
fa3328440e Increased consistency of p. usage 2017-04-25 16:41:30 +10:00
Tom van Dijck
88d37b17c6 Merge branch 'master' into nuget-fixes 2017-04-24 12:59:41 -07:00
Jason Perkins
f474f51979 Merge branch 'master' into ssurtees/vs2010EscapeFixes 2017-04-24 14:46:06 -04:00
Sam Surtees
5b688cac93 CompileAs element handles C++ now
- Added tests
2017-04-24 00:42:48 +10:00
Sam Surtees
dfee2c0184 Fixed erroneous escape usages in VS2010+
- Added tests for sensible escape usage locations (defines, not undefines or warnings)
2017-04-18 01:13:56 +10:00
Aleksi Juvani
bd3c542d63 Fetch NuGet API data on demand, not all at once 2017-04-14 13:42:26 +03:00
Aleksi Juvani
bb992e6576 Validate NuGet package versions with the NuGet API 2017-04-14 13:40:12 +03:00
Sam Surtees
164fadc857 Properly deprecate WinMain flag 2017-04-14 13:09:15 +10:00
Tom van Dijck
d285fa68a6 Refactor language flags to go through the language API.
So you can use 'language "C++11"' instead of 'flags { "C++11" }'
2017-04-11 12:43:58 -07:00
Sam Surtees
a24f5c1e9b Fixed issue where VS2010+ projects didn't support floatingpoint 'Default' 2017-04-10 01:51:30 +10:00
Jason Stewart
f3dae94aca Fix VS2013 and older always rebuilding when debug symbols explicitly disabled
Visual Studio versions 2013 and older have an issue with
DebugInformationFormat set to None. The project will always be out of
date and thus always rebuild. The workaround is to leave the
DebugInformationFormat field blank.

https://connect.microsoft.com/VisualStudio/feedback/details/833494/project-with-debug-information-disabled-always-rebuilds

VS2015 and newer do not have this issue.
2017-04-06 07:51:04 -04:00
Tom van Dijck
4670158d85 A few C# fixes (#717)
* small C# fixes (#87)

* three small c# bug fixes
- hint paths now work with extended assembly names
- shared lib projects can now include App files (purely for editing)
- explict error message is output when attempting to generate
  a C# + StaticLib project.

* Fix typo.

* added perfile support for clr, exceptionhandling and basicruntimechecks for vs (#89)
2017-03-27 08:45:37 -07:00
Zeenobit
c200b08a53 Treat *.inl files as headers (#710)
This addresses issues with Visual Studio and Intellisense when using
*.inl files. If they're not treated as headers or source files,
Intellisense fails to parse them correctly.
2017-03-13 09:10:34 -07:00
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
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
aleksijuvani
b1825c9ccd Always output LinkObjects for Visual Studio if specified 2016-11-22 13:36:20 +02:00
aleksijuvani
bceebd082c Change NoLinkObjects flag to a linkbuildoutputs API 2016-11-22 00:18:08 +02:00
aleksijuvani
e47ba372c8 Add NoLinkObjects flag
The default behaviour is to link .obj files if a custom build command
outputs them, but there are some cases where we don't want this to
happen, such as when dealing with Wavefront .obj model files.

This commit will prevent the automatic linking of .obj files that have
this new flag.

When an obj file is outputted by a custom build command, this prevents
the linker from linking it. This is necessary, for example, when
dealing with obj model files.
2016-11-22 00:18:08 +02:00
Tom van Dijck
ca89c9d79b Fix for debugInformationFormat handling with FastLink. 2016-11-07 09:44:47 -08:00
Samuel Surtees
1b9af9aa6c Merge branch 'master' into bugfix/598 2016-11-04 03:17:04 +10: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
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
3328cfea38 VStudio: Add additionalDependencies & additionalLibraryDirectories for static lib
- Currently if static library links with another non-sibling library build fails.
   For example: If using the socket() API on windows in a static library, need to link with ws2_32.lib.
2016-10-30 16:09:15 +02:00
sbx320
1bf479bfdc Fix symbolspath setting ProgramDataBaseFileName instead of ProgramDatabaseFile 2016-10-20 07:29:22 +02:00
StiX
4f3b19f581 Enable Edit and Continue for x64 builds on VS2015 2016-10-17 22:05:54 +02:00
Tom van Dijck
785671fad5 Merge pull request #545 from tvandijck/generated-files-vcxproj
Add generated files to vxcproj file.
2016-09-07 08:14:57 -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
Jörn Heusipp
60899329a8 Add vectorextensions "IA32" support for VS>=2012 on x86. (#560) 2016-08-07 13:42:03 +02:00
Tom van Dijck
9f67feb923 Add support for kind="list:path" in rule properties. (#553) 2016-08-01 14:40:40 -07:00