mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
Let "make install" on OS X copy the bundle to /Applications.
The "dsptool" executable is not included in the bundle. The "tester" executable is not included in the bundle and it no longer installed on other platforms, since it is neither expected nor useful to install unit tests.
This commit is contained in:
@ -115,7 +115,6 @@ endif()
|
||||
|
||||
add_executable(${DOLPHIN_EXE} ${SRCS})
|
||||
target_link_libraries(${DOLPHIN_EXE} ${LIBS} ${WXLIBS})
|
||||
install(TARGETS ${DOLPHIN_EXE} RUNTIME DESTINATION ${bindir})
|
||||
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
include(BundleUtilities)
|
||||
@ -157,4 +156,11 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
COMMAND ${CMAKE_COMMAND} -P copy_data_into_bundle.cmake
|
||||
VERBATIM
|
||||
)
|
||||
|
||||
# Install bundle into systemwide /Applications directory.
|
||||
install(DIRECTORY ${BUNDLE_PATH} DESTINATION /Applications
|
||||
USE_SOURCE_PERMISSIONS
|
||||
)
|
||||
else()
|
||||
install(TARGETS ${DOLPHIN_EXE} RUNTIME DESTINATION ${bindir})
|
||||
endif()
|
||||
|
@ -1,3 +1,5 @@
|
||||
add_executable(dsptool Src/DSPTool.cpp)
|
||||
target_link_libraries(dsptool core)
|
||||
install(TARGETS dsptool RUNTIME DESTINATION ${bindir})
|
||||
if((NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin"))
|
||||
install(TARGETS dsptool RUNTIME DESTINATION ${bindir})
|
||||
endif()
|
||||
|
@ -4,4 +4,3 @@ set(SRCS AudioJitTests.cpp
|
||||
|
||||
add_executable(tester ${SRCS})
|
||||
target_link_libraries(tester core)
|
||||
install(TARGETS tester RUNTIME DESTINATION ${bindir})
|
||||
|
Reference in New Issue
Block a user