Added custom target package_tars On makefile systems you can now do: 'make package_tars'

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7604 30fe4595-0a0c-4342-8851-515496e4dcbd
This commit is contained in:
beaglejoe 2021-07-15 01:22:05 +00:00
parent 9527adbe26
commit c776ff24cb
1 changed files with 9 additions and 0 deletions

View File

@ -109,3 +109,12 @@ IF((APPLE) AND ("${CMAKE_INSTALL_PREFIX}" MATCHES "\\.app$"))
#ADD_CUSTOM_TARGET(${_UNINST_TGT_NAME} "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/uninstall.cmake" )
ENDIF()
#==============================================================================
IF(NOT MSVC)
ADD_CUSTOM_TARGET(package_tars)
ADD_CUSTOM_COMMAND(TARGET package_tars
COMMAND "${CMAKE_CURRENT_LIST_DIR}/sources/build.sh" "${VERSION}-r${SVN_REV}"
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
COMMENT "Create tar source archives")
ENDIF(NOT MSVC)