Overhaul of compiler settings and config system

This commit is contained in:
Alex Harker
2018-04-12 18:57:11 +01:00
parent 1b817a6298
commit 084c10d33a
5 changed files with 682 additions and 6235 deletions
+1 -31
View File
@@ -13,35 +13,5 @@ CLANG_CXX_LANGUAGE_STANDARD = c++11
CLANG_CXX_LIBRARY = libc++
CLANG_X86_VECTOR_INSTRUCTIONS = avx2
// Specific to Max
// Paths
C74SUPPORT = $(SRCROOT)/FrameLib_Max_Objects/_MaxSDK_/c74support
HEADER_SEARCH_PATHS = "$(SRCROOT)/../../AH_MaxMSP_Headers" "$(C74SUPPORT)/max-includes" "$(C74SUPPORT)/msp-includes" "$(C74SUPPORT)/jit-includes"
FRAMEWORK_SEARCH_PATHS = "$(C74SUPPORT)/msp-includes" "$(C74SUPPORT)/jit-includes"
// Special Files
INFOPLIST_FILE = Info.plist
GCC_PREFIX_HEADER = $(C74SUPPORT)/max-includes/macho-prefix.pch
// Static Configuration (don't change these)
WRAPPER_EXTENSION = mxo
DEPLOYMENT_LOCATION = NO
GENERATE_PKGINFO_FILE = YES
GCC_PREPROCESSOR_DEFINITIONS = "DENORM_WANT_FIX = 1" "NO_TRANSLATION_SUPPORT = 1"
// Flags to enforce some build-time checks for the symbols used while not actually performing a hard link
C74_SYM_LINKER_FLAGS = @$(C74SUPPORT)/max-includes/c74_linker_flags.txt
OTHER_LDFLAGS = $(C74_SYM_LINKER_FLAGS)
// hide all symbols by default
// mark a function to be exported with the C74_EXPORT macro -- most likely this will only apply to the main() function
OTHER_CFLAGS = -fvisibility=hidden
OTHER_CPLUSPLUSFLAGS = -fvisibility=hidden
+31
View File
@@ -0,0 +1,31 @@
#include "../../Config_FrameLib.xcconfig"
// Paths
C74SUPPORT = $(SRCROOT)/FrameLib_Max_Objects/_MaxSDK_/c74support
HEADER_SEARCH_PATHS = "$(SRCROOT)/../../AH_MaxMSP_Headers" "$(C74SUPPORT)/max-includes" "$(C74SUPPORT)/msp-includes" "$(C74SUPPORT)/jit-includes"
FRAMEWORK_SEARCH_PATHS = "$(C74SUPPORT)/msp-includes" "$(C74SUPPORT)/jit-includes"
// Special Files
INFOPLIST_FILE = Info.plist
GCC_PREFIX_HEADER = $(C74SUPPORT)/max-includes/macho-prefix.pch
// Static Configuration (don't change these)
WRAPPER_EXTENSION = mxo
DEPLOYMENT_LOCATION = NO
GENERATE_PKGINFO_FILE = YES
GCC_PREPROCESSOR_DEFINITIONS = "DENORM_WANT_FIX = 1" "NO_TRANSLATION_SUPPORT = 1"
// Flags to enforce some build-time checks for the symbols used while not actually performing a hard link
C74_SYM_LINKER_FLAGS = @$(C74SUPPORT)/max-includes/c74_linker_flags.txt
OTHER_LDFLAGS = $(C74_SYM_LINKER_FLAGS)
// all symbols hidden by default
// mark a function to be exported with the C74_EXPORT macro -- most likely this will only apply to the main() function
+2 -2
View File
@@ -498,8 +498,8 @@ uint64_t basicSanity(uint64_t count)
{
FL_FP One(1,0);
FL_FP OneULP(0,1);
FL_FP MaxInt(std::numeric_limits<uint64>::max(),0);
FL_FP MaxVal(std::numeric_limits<uint64>::max(),std::numeric_limits<uint64>::max());
FL_FP MaxInt(std::numeric_limits<uint64_t>::max(),0);
FL_FP MaxVal(std::numeric_limits<uint64_t>::max(),std::numeric_limits<uint64_t>::max());
FL_FP result;
bool success = true;
File diff suppressed because it is too large Load Diff
@@ -26,6 +26,7 @@
buildConfiguration = "Development"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
@@ -45,6 +46,7 @@
buildConfiguration = "Deployment"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"