|
|
|
@ -40,7 +40,7 @@ target_link_libraries(juci_shared |
|
|
|
tiny-process-library |
|
|
|
tiny-process-library |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
add_executable(juci |
|
|
|
set(JUCI_FILES |
|
|
|
config.cc |
|
|
|
config.cc |
|
|
|
dialogs.cc |
|
|
|
dialogs.cc |
|
|
|
dialogs_unix.cc |
|
|
|
dialogs_unix.cc |
|
|
|
@ -54,8 +54,18 @@ add_executable(juci |
|
|
|
tooltips.cc |
|
|
|
tooltips.cc |
|
|
|
window.cc |
|
|
|
window.cc |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
if(APPLE) |
|
|
|
|
|
|
|
list(APPEND JUCI_FILES window_macos.m) |
|
|
|
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add_executable(juci ${JUCI_FILES}) |
|
|
|
target_link_libraries(juci juci_shared) |
|
|
|
target_link_libraries(juci juci_shared) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(APPLE) |
|
|
|
|
|
|
|
target_link_libraries(juci "-framework Foundation -framework AppKit") |
|
|
|
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
install(TARGETS juci RUNTIME DESTINATION bin) |
|
|
|
install(TARGETS juci RUNTIME DESTINATION bin) |
|
|
|
if(${CMAKE_SYSTEM_NAME} MATCHES Linux|.*BSD|DragonFly) |
|
|
|
if(${CMAKE_SYSTEM_NAME} MATCHES Linux|.*BSD|DragonFly) |
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/share/juci.desktop" |
|
|
|
install(FILES "${CMAKE_SOURCE_DIR}/share/juci.desktop" |
|
|
|
|