git-svn-id: svn://db.shs.com.ru/pip@1009 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -642,11 +642,14 @@ macro(deploy_target _T)
|
||||
set(_AT ${_T}_lib)
|
||||
get_target_property(_sources ${_T} SOURCES)
|
||||
get_target_property(_libs ${_T} LINK_LIBRARIES)
|
||||
get_target_property(_incs ${_T} INCLUDE_DIRECTORIES)
|
||||
add_library(${_AT} SHARED ${_sources})
|
||||
target_link_libraries(${_AT} ${_libs})
|
||||
target_include_directories(${_AT} PRIVATE ${_incs})
|
||||
message("create new target ${_AT} ${_sources} ${_libs}")
|
||||
endif()
|
||||
#get_target_property(_LL ${_T} )
|
||||
add_custom_target(deploy_${_T})
|
||||
set(_has_deploy 1)
|
||||
endif()
|
||||
if (_has_deploy)
|
||||
|
||||
Reference in New Issue
Block a user