add infrastructure for app bundle target and unmark as advanced

This commit is contained in:
Palana
2013-12-30 20:52:44 +01:00
parent 78eb116cc8
commit 683585938c
5 changed files with 94 additions and 10 deletions

View File

@@ -25,12 +25,13 @@ if(UNIX)
set(CMAKE_INSTALL_RPATH
"${CMAKE_INSTALL_RPATH};@loader_path/;@executable_path/")
option(BUILD_APP_BUNDLE "Build app bundle" false)
#TODO: figure out distribution options
mark_as_advanced(BUILD_APP_BUNDLE)
endif()
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
endif()
include(obs_helpers)
obs_add_data_dir(/)
set(LIBRARY_OUTPUT_PATH ${obs_BINARY_DIR}/bin)
set(RUNTIME_OUTPUT_PATH ${obs_BINARY_DIR}/bin)