Commit Graph

3593 Commits

Author SHA1 Message Date
Sam Surtees
29894d8dbf Added Windows implementation to os.touchfile to avoid issues with truncating the file 2020-07-11 02:29:35 +10:00
Samuel Surtees
2cee14c124
Merge pull request #1447 from ethan-wallace/vs-warnings
Added /Wall to possible warning levels for Visual Studio
2020-06-21 15:37:56 +10:00
Samuel Surtees
55cd0525fa
Merge pull request #1473 from noresources/osgetversion-macosx
macOS os.getversion() improvements
2020-06-21 15:17:51 +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
55099c4bd2 macOS os.getversion() improvements
* Use system property list to retrieve current accurate system version
* Add description for latest versions
2020-06-18 02:40:28 +02:00
starkos
5fa6d359c1
Merge pull request #1468 from noresources/toolset-macosx-systemversion
macOS deployment target support for gcc and clang
2020-06-16 06:38:35 -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
Samuel Surtees
2c42771f3f
Merge pull request #1462 from nickclark2016/master
Added clang as a valid option for projects generated with vs2019
2020-06-11 11:54:26 +10:00
nickclark2016
48276f5181 Added clang as a valid option for projects generated with vs2019 2020-06-10 21:40:12 -04:00
Samuel Surtees
9d84f74391
Merge pull request #1460 from nickclark2016/master
Add C++20 cppdialect for C++ projects
2020-06-07 15:11:16 +10: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
Samuel Surtees
5bb0bef41c
Merge pull request #1454 from noresources/bootstra-clean
Bootstrap.mak clean target(s)
2020-05-26 12:51:22 +10:00
Renaud Guillard
be31d437b5 Add cleaning instructions to Bootstrap.mak 2020-05-25 23:03:12 +02:00
Renaud Guillard
8f437877bf Bootstrap.mak clean target(s)
Bootstrap can now clean itself using make -f Bootstrap.mak <platform>-clean

* Factorize cleanup tasks in two targets
	* windows-clean for windows systems
	* nix-clean: For all UNIX-based systems
* Add a "*-clean" target counterpart for each target as an alias of windows-clean or nix-clean
* Make each target invoke its *-clean target before running
* Replace use of $? / $** by explicit $(SRC) in build rules
	They cannot be used anymore due to the presence of the *-clean target in dependency list
2020-05-25 11:37:16 +02:00
starkos
c620b80566 Add Windows malware analysis step to release checklist 2020-05-21 06:34:42 -04:00
Ethan Wallace
b271a46cc4
Merge branch 'master' into vs-warnings 2020-05-16 20:56:06 -04:00
Ethan Wallace
1453c7c5fd Updated tests to reflect new flag
Test suite now properly checks the new "High" and "Extra" warning options
2020-05-16 20:29:32 -04:00
starkos
b47a949c75
Merge pull request #1446 from rhuvendiek/master
Do not add <Link> for .NET resources or the resource will not be properly embedded.
2020-05-16 15:00:23 -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
rhuvendiek
79eb04b5e6 Do not add <Link> for .NET resources or the resource will not be
properly embedded.
2020-05-13 21:25:57 +02:00
starkos
09dbfca63f
Merge pull request #1439 from withmorten/master
Disable XP deprecation warning for Visual Studio projects
2020-05-01 10:17:08 -04:00
withmorten
df58fd93de only set XPDeprecationWarning to false when choosing toolset v141_xp in config; add tests 2020-04-30 16:51:25 +02:00
withmorten
aedeb3273c disable XP deprecation warning for visual studio projects 2020-04-29 20:44:17 +02:00
Samuel Surtees
5d0b64c175
Merge pull request #1430 from Enhex/fix_codelite_command
fixed adding LD_LIBRARY_PATH to the executable run command.
2020-04-26 21:33:49 +10:00
Enhex
fdbdee359c fixed adding LD_LIBRARY_PATH to the executable run command. 2020-04-26 04:09:50 +03:00
starkos
78e25096a7 Merge branch 'release/v5.0.0-alpha15' 2020-04-23 14:59:18 -04:00
starkos
dd934f7308 Restore dev version 2020-04-23 14:59:07 -04:00
starkos
ffa8778a14 Update support files for 5.0-alpha15 release 2020-04-23 14:32:38 -04:00
Samuel Surtees
012c3418b2
Merge pull request #1427 from premake/release-improvements
Fix up and improve the release docs and script
2020-04-22 22:58:55 +10:00
starkos
760417a348 Fix up and improve the release docs and script 2020-04-21 17:01:55 -04:00
Samuel Surtees
07ab4ccee4
Merge pull request #1424 from starkos/fix/vs2017-system-latest
Fix systemversion("latest") on VS2017
2020-04-16 02:26:46 +10:00
starkos
71156f3ec4
Merge pull request #1422 from LORgames/ssurtees/githubActions
Added GitHub Actions
2020-04-15 09:10:54 -04:00
starkos
a38135d712 Fix systemversion("latest") on VS2017 2020-04-15 09:02:37 -04:00
Sam Surtees
55d5196243 Added GitHub Actions 2020-04-10 01:14:05 +10:00
starkos
3b5f6e60c7 Merge remote-tracking branch 'starkos/feature/vs-enablewarnings' 2020-04-07 10:00:26 -04:00
starkos
ae5d93a1a8 Enable enablewarnings() for MSC 2020-04-06 18:01:36 -04:00
starkos
4c11d6e123 Merge remote-tracking branch 'LORgames/ssurtees/objectiveC' 2020-04-06 17:37:49 -04:00
starkos
9def08f1d6
Merge pull request #1420 from premake/fix/bootstrap-mingw
Fix MinGW builds of Premake
2020-04-01 09:29:05 -04:00
Jason Perkins
19034686aa Restore "version.lib" pragma for os.getversion
I'm not sure why this is still needed, since "version" has also been added to the `premake5.lua` config for Windows builds. But it's failing the CI builds, so restoring for now.
2020-03-31 16:19:42 -04:00
Jason Perkins
ac874b91a4 Fix remaining MinGW build issues 2020-03-31 16:19:42 -04:00
tdesveaux
f29f8b2030 Fix MinGW64 build 2020-03-31 16:19:42 -04:00
tdesveaux
987bae9859 os_stat: Use _stat instead of _stat64i32
`stat64i32` is undefined when building with mingw32
2020-03-31 16:19:42 -04:00
Samuel Surtees
7cad09ed18
Merge pull request #1419 from starkos/fix/issue-1411
Fix #1411: Remove "|"  from Codelite config names
2020-03-31 18:22:37 +10:00
Sam Surtees
a4bba42013 Added support for Objective-C and Objective-C++ in xcode and gmake2
- Added unit tests for Objective-C and Objective-C++
2020-03-31 18:14:26 +10:00
starkos
ecaebbad06 Fix #1411: Remove "|" from Codelite config names 2020-03-30 15:57:52 -04:00
Samuel Surtees
c4f36032cc
Merge pull request #1415 from englercj/c++-ext-support
Add .c++ extension support to a few spots it was missing
2020-03-28 18:55:42 +10:00
Chad Engler
92888e8c33 Add .c++ to a few spots it was missing 2020-03-27 18:50:41 -07:00