From 0be9c0a34b8a8eed118d43aecd6c5820f139d4fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=B5=D0=BB=D0=B8=D0=BF=D0=B5=D0=BD=D0=BA=D0=BE=20?= =?UTF-8?q?=D0=98=D0=B2=D0=B0=D0=BD?= Date: Thu, 26 Mar 2020 14:40:51 +0000 Subject: [PATCH] git-svn-id: svn://db.shs.com.ru/pip@992 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5 --- utils/code_model_generator/CMakeLists.txt | 9 ++++++++- utils/deploy_tool/CMakeLists.txt | 12 +++++++++--- utils/resources_compiler/CMakeLists.txt | 12 +++++++++--- 3 files changed, 26 insertions(+), 7 deletions(-) diff --git a/utils/code_model_generator/CMakeLists.txt b/utils/code_model_generator/CMakeLists.txt index 4a83fecb..d0e92f62 100755 --- a/utils/code_model_generator/CMakeLists.txt +++ b/utils/code_model_generator/CMakeLists.txt @@ -1,5 +1,12 @@ message(STATUS "Building pip_cmg") -add_executable(pip_cmg "main.cpp") +import_version(pip_cmg pip) +set_deploy_property(pip_cmg + LABEL "PIP code model generator" + FULLNAME "${_PIP_DOMAIN}.pip_cmg" + COMPANY "${_PIP_COMPANY}" + INFO "Platform-Independent Primitives") +make_rc(pip_cmg _RC) +add_executable(pip_cmg "main.cpp" ${_RC}) target_link_libraries(pip_cmg pip) # apple_rpath_patch(pip_cmg) if (DEFINED LIB) diff --git a/utils/deploy_tool/CMakeLists.txt b/utils/deploy_tool/CMakeLists.txt index 7a568aa0..ce53d07f 100644 --- a/utils/deploy_tool/CMakeLists.txt +++ b/utils/deploy_tool/CMakeLists.txt @@ -1,7 +1,13 @@ message(STATUS "Building deploy_tool") -file(GLOB CPPS "*.cpp") -file(GLOB HDRS "*.h") -add_executable(deploy_tool ${CPPS} ${HDRS}) +import_version(deploy_tool pip) +set_deploy_property(deploy_tool + LABEL "PIP deploy tool" + FULLNAME "${_PIP_DOMAIN}.deploy_tool" + COMPANY "${_PIP_COMPANY}" + INFO "Platform-Independent Primitives") +make_rc(deploy_tool _RC) +file(GLOB SRC "*.cpp" "*.h") +add_executable(deploy_tool ${SRC} ${_RC}) target_link_libraries(deploy_tool pip) if (DEFINED LIB) install(TARGETS deploy_tool DESTINATION ${CMAKE_INSTALL_PREFIX}/bin) diff --git a/utils/resources_compiler/CMakeLists.txt b/utils/resources_compiler/CMakeLists.txt index 0927c4f3..5be7005d 100644 --- a/utils/resources_compiler/CMakeLists.txt +++ b/utils/resources_compiler/CMakeLists.txt @@ -1,7 +1,13 @@ message(STATUS "Building pip_rc") -file(GLOB CPPS "*.cpp") -file(GLOB HDRS "*.h") -add_executable(pip_rc ${CPPS} ${HDRS}) +import_version(pip_rc pip) +set_deploy_property(pip_rc + LABEL "PIP resources compiler" + FULLNAME "${_PIP_DOMAIN}.pip_rc" + COMPANY "${_PIP_COMPANY}" + INFO "Platform-Independent Primitives") +make_rc(pip_rc _RC) +file(GLOB SRC "*.cpp" "*.h") +add_executable(pip_rc ${SRC} ${_RC}) set (PIRC_LIBS pip) target_link_libraries(pip_rc ${PIRC_LIBS}) # apple_rpath_patch(pip_rc)