mirror of
https://github.com/QIDITECH/QIDIStudio.git
synced 2026-01-31 08:58:42 +03:00
update src
This commit is contained in:
@@ -230,6 +230,16 @@ if (WIN32)
|
||||
|
||||
|
||||
else ()
|
||||
if (NOT APPLE AND NOT FLATPAK)
|
||||
set(output_sos_Release "")
|
||||
set(output_sos_Debug "")
|
||||
add_custom_target(QIDIStudioSosCopy ALL DEPENDS QIDIStudio)
|
||||
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
|
||||
qidistudio_copy_sos(QIDIStudioSosCopy "Debug" "d" output_sos_Debug)
|
||||
else()
|
||||
qidistudio_copy_sos(QIDIStudioSosCopy "Release" "" output_sos_Release)
|
||||
endif()
|
||||
endif()
|
||||
if (APPLE AND NOT CMAKE_MACOSX_BUNDLE)
|
||||
# On OSX, the name of the binary matches the name of the Application.
|
||||
add_custom_command(TARGET QIDIStudio POST_BUILD
|
||||
@@ -288,5 +298,9 @@ if (WIN32)
|
||||
endif ()
|
||||
install(FILES ${output_dlls_${build_type}} DESTINATION "${CMAKE_INSTALL_PREFIX}")
|
||||
else ()
|
||||
if (APPLE)
|
||||
else()
|
||||
install(FILES ${output_sos_${build_type}} DESTINATION "${CMAKE_INSTALL_PREFIX}")
|
||||
endif()
|
||||
install(TARGETS QIDIStudio RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" BUNDLE DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
endif ()
|
||||
|
||||
Reference in New Issue
Block a user