git-svn-id: svn://db.shs.com.ru/pip@1009 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2020-04-10 20:14:23 +00:00
parent 4b34dbdf45
commit 510a26933b
2 changed files with 111 additions and 1 deletions

View File

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