git-svn-id: svn://db.shs.com.ru/pip@988 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -70,6 +70,7 @@
|
||||
# PLUGINS | root | /usr/lib/COMPANY | Contents/PlugIns
|
||||
# FILES | root | /usr/bin | Contents/MacOS
|
||||
#
|
||||
# Relative paths are taken from DEPLOY_DIR
|
||||
# Also check library dependencies from PLUGINS and FILES
|
||||
#
|
||||
#
|
||||
@@ -294,12 +295,12 @@ END
|
||||
endmacro()
|
||||
|
||||
|
||||
macro(__add_file_or_dir _DIR_VAR _FILE_VAR _PATH)
|
||||
macro(__add_file_or_dir _DIR_VAR _FILE_VAR _PATH _RELPATH)
|
||||
set(_p)
|
||||
if (IS_ABSOLUTE "${_PATH}")
|
||||
set(_p "${_PATH}")
|
||||
else()
|
||||
set(_p "${CMAKE_CURRENT_SOURCE_DIR}/${_PATH}")
|
||||
set(_p "${_RELPATH}/${_PATH}")
|
||||
endif()
|
||||
if (EXISTS "${_p}")
|
||||
if (IS_DIRECTORY "${_p}")
|
||||
@@ -356,11 +357,11 @@ macro(deploy_target _T)
|
||||
set(_is_deploy_dir 0)
|
||||
set(_DEPLOY_DIR "${_i}/")
|
||||
elseif (_is_res)
|
||||
__add_file_or_dir(_RES_DIRS _RES_FILES "${_i}")
|
||||
__add_file_or_dir(_RES_DIRS _RES_FILES "${_i}" "${_DEPLOY_DIR}")
|
||||
elseif (_is_plug)
|
||||
__add_file_or_dir(_PLUG_DIRS _PLUG_FILES "${_i}")
|
||||
__add_file_or_dir(_PLUG_DIRS _PLUG_FILES "${_i}" "${_DEPLOY_DIR}")
|
||||
elseif (_is_file)
|
||||
__add_file_or_dir(_FILE_DIRS _FILE_FILES "${_i}")
|
||||
__add_file_or_dir(_FILE_DIRS _FILE_FILES "${_i}" "${_DEPLOY_DIR}")
|
||||
endif()
|
||||
endif()
|
||||
#message("-i = ${_i}")
|
||||
|
||||
Reference in New Issue
Block a user