mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-24 02:13:02 -07:00
clenaup
This commit is contained in:
parent
aa330f6a59
commit
49170d1af4
1 changed files with 0 additions and 3 deletions
|
|
@ -149,7 +149,6 @@ if(MSVC) # MS Visual C++ compiler
|
||||||
# /MP Enable parallel compilation
|
# /MP Enable parallel compilation
|
||||||
# /permissive- Enable strict standards compliance
|
# /permissive- Enable strict standards compliance
|
||||||
# /utf-8 Set source file encoding and execution char set to UTF-8
|
# /utf-8 Set source file encoding and execution char set to UTF-8
|
||||||
# /wd4251 Suppress C4251 (DLL interface) warnings around DLL exports <-- removed to see how Qt6 handles it
|
|
||||||
# /W4 Enable warning level 4
|
# /W4 Enable warning level 4
|
||||||
# /Zc:__cplusplus Enable C++20 detection in headers
|
# /Zc:__cplusplus Enable C++20 detection in headers
|
||||||
# /Zi Generate debugging information (Program Database, PDB)
|
# /Zi Generate debugging information (Program Database, PDB)
|
||||||
|
|
@ -169,8 +168,6 @@ if(MSVC) # MS Visual C++ compiler
|
||||||
# /OPT:ICF Fold identical code
|
# /OPT:ICF Fold identical code
|
||||||
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} /DEBUG /OPT:REF /OPT:ICF")
|
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} /DEBUG /OPT:REF /OPT:ICF")
|
||||||
|
|
||||||
add_compile_definitions(_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING) # check if this is still needed with C++20
|
|
||||||
|
|
||||||
elseif(CMAKE_COMPILER_IS_GNUCXX) # Linux/GCC, BSD/GCC, Windows/MinGW
|
elseif(CMAKE_COMPILER_IS_GNUCXX) # Linux/GCC, BSD/GCC, Windows/MinGW
|
||||||
include(CheckCXXCompilerFlag)
|
include(CheckCXXCompilerFlag)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue