Skip to content

Commit

Permalink
feat: Added /Zi options to dependent libs
Browse files Browse the repository at this point in the history
  • Loading branch information
kbinani committed Sep 3, 2021
1 parent 87d9cec commit c8b0a43
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
cmake_minimum_required(VERSION 3.16)
project(je2be-gui VERSION 2.5.0)

set(BUILD_SHARED_LIBS OFF)
add_definitions(/std:c++latest)

add_subdirectory(ext/je2be)
add_subdirectory(ext/JUCE)

add_definitions(/std:c++latest)

juce_add_gui_app(je2be-gui
ICON_BIG "Resource/icon-large.png"
ICON_SMALL "Resource/icon-small.png"
Expand Down Expand Up @@ -48,6 +49,10 @@ target_compile_definitions(je2be-gui

target_compile_options(je2be-gui PRIVATE $<$<CONFIG:Release>:/Zi>)
target_link_options(je2be-gui PRIVATE $<$<CONFIG:Release>:/DEBUG>)
target_compile_options(leveldb PRIVATE $<$<CONFIG:Release>:/Zi>)
target_link_options(leveldb PRIVATE $<$<CONFIG:Release>:/DEBUG>)
target_compile_options(zlib PRIVATE $<$<CONFIG:Release>:/Zi>)
target_link_options(zlib PRIVATE $<$<CONFIG:Release>:/DEBUG>)

juce_add_binary_data(app-data
SOURCES
Expand All @@ -59,7 +64,7 @@ target_link_libraries(je2be-gui
app-data
juce::juce_gui_extra
xxhash
zlibstatic
zlib
leveldb
PUBLIC
juce::juce_recommended_config_flags
Expand Down
2 changes: 1 addition & 1 deletion ext/je2be
Submodule je2be updated 1 files
+3 −5 CMakeLists.txt

0 comments on commit c8b0a43

Please sign in to comment.