Skip to content

Commit 850cb87

Browse files
committed
optimize size of install package
relative path install destination for plugins generate netive windows executable without terminal window
1 parent 1d275d4 commit 850cb87

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ if (INSTALL_DEPLOY AND NOT USE_QT5)
5555
TARGET mp_guisynth
5656
OUTPUT_SCRIPT deploy_script
5757
NO_UNSUPPORTED_PLATFORM_ERROR
58+
NO_COMPILER_RUNTIME
5859
)
5960
install(SCRIPT ${deploy_script} COMPONENT sonivoxeas_runtime)
6061
endif()
@@ -73,7 +74,7 @@ if(INSTALL_DEPLOY)
7374
list(APPEND PLUGINS ${_prop})
7475
endif()
7576
install(FILES ${PLUGINS}
76-
DESTINATION ${CMAKE_INSTALL_PREFIX}/plugins/drumstick2
77+
DESTINATION plugins/drumstick2
7778
COMPONENT sonivoxeas_runtime
7879
)
7980

guisynth/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set( HEADERS mainwindow.h )
88
set( FORMS mainwindow.ui )
99
set( RESOURCES guisynth.qrc )
1010

11-
add_executable( mp_guisynth
11+
add_executable( mp_guisynth WIN32 MACOSX_BUNDLE
1212
${SOURCES}
1313
${HEADERS}
1414
${FORMS}

0 commit comments

Comments
 (0)