Commit Graph

127 Commits

Author SHA1 Message Date
Chad Engler
065b3acb2f
Improve external include & warning support 2022-01-03 08:31:44 -08:00
Nicholaus Clark
f73ef9337e Added C17/GNU17 support to gmake/gmake2 exporters 2021-11-07 01:10:58 -05:00
ActuallyaDeviloper
237e8206a2 Add support for SSE 4.2. 2021-09-30 20:30:50 +02:00
Renaud Guillard
1526363877 Add frameworkdirs support to gmake and gmake2 with gcc/clang toolsets on macOS systems
* Add new optional parameter to toolset.getincludedirs(dirs, sysdirs, frameworkdirs)
* Translate frameworkdirs to -F<path> build & linker flags
* Add tests

Co-authored-by: Joris Dauphin <Jarod42@users.noreply.github.com>
Co-authored-by: Samuel Surtees <samsinsane@users.noreply.github.com>
2021-09-08 11:08:36 +02:00
Joel Linn
0163b86628 msc Fix several flags.
- Link-time optimizations now sets cl and ld flags.
- Run-Time selection now adheres to `runtime` setting.
- Set Subsystem for WindowedApp
2020-11-09 17:27:45 +01:00
$continue$
31707a40c4 Update cxx standard; Add C++ latest for gcc; Update GCC tests 2020-08-21 21:40:32 +03:00
Ethan Wallace
acda348b4b Added new 'warning' levels
Added new warning level "Everything" which turns on all available
compiler warnings. Updated "High" and "Extra" to reflect actual
differences in emitted compiler flags.
2020-06-19 14:09:14 -04:00
Ethan Wallace
454a54961b
Merge branch 'master' into vs-warnings 2020-06-18 17:57:28 -04:00
Renaud Guillard
5b6ba6ec27 remove systemversion string validation 2020-06-15 10:29:16 +02:00
Renaud Guillard
c923e04486 macOS deployment target support for gcc and clang
Use the value of systemversion to set the Apple-specific gcc/clang option -mmacosx-version-min=<version>, equivalent of the Xcode setting MACOSX_DEPLOYMENT_TARGET

add tests for gcc and clang
2020-06-11 21:39:23 +02:00
Nick Clark
572e4036b9
Added gnu++20 option
* Update vcxproj.lua
* Update dmd.lua
* Update ldc.lua
* Update gcc.lua
* Update test_gcc.lua
2020-06-02 11:52:44 -04:00
nickclark2016
4a627cc764 Add C++20 cppdialect for C++ projects 2020-06-01 19:49:55 -04:00
Ethan Wallace
ae26a6f41f Added /Wall to possible warning levels for Visual Studio
The 'warnings' keyword now accepts a value of 'High' to generate the /W4 MSVC compiler flag as well as 'Extra' to generate the /Wall flag.
2020-05-15 15:01:29 -04:00
starkos
ae5d93a1a8 Enable enablewarnings() for MSC 2020-04-06 18:01:36 -04:00
Sam Surtees
f8a88c362c Fixed bug with linkgroups only working on Premake projects 2020-02-09 01:10:07 +10:00
Joao Matos
4464c4291b Default to Roslyn-based csc compiler on all platforms. 2019-02-18 16:36:09 +00:00
Joao Matos
d0ab1edf67 Added support for csversion API to dotnet toolset. 2019-02-18 12:37:21 +00:00
Ross Brackstone
c0ceb0f26d Added support & tests for XCTest sharedlibtype 2019-01-09 14:12:44 +10:00
Tom van Dijck
a493421c0c
Merge pull request #1049 from tdesveauxPKFX/visibility-inlines-hidden
Add InlinesVisibility API
2018-05-07 10:19:27 +02:00
Tom van Dijck
267e67d90f Tiny gcc fix from PR #506. 2018-04-21 11:17:15 +02:00
thomas desveaux
259f11846b Add inlinesvisibility API + implement for gcc 2018-04-18 14:15:08 +02:00
Thomas Desveaux
aff871abfc Merge remote-tracking branch 'origin/master' into visibility-hidden 2018-04-17 14:46:11 +02:00
thomas desveaux
9eb81bd228 Update msc tools to new omitframepointer API 2018-04-15 18:13:56 +02:00
thomas desveaux
204a129eb7 Add test for omitframepointer Default 2018-04-12 19:51:08 +02:00
thomas desveaux
66e3576871 Remove visibility-inlines-hidden from visibility api 2018-04-12 19:30:32 +02:00
thomas desveaux
aea34396fa Merge remote-tracking branch 'origin/master' into visibility-hidden 2018-04-12 19:27:27 +02:00
thomas desveaux
906e86d994 Merge remote-tracking branch 'origin/master' into omit-frame-pointer 2018-04-12 19:24:09 +02:00
Thomas Desveaux
d556b6510f Implement unsignedchar for msc 2018-04-10 20:24:05 +02:00
Thomas Desveaux
2d8271c1e2 Pull VisibilityHidden from flags to an API + Add all possible values 2018-04-10 19:46:36 +02:00
Thomas Desveaux
de16d5cb87 Add VisibilityHidden to flags + implement for gcc 2018-04-09 17:14:38 +02:00
Thomas Desveaux
0160e82188 Add omitframepointer API + implement for gcc and vstudio 2018-04-09 17:11:38 +02:00
Thomas Desveaux
ba8835fb54 Add UnsignedChar API + implement for gcc 2018-04-09 16:59:02 +02:00
Thomas Desveaux
331810ddb3 isaextensions: Add tests 2018-01-09 16:01:51 +01:00
Manu Evans
78a17435ca C++0x (and friends) dialect support. Useful on machines with old compilers. 2017-11-29 14:15:25 -08:00
Patrick Doane
e49b404d73 [core] Add High as a new warning level
Maps to /W4 on VS and -Wall for gcc/clang removing -Wextra
2017-08-01 09:56:00 -07:00
Tom van Dijck
6752ea16e4 Added option to create bundle and frameworks on macOS. 2017-06-21 09:53:56 -07:00
James Touton
a6cf05295a Fixed C++17 flag to work with current versions of Clang. 2017-06-14 13:14:34 -07:00
Tom van Dijck
ef5828404c ASCII instead of NotSet, and add more tests. 2017-06-13 11:46:35 -07:00
Tom van Dijck
7af2817869 [core] Use 'cdialect' and 'cppdialect' instead of 'language'. 2017-05-03 17:05:11 -07:00
Sam Surtees
fa3328440e Increased consistency of p. usage 2017-04-25 16:41:30 +10:00
Tom van Dijck
5f589ad5a6 replaced:
os.get() -> os.target()
os.is() -> os.istarget()
_OS -> _TARGET_OS

added:
os.current()
os.iscurrent()
2017-04-24 13:01:31 -07: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
c6e400916e Fix MSC flags broken by PR #623 2016-11-23 15:50:45 -05:00
Tom van Dijck
113b717d22 Merge pull request #401 from yuyoyuppe/link-mode-prefs
Link mode preference
2016-08-17 09:49:22 -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
David Ely
d3d8269e7a symbols api introduced and working, with tests. 2016-07-19 16:29:26 +10:00
Jason Perkins
309ef32ff8 Move character set command line flags from switch lists to defines 2016-01-18 14:11:50 -05:00