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:
Maarten ter Huurne
2011-12-14 02:50:36 +01:00
parent ee5a29e6f2
commit 4c7c29b8b6
4 changed files with 24 additions and 9 deletions

View File

@ -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()