git-svn-id: svn://db.shs.com.ru/pip@1008 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -635,6 +635,19 @@ macro(deploy_target _T)
|
|||||||
COMMENT "Generating ${_TV}.dmg"
|
COMMENT "Generating ${_TV}.dmg"
|
||||||
)
|
)
|
||||||
set(_has_deploy 1)
|
set(_has_deploy 1)
|
||||||
|
elseif (DEFINED ANDROID_PLATFORM)
|
||||||
|
set(_AT ${_T})
|
||||||
|
get_target_property(_TT ${_T} TYPE)
|
||||||
|
if (NOT "x${_TT}" STREQUAL "xSHARED_LIBRARY")
|
||||||
|
set(_AT ${_T}_lib)
|
||||||
|
get_target_property(_sources ${_T} SOURCES)
|
||||||
|
get_target_property(_libs ${_T} LINK_LIBRARIES)
|
||||||
|
add_library(${_AT} SHARED ${_sources})
|
||||||
|
target_link_libraries(${_AT} ${_libs})
|
||||||
|
message("create new target ${_AT} ${_sources} ${_libs}")
|
||||||
|
endif()
|
||||||
|
#get_target_property(_LL ${_T} )
|
||||||
|
set(_has_deploy 1)
|
||||||
endif()
|
endif()
|
||||||
if (_has_deploy)
|
if (_has_deploy)
|
||||||
add_dependencies(deploy deploy_${_T})
|
add_dependencies(deploy deploy_${_T})
|
||||||
|
|||||||
Reference in New Issue
Block a user