mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-25 05:41:42 +00:00
Update CMake and XCode build systems
This commit is contained in:
parent
ede41c474b
commit
6d650728f6
4 changed files with 8 additions and 3 deletions
|
@ -260,6 +260,10 @@ target_compile_options(SRB2SDL2 PRIVATE
|
|||
-Wdisabled-optimization
|
||||
>
|
||||
|
||||
$<$<VERSION_GREATER_EQUAL:$<C_COMPILER_VERSION>,3.4.0>:
|
||||
-fwrapv
|
||||
>
|
||||
|
||||
$<$<VERSION_GREATER_EQUAL:$<C_COMPILER_VERSION>,4.0.0>:
|
||||
-Wold-style-definition
|
||||
-Wmissing-field-initializers
|
||||
|
|
|
@ -65,7 +65,8 @@ gcc_versions:=\
|
|||
75 74 73 72 71 70\
|
||||
64 63 62 61 60\
|
||||
55 54 53 52 51 50\
|
||||
49 48 47 46 45 44 43 42 41 40
|
||||
49 48 47 46 45 44 43 42 41 40\
|
||||
34
|
||||
|
||||
latest_gcc_version:=13.2
|
||||
|
||||
|
|
|
@ -160,7 +160,7 @@ opts+=-O0
|
|||
endif
|
||||
endif
|
||||
|
||||
ifdef GCC45
|
||||
ifdef GCC34
|
||||
opts+=-fwrapv
|
||||
endif
|
||||
|
||||
|
|
|
@ -2133,7 +2133,7 @@
|
|||
INSTALL_PATH = "$(HOME)/Applications";
|
||||
JAVA_COMPILER_DEBUGGING_SYMBOLS = NO;
|
||||
OPTIMIZATION_CFLAGS = "-O2";
|
||||
OTHER_CFLAGS = "-DMAC_ALERT -DUNIXCOMMON -DSDLMAIN -DHAVE_MIXER -DHAVE_PNG -D_BIG_ENDIAN -DSTDC_HEADERS -DSDL -Wall -Winline -fno-strict-aliasing";
|
||||
OTHER_CFLAGS = "-DMAC_ALERT -DUNIXCOMMON -DSDLMAIN -DHAVE_MIXER -DHAVE_PNG -D_BIG_ENDIAN -DSTDC_HEADERS -DSDL -Wall -Winline -fno-strict-aliasing -fwrapv";
|
||||
OTHER_REZFLAGS = "";
|
||||
PREBINDING = NO;
|
||||
PRODUCT_NAME = Srb2;
|
||||
|
|
Loading…
Reference in a new issue