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

This commit is contained in:
2020-03-26 14:40:51 +00:00
parent 63ac3161dd
commit 0be9c0a34b
3 changed files with 26 additions and 7 deletions

View File

@@ -1,5 +1,12 @@
message(STATUS "Building pip_cmg") 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) target_link_libraries(pip_cmg pip)
# apple_rpath_patch(pip_cmg) # apple_rpath_patch(pip_cmg)
if (DEFINED LIB) if (DEFINED LIB)

View File

@@ -1,7 +1,13 @@
message(STATUS "Building deploy_tool") message(STATUS "Building deploy_tool")
file(GLOB CPPS "*.cpp") import_version(deploy_tool pip)
file(GLOB HDRS "*.h") set_deploy_property(deploy_tool
add_executable(deploy_tool ${CPPS} ${HDRS}) 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) target_link_libraries(deploy_tool pip)
if (DEFINED LIB) if (DEFINED LIB)
install(TARGETS deploy_tool DESTINATION ${CMAKE_INSTALL_PREFIX}/bin) install(TARGETS deploy_tool DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)

View File

@@ -1,7 +1,13 @@
message(STATUS "Building pip_rc") message(STATUS "Building pip_rc")
file(GLOB CPPS "*.cpp") import_version(pip_rc pip)
file(GLOB HDRS "*.h") set_deploy_property(pip_rc
add_executable(pip_rc ${CPPS} ${HDRS}) 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) set (PIRC_LIBS pip)
target_link_libraries(pip_rc ${PIRC_LIBS}) target_link_libraries(pip_rc ${PIRC_LIBS})
# apple_rpath_patch(pip_rc) # apple_rpath_patch(pip_rc)