NeuralAmpModeler-mac.xcconfig (2005B)
1 2 // IPLUG2_ROOT should point to the top level IPLUG2 folder 3 // By default, that is three directories up from /Examples/NeuralAmpModeler/config 4 // If you want to build your project "out of source", you can change IPLUG2_ROOT and the path to common-mac.xcconfig 5 6 IPLUG2_ROOT = ../../iPlug2 7 8 #include "../../common-mac.xcconfig" 9 10 //------------------------------ 11 // Global build settings 12 13 // the basename of the vst, vst3, app, component, aaxplugin 14 BINARY_NAME = NeuralAmpModeler 15 16 // ------------------------------ 17 // HEADER AND LIBRARY SEARCH PATHS 18 EXTRA_INC_PATHS = $(IPLUG2_ROOT)/../eigen $(IGRAPHICS_INC_PATHS) 19 EXTRA_LIB_PATHS = $(IGRAPHICS_LIB_PATHS) 20 EXTRA_LNK_FLAGS = -framework Accelerate -framework Metal -framework MetalKit // -framework WebKit //$(IGRAPHICS_LNK_FLAGS) 21 22 // EXTRA_APP_DEFS = 23 // EXTRA_PLUGIN_DEFS = 24 25 //------------------------------ 26 // PREPROCESSOR MACROS 27 EXTRA_ALL_DEFS = OBJC_PREFIX=vNeuralAmpModeler SWELL_APP_PREFIX=Swell_vNeuralAmpModeler IGRAPHICS_NANOVG IGRAPHICS_METAL GRAYED_ALPHA=0.5f 28 //EXTRA_DEBUG_DEFS = 29 //EXTRA_RELEASE_DEFS = 30 //EXTRA_TRACER_DEFS = 31 32 //------------------------------ 33 // RELEASE BUILD OPTIONS 34 35 //Enable/Disable Profiling code 36 PROFILE = NO //NO, YES - enable this if you want to use instruments to profile a plugin 37 38 // Optimization level - 39 // None: [-O0] Fast: [-O, -O1] Faster:[-O2] Fastest: [-O3] Fastest, smallest: Optimize for size. [-Os] 40 RELEASE_OPTIMIZE = 3 //0,1,2,3,s 41 42 //------------------------------ 43 // DEBUG BUILD OPTIONS 44 DEBUG_OPTIMIZE = 0 //0,1,2,3,s 45 46 //------------------------------ 47 // MISCELLANEOUS COMPILER OPTIONS 48 49 //ARCHS = $(ARCHS_STANDARD_32_64_BIT) 50 ARCHS = $(ARCHS_STANDARD_64_BIT) 51 52 GCC_INCREASE_PRECOMPILED_HEADER_SHARING = NO 53 54 // Flags to pass to compiler for all builds 55 GCC_CFLAGS[arch=x86_64] = -Wno-write-strings -mfpmath=sse -msse -msse2 -msse3 //-mavx 56 57 // Uncomment to enable relaxed IEEE compliance 58 //GCC_FAST_MATH = YES 59 60 // uncomment this to enable codesigning - necessary for AUv3 delivery 61 CODE_SIGN_IDENTITY=//Mac Developer