[Ttssh2-commit] [8465] cmake の USE_UNICODE_API を削除

scmno****@osdn***** scmno****@osdn*****
2020年 1月 10日 (金) 22:13:45 JST


Revision: 8465
          https://osdn.net/projects/ttssh2/scm/svn/commits/8465
Author:   zmatsuo
Date:     2020-01-10 22:13:45 +0900 (Fri, 10 Jan 2020)
Log Message:
-----------
cmake の USE_UNICODE_API を削除

- Unicode版,ANSI版の作り分けを考慮していたが今のところ不要

Modified Paths:
--------------
    trunk/TTProxy/CMakeLists.txt
    trunk/TTXKanjiMenu/CMakeLists.txt
    trunk/TTXSamples/TTXAlwaysOnTop/CMakeLists.txt
    trunk/TTXSamples/TTXRecurringCommand/CMakeLists.txt
    trunk/teraterm/teraterm/CMakeLists.txt
    trunk/teraterm/ttpcmn/CMakeLists.txt
    trunk/teraterm/ttpmacro/CMakeLists.txt
    trunk/ttssh2/ttxssh/CMakeLists.txt
    trunk/version_info.h.in

-------------- next part --------------
Modified: trunk/TTProxy/CMakeLists.txt
===================================================================
--- trunk/TTProxy/CMakeLists.txt	2020-01-10 13:13:34 UTC (rev 8464)
+++ trunk/TTProxy/CMakeLists.txt	2020-01-10 13:13:45 UTC (rev 8465)
@@ -1,9 +1,5 @@
 project(ttproxy)
 
-if(USE_UNICODE_API)
-  add_definitions(-DUNICODE -D_UNICODE)
-endif()
-
 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/")
 
 include(${CMAKE_CURRENT_SOURCE_DIR}/../libs/lib_openssl.cmake)

Modified: trunk/TTXKanjiMenu/CMakeLists.txt
===================================================================
--- trunk/TTXKanjiMenu/CMakeLists.txt	2020-01-10 13:13:34 UTC (rev 8464)
+++ trunk/TTXKanjiMenu/CMakeLists.txt	2020-01-10 13:13:45 UTC (rev 8465)
@@ -2,10 +2,6 @@
 
 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/")
 
-if(USE_UNICODE_API)
-  add_definitions(-DUNICODE -D_UNICODE)
-endif()
-
 set(SRC
   resource.h
   ttxkanjimenu.c

Modified: trunk/TTXSamples/TTXAlwaysOnTop/CMakeLists.txt
===================================================================
--- trunk/TTXSamples/TTXAlwaysOnTop/CMakeLists.txt	2020-01-10 13:13:34 UTC (rev 8464)
+++ trunk/TTXSamples/TTXAlwaysOnTop/CMakeLists.txt	2020-01-10 13:13:45 UTC (rev 8465)
@@ -2,10 +2,6 @@
 
 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/")
 
-if(USE_UNICODE_API)
-  add_definitions(-DUNICODE -D_UNICODE)
-endif()
-
 set(SRC
   TTXAlwaysOnTop.c
   ReadMe.txt

Modified: trunk/TTXSamples/TTXRecurringCommand/CMakeLists.txt
===================================================================
--- trunk/TTXSamples/TTXRecurringCommand/CMakeLists.txt	2020-01-10 13:13:34 UTC (rev 8464)
+++ trunk/TTXSamples/TTXRecurringCommand/CMakeLists.txt	2020-01-10 13:13:45 UTC (rev 8465)
@@ -2,10 +2,6 @@
 
 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/")
 
-if(USE_UNICODE_API)
-  add_definitions(-DUNICODE -D_UNICODE)
-endif()
-
 set(COMMON_SRC
   ../../teraterm/common/dlglib.h
   ../../teraterm/common/dlglib.c

Modified: trunk/teraterm/teraterm/CMakeLists.txt
===================================================================
--- trunk/teraterm/teraterm/CMakeLists.txt	2020-01-10 13:13:34 UTC (rev 8464)
+++ trunk/teraterm/teraterm/CMakeLists.txt	2020-01-10 13:13:45 UTC (rev 8465)
@@ -4,9 +4,6 @@
 include(${CMAKE_CURRENT_SOURCE_DIR}/../../libs/lib_oniguruma.cmake)
 
 set(ENABLE_DEBUG_INFO 1)
-if(USE_UNICODE_API)
-  add_definitions(-DUNICODE -D_UNICODE)
-endif()
 
 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/")
 

Modified: trunk/teraterm/ttpcmn/CMakeLists.txt
===================================================================
--- trunk/teraterm/ttpcmn/CMakeLists.txt	2020-01-10 13:13:34 UTC (rev 8464)
+++ trunk/teraterm/ttpcmn/CMakeLists.txt	2020-01-10 13:13:45 UTC (rev 8465)
@@ -1,9 +1,5 @@
 project(ttpcmn)
 
-if(USE_UNICODE_API)
-  add_definitions(-DUNICODE -D_UNICODE)
-endif()
-
 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/")
 
 set(COMMON_SRC

Modified: trunk/teraterm/ttpmacro/CMakeLists.txt
===================================================================
--- trunk/teraterm/ttpmacro/CMakeLists.txt	2020-01-10 13:13:34 UTC (rev 8464)
+++ trunk/teraterm/ttpmacro/CMakeLists.txt	2020-01-10 13:13:45 UTC (rev 8465)
@@ -3,10 +3,6 @@
 include(${CMAKE_CURRENT_SOURCE_DIR}/../../libs/lib_oniguruma.cmake)
 include(${CMAKE_CURRENT_SOURCE_DIR}/../../libs/lib_SFMT.cmake)
 
-if(USE_UNICODE_API)
-  add_definitions(-DUNICODE -D_UNICODE)
-endif()
-
 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/")
 
 add_executable(

Modified: trunk/ttssh2/ttxssh/CMakeLists.txt
===================================================================
--- trunk/ttssh2/ttxssh/CMakeLists.txt	2020-01-10 13:13:34 UTC (rev 8464)
+++ trunk/ttssh2/ttxssh/CMakeLists.txt	2020-01-10 13:13:45 UTC (rev 8465)
@@ -133,16 +133,7 @@
   PRIVATE
   $<$<CONFIG:Debug>:_CRTDBG_MAP_ALLOC>
   )
-if(USE_UNICODE_API)
-  target_compile_definitions(
-    ttxssh
-    PRIVATE
-    UNICODE
-    _UNICODE
-    )
-endif()
 
-
 target_link_libraries(
   ttxssh
   libputty

Modified: trunk/version_info.h.in
===================================================================
--- trunk/version_info.h.in	2020-01-10 13:13:34 UTC (rev 8464)
+++ trunk/version_info.h.in	2020-01-10 13:13:45 UTC (rev 8465)
@@ -1,5 +1,4 @@
 
-#cmakedefine USE_UNICODE_API
 #cmakedefine SVNVERSION @SVNVERSION@
 
 // infos when generated


Ttssh2-commit メーリングリストの案内