mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-06 17:48:08 +00: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:
parent
ee5a29e6f2
commit
4c7c29b8b6
4 changed files with 24 additions and 9 deletions
|
@ -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})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue