Commit Graph

1189 Commits

Author SHA1 Message Date
Jarod42
af02f14e80 Fix typos in comment. 2022-12-11 15:25:59 +01:00
Sam Surtees
d95cd28337 Strip linking decorators for sibling projects
- Added unit tests for linking decorators
2022-10-05 02:17:47 +10:00
Chad Engler
9befc96f88
Fix typo in tests 2022-08-23 10:29:26 -07:00
Chad Engler
30409ca358
Add Fuzzer for clang 2022-08-23 10:24:12 -07:00
Chad Engler
7cfc60e715
Rewrite to a new API 2022-08-08 07:29:49 -07:00
Chad Engler
55352cac7a
Add address sanitizer flags 2022-08-07 12:09:47 -07:00
Jarod42
dd6154045c Add support of openmp for gcc/clang. 2022-04-15 22:01:22 +02:00
Nick Clark
5212cda66b Changed MMD to MD in gmake/gmake2 outputs for gcc/clang. 2022-04-08 07:56:46 -05:00
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
starkos
f466e4b7b2 Fix #1628 failing macOS os.findlib() test 2021-10-29 06:28:11 -04:00
Jarod42
29fa743f19 Improve rule support:
- move rule code from gmake2.lua to rule.lua
- Add UTs
- Fix enum case
- uniformise code for list.
- Add support of rules for Codelite.
2021-10-28 14:46:10 +02: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
Nicholaus Clark
076b9684af Renormalized line endings in the repository 2021-06-23 20:03:18 -04:00
Renaud Guillard
d9f15aec7c os.outputof: add a second argument to select which stream to output
local o, e = os.outputof(cmd, streams)

    Where streams could be one of
    - "output" Only return standard output stream content
    - "error" Only return standard error stream content
    - "both" (default) Return both streams content
2021-01-25 19:18:48 +01: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
starkos
0c792a0ff3 Disable network tests; add --test-all flag to enable
Hides the automated tests that require calls out to the network behind a new `--test-all` flag. Allows for faster TDD iterations for new development, and tests can now be run even when offline.
2020-10-07 09:31:15 -04:00
$continue$
31707a40c4 Update cxx standard; Add C++ latest for gcc; Update GCC tests 2020-08-21 21:40:32 +03:00
starkos
08a19770f8
Merge pull request #1484 from LORgames/ssurtees/symlink
Fixed issue with os.matchfiles and symlinks
2020-07-10 14:56:25 -04:00
Sam Surtees
ce186b1292 Fixed issue with os.matchfiles and symlinks 2020-07-11 02:02:42 +10:00
Sam Surtees
a56be783de Disable redirect test until HTTP endpoint is fixed 2020-07-11 00:03:12 +10: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
tempura-sukiyaki
40e3fbf5ea Change deferred join delimiter to non-printable character
This is a squashed and rebased version of #1384, authored by @tempura-sukiyaki. Changes the deferred join path delimiter to a non-printable character to avoid conflicts with the pipe symbol in paths.
2020-02-25 18:53:26 -05:00
Sam Surtees
f8a88c362c Fixed bug with linkgroups only working on Premake projects 2020-02-09 01:10:07 +10:00
Sam Surtees
9128498bf9 Fixed edge case in path.normalize 2020-02-02 16:30:44 +10:00
Jordi Vilalta Prat
75ceeb50c6 Fix the return values of os.rmdir() and os.remove() 2019-10-31 18:11:25 +01:00
Petr Kalandra
95fb306b2b New 'listWindowsRegistry' OS API method for enumerating content of single Windows registry subkey 2019-10-14 21:35:13 +02:00
Samuel Surtees
5913b0ebaa
Merge pull request #1244 from LORgames/ssurtees/detokenFix
Fixed issue with detoken not handling deferred joins correctly
2019-04-30 22:01:24 +10:00
Samuel Surtees
a413f904d7
Merge pull request #1240 from WorldofBay/patch-1
allow linking of mixed c++ assemblies
2019-03-12 21:09:33 +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
Sam Surtees
1d24f9994b Fixed issue with detoken not handling deferred joins correctly 2019-02-14 23:14:34 +10:00
WorldofBay
213057ff2e
2 new tests for canLink 2019-02-07 15:10:58 +01:00
Ross Brackstone
c0ceb0f26d Added support & tests for XCTest sharedlibtype 2019-01-09 14:12:44 +10:00
tdesveaux
a1d7e8657c Host path.normalize: Fix normalization for paths containing tokens 2018-11-04 18:01:29 +01:00
Thomas Desveaux
f68c386341 path.normalize: Fix when call with path surrounded with quotes 2018-10-11 14:21:42 +02:00
Mihai Sebea
541958e4d2 ! fixed pepper fish to work with lua 5.3.4 2018-09-08 23:12:44 +02:00
Samuel Surtees
dfef8e4766
Merge pull request #1132 from tdesveauxPKFX/host/normalize
Refactor path.normalize and handle path ending with .
2018-08-13 20:30:02 +10:00
tdesveaux
439a1b373d Path normalize: Add test for server path (//) 2018-08-12 15:17:20 +02:00
tempura-sukiyaki
ea4f03c4cd Fix OSXFramework bundlepath 2018-08-01 12:28:32 +09:00
Thomas Desveaux
051ed6a1ab Path normalize: Add test with trailing dot 2018-07-19 18:34:36 +02:00
Sebastian Kylander
3fec411a54
Merge branch 'master' into server-paths 2018-07-18 16:37:19 +02:00