@@ -33,16 +33,16 @@ if compiler.get_argument_syntax()== 'gcc' # used for gcc compatible compilers
33
33
# Build against system libraries on linux
34
34
message (' gcc detected' )
35
35
36
- build_rpath = ' $ORIGIN:$ORIGIN/../external/lib/ linux/x86_64 ' # Set RUNPATH so that CCCP can find libfmod.so without needing to set LD_LIBRARY_PATH
37
-
38
- if host_machine .system()== ' darwin'
39
- build_rpath = ' @executable_path/../external/lib/macos' # Add a new R_PATH CCCP can find libfmod.dylib on Darwin TODO: Confirm and validate this.
40
- endif
36
+ if host_machine .system() == ' linux'
37
+ build_rpath = ' $ORIGIN:$ORIGIN/../external/lib/linux/x86_64 ' # Set RUNPATH so that CCCP can find libfmod.so without needing to set LD_LIBRARY_PATH
38
+ elif host_machine .system()== ' darwin'
39
+ build_rpath = ' @executable_path/../external/lib/macos' # Add a new R_PATH CCCP can find libfmod.dylib on Darwin TODO: Confirm and validate this.
40
+ endif
41
41
42
42
#suffix = 'x86_64'
43
- if host_machine .system()== ' linux'
44
- link_args += [' -Wl,--enable-new-dtags' ] # Set RUNPATH instead of RPATH
45
- endif
43
+ if host_machine .system()== ' linux'
44
+ link_args += [' -Wl,--enable-new-dtags' ] # Set RUNPATH instead of RPATH
45
+ endif
46
46
47
47
# Set preprocessor flags and cpp arguments according to build options
48
48
buildtype_debug = get_option (' debug' )
@@ -180,16 +180,16 @@ endif
180
180
181
181
#### Installing #####
182
182
base_exclude_files = [
183
- ' Base.rte/Settings.ini' ,
184
- ' Launch Actor Editor.bat' ,
185
- ' Launch Area Editor.bat' ,
186
- ' Launch Assembly Editor.bat' ,
187
- ' Launch Gib Editor.bat' ,
188
- ' Launch Scene Editor.bat' ,
189
- ' LogConsole.txt' ,
190
- ' LogLoading.txt' ,
191
- ' LogLoadingWarning.txt' ,
192
- ' Start Dedicated Server.bat'
183
+ ' Base.rte/Settings.ini' ,
184
+ ' Launch Actor Editor.bat' ,
185
+ ' Launch Area Editor.bat' ,
186
+ ' Launch Assembly Editor.bat' ,
187
+ ' Launch Gib Editor.bat' ,
188
+ ' Launch Scene Editor.bat' ,
189
+ ' LogConsole.txt' ,
190
+ ' LogLoading.txt' ,
191
+ ' LogLoadingWarning.txt' ,
192
+ ' Start Dedicated Server.bat'
193
193
]
194
194
195
195
if get_option (' install_data' )
0 commit comments