-
Notifications
You must be signed in to change notification settings - Fork 2
/
nim.cfg
18 lines (16 loc) · 3.07 KB
/
nim.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--app:console
#--noMain:on
--verbosity:2
warning[UnusedImport] = off
@if macosx:
@if release or danger:
clang.cpp.options.always = "-std=c++17 -s -O3 -mmacosx-version-min=11.6 -Isources -IJUCE/modules -DNDEBUG=1 -D_NDEBUG=1 -DJUCE_GLOBAL_MODULE_SETTINGS_INCLUDED=1 -DJUCE_STANDALONE_APPLICATION=1 -DJUCE_DISPLAY_SPLASH_SCREEN=0 -DJUCE_WEB_BROWSER=0 -DJUCE_ALLOW_STATIC_NULL_VARIABLES=0 -DJUCE_LOG_ASSERTIONS=1 -DJUCE_STRICT_REFCOUNTEDPOINTER=1 -DJUCE_MODULE_AVAILABLE_juce_analytics=0 -DJUCE_MODULE_AVAILABLE_juce_gui_basics=1 -DJUCE_MODULE_AVAILABLE_juce_graphics=1 -DJUCE_MODULE_AVAILABLE_juce_events=1 -DJUCE_MODULE_AVAILABLE_juce_core=1 -DJUCE_MODULE_AVAILABLE_juce_data_structures=1 -DJUCE_MODULE_AVAILABLE_juce_audio_basics=0 -DJUCE_MODULE_AVAILABLE_juce_audio_devices=0 -DJUCE_MODULE_AVAILABLE_juce_audio_formats=0 -DJUCE_MODULE_AVAILABLE_juce_audio_processors=0 -DJUCE_MODULE_AVAILABLE_juce_gui_extra=0 -DJUCE_MODULE_AVAILABLE_juce_audio_utils=0 -DJUCE_MODULE_AVAILABLE_juce_cryptography=0 -DJUCE_MODULE_AVAILABLE_juce_dsp=0 -DJUCE_MODULE_AVAILABLE_juce_opengl=0 -DJUCE_MODULE_AVAILABLE_juce_osc=0 -DJUCE_MODULE_AVAILABLE_juce_video=0"
clang.cpp.options.linker = "build/june_artefacts/Release/libjune.a -mmacosx-version-min=11.6 -framework Foundation -framework CoreServices -framework CoreImage -framework AppKit -framework QuartzCore -framework IOKit"
#clang.cpp.options.linker = "-Lbuild/june_artefacts/Release -ljune -mmacosx-version-min=11.6 -framework Foundation -framework CoreServices -framework CoreImage -framework AppKit -framework QuartzCore -framework IOKit"
@else:
--debugger:native
clang.cpp.options.always = "-std=c++17 -g -O0 -mmacosx-version-min=11.6 -Isources -IJUCE/modules -DDEBUG=1 -D_DEBUG=1 -DJUCE_GLOBAL_MODULE_SETTINGS_INCLUDED=1 -DJUCE_STANDALONE_APPLICATION=1 -DJUCE_DISPLAY_SPLASH_SCREEN=0 -DJUCE_WEB_BROWSER=0 -DJUCE_ALLOW_STATIC_NULL_VARIABLES=0 -DJUCE_LOG_ASSERTIONS=1 -DJUCE_STRICT_REFCOUNTEDPOINTER=1 -DJUCE_MODULE_AVAILABLE_juce_analytics=0 -DJUCE_MODULE_AVAILABLE_juce_gui_basics=1 -DJUCE_MODULE_AVAILABLE_juce_graphics=1 -DJUCE_MODULE_AVAILABLE_juce_events=1 -DJUCE_MODULE_AVAILABLE_juce_core=1 -DJUCE_MODULE_AVAILABLE_juce_data_structures=1 -DJUCE_MODULE_AVAILABLE_juce_audio_basics=0 -DJUCE_MODULE_AVAILABLE_juce_audio_devices=0 -DJUCE_MODULE_AVAILABLE_juce_audio_formats=0 -DJUCE_MODULE_AVAILABLE_juce_audio_processors=0 -DJUCE_MODULE_AVAILABLE_juce_gui_extra=0 -DJUCE_MODULE_AVAILABLE_juce_audio_utils=0 -DJUCE_MODULE_AVAILABLE_juce_cryptography=0 -DJUCE_MODULE_AVAILABLE_juce_dsp=0 -DJUCE_MODULE_AVAILABLE_juce_opengl=0 -DJUCE_MODULE_AVAILABLE_juce_osc=0 -DJUCE_MODULE_AVAILABLE_juce_video=0"
clang.cpp.options.linker = "build/june_artefacts/Debug/libjune.a -mmacosx-version-min=11.6 -framework Foundation -framework CoreServices -framework CoreImage -framework AppKit -framework QuartzCore -framework IOKit"
#clang.cpp.options.linker = "-Lbuild/june_artefacts/Debug -ljune -rpath @executable_path -mmacosx-version-min=11.6 -framework Foundation -framework CoreServices -framework CoreImage -framework AppKit -framework QuartzCore -framework IOKit"
@end
@end