mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-07 08:15:59 -10:00
fix various macOS/Xcode project issues (#7875)
Silence CMake build type warnings when using a multi-config generator. Fix macOS deployment target specification. It must be set before the first project() command to work properly, and needs to be a cached value so that it can be overridden by the user. This in particular is required for Xcode 27 where the minimum deployment target is 12.0 and using anything less is a hard fail rather than a warning. Fix Xcode scheme only containing qtFred as a buildable target. Fix various Xcode warnings when a static library contains files without any symbols. Allow FSO/qtFRED cmdline arguments and working directory to be set via their respective options (FSO_RUN_ARGUMENTS & FSO_FREESPACE_PATH) in Xcode. Fix product identifier mismatch and unset minimum system version warnings in Info.plist file.
This commit is contained in:
1 parent
c28032a2af
commit
12a36dc1a3
12 files changed
+63
-23
No files matched your search
@@ -130,5 +130,8 @@ set_target_properties(code PROPERTIES XCODE_ATTRIBUTE_COPY_PHASE_STRIP[variant=D
|
||||
set_target_properties(code PROPERTIES XCODE_ATTRIBUTE_STRIP_INSTALLED_PRODUCT[variant=Debug] "NO")
|
||||
set_target_properties(code PROPERTIES XCODE_ATTRIBUTE_GCC_SYMBOLS_PRIVATE_EXTERN[variant=Debug] "NO")
|
||||
|
||||
# Prevent warnings on files with no symbols on Mac
|
||||
suppress_no_symbol_warnings(code)
|
||||
|
||||
# Prevent GCC warnings in third-party BitOp... see GitHub #4366
|
||||
suppress_file_warnings(scripting/lua/bitop/bit.c)
|
||||
Reference in new issue
Block a user