[ttssh2-commit] [9455] inno Setup を bat ファイル経由で呼び出すようにした

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2021年 9月 25日 (土) 01:47:22 JST


Revision: 9455
          https://osdn.net/projects/ttssh2/scm/svn/commits/9455
Author:   zmatsuo
Date:     2021-09-25 01:47:21 +0900 (Sat, 25 Sep 2021)
Log Message:
-----------
inno Setup を bat ファイル経由で呼び出すようにした

- msys2 cmake (make) を使っていると iscc.exe がうまく呼び出せなかったため

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

Added Paths:
-----------
    trunk/installer/exec_iscc.bat.in

-------------- next part --------------
Modified: trunk/installer/CMakeLists.txt
===================================================================
--- trunk/installer/CMakeLists.txt	2021-09-24 16:47:12 UTC (rev 9454)
+++ trunk/installer/CMakeLists.txt	2021-09-24 16:47:21 UTC (rev 9455)
@@ -350,10 +350,15 @@
       WORKING_DIRECTORY ${CMAKE_CURRENT_BUILD_DIR}
       )
   else()
+    configure_file(
+      exec_iscc.bat.in
+      exec_iscc.bat
+      NEWLINE_STYLE CRLF
+      )
     add_custom_target(
       inno_setup
       DEPENDS cygtool
-      COMMAND cmd /c "${ISCC} ${ISCC_OPTION} teraterm_cmake.iss"
+      COMMAND cmd /c exec_iscc.bat
       WORKING_DIRECTORY ${CMAKE_CURRENT_BUILD_DIR}
       )
   endif()

Added: trunk/installer/exec_iscc.bat.in
===================================================================
--- trunk/installer/exec_iscc.bat.in	                        (rev 0)
+++ trunk/installer/exec_iscc.bat.in	2021-09-24 16:47:21 UTC (rev 9455)
@@ -0,0 +1 @@
+ @ ISCC@ @ISCC_OPTION@ teraterm_cmake.iss


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