[ttssh2-commit] [9750] 依存関係が誤っていたので修正

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2022年 2月 17日 (木) 22:14:52 JST


Revision: 9750
          https://osdn.net/projects/ttssh2/scm/svn/commits/9750
Author:   zmatsuo
Date:     2022-02-17 22:14:52 +0900 (Thu, 17 Feb 2022)
Log Message:
-----------
依存関係が誤っていたので修正

- add_custom_command() の OUTPUT に対する依存は DEPENDS に書く
- add_custom_target() の SOURCES のファイルはIDEから簡単に参照ができるように書いておく

Modified Paths:
--------------
    trunk/installer/CMakeLists.txt

-------------- next part --------------
Modified: trunk/installer/CMakeLists.txt
===================================================================
--- trunk/installer/CMakeLists.txt	2022-02-17 13:14:43 UTC (rev 9749)
+++ trunk/installer/CMakeLists.txt	2022-02-17 13:14:52 UTC (rev 9750)
@@ -1,6 +1,6 @@
 
 add_custom_target(
-  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
@@ -14,6 +14,8 @@
 
 add_custom_command(
   OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/TERATERM.INI
+  DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/release/TERATERM.INI
+  DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/setini.pl
   COMMAND ${PERL} ${CMAKE_CURRENT_SOURCE_DIR}/setini.pl ${CMAKE_CURRENT_SOURCE_DIR}/release/TERATERM.INI > "${CMAKE_CURRENT_BINARY_DIR}/TERATERM.INI"
   )
 


ttssh2-commit メーリングリストの案内
Back to archive index