Commit Graph

176 Commits

Author SHA1 Message Date
Username404 d4ff3cd91d
Make sure run-time type information is enabled on MSVC
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-01-08 23:20:59 +01:00
Username404 72e131cb50
Add a minimal MSVC version
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-01-08 13:15:13 +01:00
Username404 69a5474b1f
Add "/Zc:inline" to the MSVC compiler flags
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-01-08 12:38:21 +01:00
Username404 faf3f4a090
Add "/Zc:throwingNew" to the MSVC flags
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-01-08 10:59:30 +01:00
Username404 9851129fee
Enable the new preprocessor conformance mode on MSVC
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-01-05 22:09:41 +01:00
Username404 c00276a761
Add "-fno-math-errno" to the release flags for GNU and Clang compilers
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2021-12-31 13:04:57 +01:00
Username404 c16a0a1208
Enable threads only when they are available, and replace "ybcon" occurrences with "${EXENAME}" in the CMakeLists.txt file 2021-12-21 19:47:53 +01:00
Username404-59 b8223e14f0
Don't generate a new manifest file on MSVC compilers 2021-12-16 13:06:01 +01:00
Username404-59 b42cf6953b
Add MSVC specific flags 2021-12-15 16:29:52 +01:00
Username404-59 07d836da64
Fix the UPPERCASE_BUILD_TYPE variable to make the CMakeLists.txt file compatible with multi-config generators 2021-12-15 13:20:46 +01:00
Username404-59 046622a445
Fix a condition used to determine if windows/mingw is in use 2021-12-14 13:31:24 +01:00
Username404 fac4bc799e
Use the CMAKE_HOST_WIN32 variable instead of win32 to fix building with a reassigned CMAKE_SYSTEM_NAME 2021-12-03 16:54:23 +01:00
Username404 48fe02c171
Fix the Jenkinsfile and remove the useless CMake 3.22.0 warning 2021-12-03 16:15:18 +01:00
Username404 47b5135402
Remove a useless condition and two unnecessary parentheses in lexer.cpp 2021-11-24 18:35:54 +01:00
Username404 7d40230f65
Include CMAKE_VERSION in the CPack 3.21.1 warning, just in case the condition needs to be changed in a future version 2021-11-21 13:24:55 +01:00
Username404 9c7210cb65
Improve the message shown when position-independent code is not supported 2021-11-12 21:33:51 +01:00
Username404 a4575a726d
Add interprocedural optimization flags only when they are supported if clang is in use 2021-11-12 21:18:11 +01:00
Username404 15cbe06f0c
Make the check_cxx_compiler_flag invocation lowercase 2021-11-09 20:27:59 +01:00
Username404 30ef4500f2
Add a UPPERCASE_BUILD_TYPE variable to make a condition case-insensitive 2021-10-20 21:19:01 +02:00
Username404 24dca593c5
Remove "-s" from the optimization flags 2021-10-20 20:50:36 +02:00
Username404 36b0e39a92
Only define YBCON_FLAGS in optimized builds 2021-10-20 19:16:45 +02:00
Username404-59 88d22e6183
Add a "--buildInfo" argument to print the compiler and optimization options used when building 2021-10-20 17:08:41 +02:00
Username404 e8adf32645
Set CPACK_NSIS_IGNORE_LICENSE_PAGE to TRUE in the CMakeLists.txt file 2021-10-19 22:08:41 +02:00
Username404 6bb6fa4dda
Add "-fvect-cost-model=unlimited" to the GNU optimization flags in the CMakeLists.txt file 2021-10-11 19:03:38 +02:00
Username404 1df9b9ed74
Add the changelog target as a dependency of the ybcon one 2021-10-02 14:22:29 +02:00
Username404-59 f3322f996e
Precompile the Yerbacon.hpp header file 2021-09-23 11:31:54 +02:00
Username404-59 3fd04724f1
Add an option to disable ccache in the CMakeLists.txt file 2021-09-23 10:57:39 +02:00
Username404-59 1ee7b8dc7c
Use interprocedural optimization flags on every C++ compiler that supports it 2021-09-22 16:45:32 +02:00
Username404 6ce13be4ca
Don't append CMAKE_CXX_COMPILER_ARCHITECTURE_ID to CPACK_SYSTEM_NAME + CPACK_TOPLEVEL_TAG, and remove a few newlines in ParseComponents.hpp 2021-09-19 21:37:53 +02:00
Username404 ed3da58e31
Add the "-pthread" flag to the G++/Clang common flags instead of using another redundant condition 2021-09-18 22:51:34 +02:00
Username404 6243e97d48
Add "-fstrict-enums" to the compiler options for g++ and clang 2021-09-18 22:19:58 +02:00
Username404 328c8a6868
Make sure that rtti is enabled on g++ and clang 2021-09-18 22:02:07 +02:00
Username404 4f2fbe2b19
Set the "-fzero-call-used-regs" flag on GNU compilers 2021-09-18 20:01:44 +02:00
Username404 c1ed7b3e16
Only set the CPack_NSIS branding text variables on windows 2021-09-18 18:29:53 +02:00
Username404 7a12f275ea
Set the nsis branding text 2021-09-18 18:23:00 +02:00
Username404 4d76c684c3
Set the nsis branding text position in the CMakeLists.txt file 2021-09-18 18:09:04 +02:00
Username404 01a1e5d339
Add the "-ftree-parallelize-loops" argument to the GNU compiler flags 2021-09-18 15:15:44 +02:00
Username404-59 4201e3bcfb
Don't use openmp at all in mingw toolchains since they don't seem to work with it 2021-09-14 12:50:55 +02:00
Username404 9cc7f8e39e
Only put the openmp flags when it is present 2021-09-12 12:45:15 +02:00
Username404 e6e12a26ec
Enable OpenMP when it is found in CMakeLists.txt and add two variables called IS_GNU and IS_CLANG 2021-09-12 12:41:15 +02:00
Username404 c0966f9650
Only enable position independent code when it is supported by the compiler 2021-09-12 12:00:15 +02:00
Username404-59 75ca9376fa
Add flags to unwind tables in the CMakeLists.txt 2021-08-30 16:23:55 +02:00
Username404 34691f7a8f
Only set CCACHE_PRESENT when it is not already defined 2021-08-28 23:09:34 +02:00
Username404 2dba7fbda6
Add experimental string transpilation with interpolation 2021-08-28 10:59:24 +02:00
Username404 871ebabb11
Use ccache in builds when it is present 2021-08-27 12:08:56 +02:00
Username404-59 57f8f251bc
Add a CF_PROTECTION variable to hold the -fcf-protection flag in the CMakeLists.txt file 2021-08-22 17:03:53 +02:00
Username404 9a1ea05e83
Add two optimization flags for the GNU compiler 2021-08-22 12:14:12 +02:00
Username404 845f356a86
Show a warning when CMake/CPack 3.21.1 is being used 2021-08-18 23:40:46 +02:00
Username404 4b0e58dd6a
Don't statically link libgcc, and don't use GCC/Clang flags on MSVC when cross-compiling for windows 2021-08-18 20:33:05 +02:00
Username404 df334ec693
Revert "Set the debian package dependencies manually."
This reverts commit 02f6a3db
2021-08-18 12:57:00 +02:00