[Ttssh2-commit] [7627] cmakeで、Visual Studio 2017以上を使用しているときビルドフォルダにlngファイルをコピーするようにした

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2019年 4月 26日 (金) 01:37:56 JST


Revision: 7627
          https://osdn.net/projects/ttssh2/scm/svn/commits/7627
Author:   zmatsuo
Date:     2019-04-26 01:37:55 +0900 (Fri, 26 Apr 2019)
Log Message:
-----------
cmakeで、Visual Studio 2017以上を使用しているときビルドフォルダにlngファイルをコピーするようにした

Modified Paths:
--------------
    branches/ssh_auth_dialog/teraterm/teraterm/CMakeLists.txt

-------------- next part --------------
Modified: branches/ssh_auth_dialog/teraterm/teraterm/CMakeLists.txt
===================================================================
--- branches/ssh_auth_dialog/teraterm/teraterm/CMakeLists.txt	2019-04-25 16:37:42 UTC (rev 7626)
+++ branches/ssh_auth_dialog/teraterm/teraterm/CMakeLists.txt	2019-04-25 16:37:55 UTC (rev 7627)
@@ -198,7 +198,8 @@
   )
 
 # copy .lng files
-if(${CMAKE_GENERATOR} MATCHES "Visual Studio 15 2017")
+if(${MSVC_VERSION} GREATER_EQUAL 1910)
+  # Visual Studio 2017以上の時
   add_custom_target(
     copy_lang ALL
     DEPENDS


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