Commit Graph

92 Commits

Author SHA1 Message Date
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
$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
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
Sam Surtees
f8a88c362c Fixed bug with linkgroups only working on Premake projects 2020-02-09 01:10:07 +10: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
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
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
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
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
yuyoyuppe
196d46a412 add grouping by link mode 2016-01-15 22:02:01 +06:00
yuyoyuppe
82473183a5 feature + tests 2016-01-15 18:46:05 +06:00
Jason Perkins
14525e8161 Changes names in core test suites 2015-08-28 16:16:14 -04:00
starkos
9e1b733e78 Merge pull request #138 from Blizzard/targetdir-default-fix
fix targetdir default.
2015-07-05 12:30:36 -04:00
Tom van Dijck
31e3588d54 fix unit-tests. 2015-07-02 07:14:26 -07:00
Jason Perkins
d0e6042406 Add link time optimization support for GCC and Clang 2015-06-30 16:20:10 -04:00
Jason Perkins
313a7c31ce Replace usages of NoExceptions and NoRTTI flags with exceptionhandling() and rtti() 2015-06-23 16:53:10 -04:00
Jason Perkins
c83634c105 Add support for sysincludedirs() and syslibdirs() to GCC, Clang, and MSC adapters 2015-05-19 15:55:11 -04:00
Jason Perkins
17f1843c71 Finish renaming architectures away from x32/x64
A number of tests were relying on the fact that x32/x64 were being converted implicitly to x86/x86_64. If/when we retire those symbols, all of those tests would break. Renamed them now to avoid having to sort it out later. Also fixed up comments to keep everything consistent.
2015-04-13 18:27:11 -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
Jason Perkins
eed8138a82 Fixed duplicate AVX test case name in GCC suite 2015-03-26 12:24:11 -04:00
Jason Perkins
d34021bcc9 Implement AVX2 flags for GCC and MSC 2015-03-26 08:17:13 -04:00
Jason Perkins
d5b5abe43e Merged in TurkeyMan/premake-dev/gccprefix (pull request #154)
Added new API gccprefix
2015-03-11 12:03:12 -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
7540f8a2f1 Added support to declare an explicit gcc toolchain prefix. 2015-03-10 21:45:41 +10:00
Manu Evans
f0f02fc680 Now with added unittests 2015-03-10 20:59:28 +10:00
Manu Evans
838e53c3d5 Now with added unit tests. 2015-03-10 20:41:44 +10: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
8390255470 Reverse search order of module naming variations to avoid matching embedded path ahead of local file 2015-02-12 18:29:48 -05:00