| 12 |
option(SUPPORT_OLD_WINDOWS "windows 95 support" ${SUPPORT_OLD_WINDOWS_DEFAULT}) |
option(SUPPORT_OLD_WINDOWS "windows 95 support" ${SUPPORT_OLD_WINDOWS_DEFAULT}) |
| 13 |
option(ENABLE_TTXSAMPLES "TTXSamples" ON) |
option(ENABLE_TTXSAMPLES "TTXSamples" ON) |
| 14 |
option(MORE_WARNING "stronger warning" OFF) |
option(MORE_WARNING "stronger warning" OFF) |
| 15 |
|
option(TTXSSH "ttxssh" ON) |
| 16 |
|
|
| 17 |
set_property(GLOBAL PROPERTY USE_FOLDERS ON) |
set_property(GLOBAL PROPERTY USE_FOLDERS ON) |
| 18 |
|
|
| 24 |
#set(_WIN32_WINNT "0x0501") # Tera Term がビルドできる最小値 |
#set(_WIN32_WINNT "0x0501") # Tera Term がビルドできる最小値 |
| 25 |
if(${CMAKE_GENERATOR} MATCHES "Visual Studio 8 2005" OR ${CMAKE_GENERATOR} MATCHES "Visual Studio 9 2008") |
if(${CMAKE_GENERATOR} MATCHES "Visual Studio 8 2005" OR ${CMAKE_GENERATOR} MATCHES "Visual Studio 9 2008") |
| 26 |
set(_WIN32_WINNT "0x0501") |
set(_WIN32_WINNT "0x0501") |
| 27 |
|
set(TTXSSH OFF) |
| 28 |
endif() |
endif() |
| 29 |
|
|
| 30 |
if(MSVC) |
if(MSVC) |
| 175 |
add_subdirectory(teraterm) |
add_subdirectory(teraterm) |
| 176 |
add_subdirectory(ttpmenu) |
add_subdirectory(ttpmenu) |
| 177 |
add_subdirectory(TTProxy) |
add_subdirectory(TTProxy) |
| 178 |
add_subdirectory(ttssh2) |
if(TTXSSH) |
| 179 |
|
add_subdirectory(ttssh2) |
| 180 |
|
endif(TTXSSH) |
| 181 |
add_subdirectory(TTXKanjiMenu) |
add_subdirectory(TTXKanjiMenu) |
| 182 |
if(${ENABLE_TTXSAMPLES}) |
if(${ENABLE_TTXSAMPLES}) |
| 183 |
add_subdirectory(TTXSamples) |
add_subdirectory(TTXSamples) |