Revision: 8024 https://osdn.net/projects/ttssh2/scm/svn/commits/8024 Author: zmatsuo Date: 2019-08-27 23:39:39 +0900 (Tue, 27 Aug 2019) Log Message: ----------- cmakeを使ったスナップショット生成で teraterm.ini の生成時、依存ファイルのチェックを行うようにした Modified Paths: -------------- branches/unicode_buf/installer/CMakeLists.txt -------------- next part -------------- Modified: branches/unicode_buf/installer/CMakeLists.txt =================================================================== --- branches/unicode_buf/installer/CMakeLists.txt 2019-08-27 14:39:26 UTC (rev 8023) +++ branches/unicode_buf/installer/CMakeLists.txt 2019-08-27 14:39:39 UTC (rev 8024) @@ -28,10 +28,16 @@ endif() add_custom_target( - inifile ALL - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/TERATERM.INI + teraterm_ini ALL + DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/TERATERM.INI + SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/release/TERATERM.INI + SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/setini.pl + COMMENT Generate "${CMAKE_CURRENT_BINARY_DIR}/TERATERM.INI" + ) + +add_custom_command( + OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/TERATERM.INI COMMAND ${PERL} ${CMAKE_CURRENT_SOURCE_DIR}/setini.pl ${CMAKE_CURRENT_SOURCE_DIR}/release/TERATERM.INI > "${CMAKE_CURRENT_BINARY_DIR}/TERATERM.INI" - COMMENT create "${CMAKE_CURRENT_BINARY_DIR}/TERATERM.INI" ) install( @@ -38,3 +44,4 @@ FILES ${CMAKE_CURRENT_BINARY_DIR}/TERATERM.INI DESTINATION . ) +