• R/O
  • SSH
  • HTTPS

ttssh2: Commit


Commit MetaInfo

Revision8465 (tree)
Time2020-01-10 22:13:45
Authorzmatsuo

Log Message

cmake の USE_UNICODE_API を削除

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

Change Summary

Incremental Difference

--- trunk/TTProxy/CMakeLists.txt (revision 8464)
+++ trunk/TTProxy/CMakeLists.txt (revision 8465)
@@ -1,9 +1,5 @@
11 project(ttproxy)
22
3-if(USE_UNICODE_API)
4- add_definitions(-DUNICODE -D_UNICODE)
5-endif()
6-
73 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/")
84
95 include(${CMAKE_CURRENT_SOURCE_DIR}/../libs/lib_openssl.cmake)
--- trunk/TTXKanjiMenu/CMakeLists.txt (revision 8464)
+++ trunk/TTXKanjiMenu/CMakeLists.txt (revision 8465)
@@ -2,10 +2,6 @@
22
33 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/")
44
5-if(USE_UNICODE_API)
6- add_definitions(-DUNICODE -D_UNICODE)
7-endif()
8-
95 set(SRC
106 resource.h
117 ttxkanjimenu.c
--- trunk/TTXSamples/TTXAlwaysOnTop/CMakeLists.txt (revision 8464)
+++ trunk/TTXSamples/TTXAlwaysOnTop/CMakeLists.txt (revision 8465)
@@ -2,10 +2,6 @@
22
33 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/")
44
5-if(USE_UNICODE_API)
6- add_definitions(-DUNICODE -D_UNICODE)
7-endif()
8-
95 set(SRC
106 TTXAlwaysOnTop.c
117 ReadMe.txt
--- trunk/TTXSamples/TTXRecurringCommand/CMakeLists.txt (revision 8464)
+++ trunk/TTXSamples/TTXRecurringCommand/CMakeLists.txt (revision 8465)
@@ -2,10 +2,6 @@
22
33 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/")
44
5-if(USE_UNICODE_API)
6- add_definitions(-DUNICODE -D_UNICODE)
7-endif()
8-
95 set(COMMON_SRC
106 ../../teraterm/common/dlglib.h
117 ../../teraterm/common/dlglib.c
--- trunk/teraterm/teraterm/CMakeLists.txt (revision 8464)
+++ trunk/teraterm/teraterm/CMakeLists.txt (revision 8465)
@@ -4,9 +4,6 @@
44 include(${CMAKE_CURRENT_SOURCE_DIR}/../../libs/lib_oniguruma.cmake)
55
66 set(ENABLE_DEBUG_INFO 1)
7-if(USE_UNICODE_API)
8- add_definitions(-DUNICODE -D_UNICODE)
9-endif()
107
118 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/")
129
--- trunk/teraterm/ttpcmn/CMakeLists.txt (revision 8464)
+++ trunk/teraterm/ttpcmn/CMakeLists.txt (revision 8465)
@@ -1,9 +1,5 @@
11 project(ttpcmn)
22
3-if(USE_UNICODE_API)
4- add_definitions(-DUNICODE -D_UNICODE)
5-endif()
6-
73 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/")
84
95 set(COMMON_SRC
--- trunk/teraterm/ttpmacro/CMakeLists.txt (revision 8464)
+++ trunk/teraterm/ttpmacro/CMakeLists.txt (revision 8465)
@@ -3,10 +3,6 @@
33 include(${CMAKE_CURRENT_SOURCE_DIR}/../../libs/lib_oniguruma.cmake)
44 include(${CMAKE_CURRENT_SOURCE_DIR}/../../libs/lib_SFMT.cmake)
55
6-if(USE_UNICODE_API)
7- add_definitions(-DUNICODE -D_UNICODE)
8-endif()
9-
106 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/")
117
128 add_executable(
--- trunk/ttssh2/ttxssh/CMakeLists.txt (revision 8464)
+++ trunk/ttssh2/ttxssh/CMakeLists.txt (revision 8465)
@@ -133,16 +133,7 @@
133133 PRIVATE
134134 $<$<CONFIG:Debug>:_CRTDBG_MAP_ALLOC>
135135 )
136-if(USE_UNICODE_API)
137- target_compile_definitions(
138- ttxssh
139- PRIVATE
140- UNICODE
141- _UNICODE
142- )
143-endif()
144136
145-
146137 target_link_libraries(
147138 ttxssh
148139 libputty
--- trunk/version_info.h.in (revision 8464)
+++ trunk/version_info.h.in (revision 8465)
@@ -1,5 +1,4 @@
11
2-#cmakedefine USE_UNICODE_API
32 #cmakedefine SVNVERSION @SVNVERSION@
43
54 // infos when generated
Show on old repository browser