Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/CMakeLists.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 10589 by zmatsuo, Sun Feb 12 14:45:06 2023 UTC revision 10592 by zmatsuo, Sun Feb 12 14:45:36 2023 UTC
# Line 3  cmake_minimum_required(VERSION 3.11) Line 3  cmake_minimum_required(VERSION 3.11)
3    
4  project(teraterm_all)  project(teraterm_all)
5    
6    set(SUPPORT_OLD_WINDOWS_DEFAULT OFF)
7    set(BMP_ICO_DEFAULT OFF)
8  if(MSVC AND (MSVC_VERSION LESS_EQUAL 1400))  if(MSVC AND (MSVC_VERSION LESS_EQUAL 1400))
9    # Visual Studio 2005 (1400=VS2005)    # Visual Studio 2005 (1400=VS2005)
10    set(SUPPORT_OLD_WINDOWS_DEFAULT ON)    set(SUPPORT_OLD_WINDOWS_DEFAULT ON)
11  else()    set(BMP_ICO_DEFAULT ON)
   set(SUPPORT_OLD_WINDOWS_DEFAULT OFF)  
12  endif()  endif()
13    
14  option(SUPPORT_OLD_WINDOWS "windows 95 support" ${SUPPORT_OLD_WINDOWS_DEFAULT})  option(SUPPORT_OLD_WINDOWS "windows 95 support" ${SUPPORT_OLD_WINDOWS_DEFAULT})
15    option(BMP_ICO "icon(*.ico) file include only bmp(not png)" ${BMP_ICO_DEFAULT})
16  option(ENABLE_TTXSAMPLES "TTXSamples" ON)  option(ENABLE_TTXSAMPLES "TTXSamples" ON)
17  option(MORE_WARNING "stronger warning" OFF)  option(MORE_WARNING "stronger warning" OFF)
18  option(TTXSSH "ttxssh" ON)  option(TTXSSH "ttxssh" ON)
# Line 49  if(MSVC AND (MSVC_VERSION LESS_EQUAL 150 Line 51  if(MSVC AND (MSVC_VERSION LESS_EQUAL 150
51      set(TTXSSH_OPENSSL3 ON)      set(TTXSSH_OPENSSL3 ON)
52    endif()    endif()
53  endif()  endif()
54    if(${BMP_ICO})
55      set(CMAKE_RC_FLAGS "${CMAKE_RC_FLAGS} /DBMP_ICO")
56    endif()
57    
58  if(MSVC)  if(MSVC)
59    # https://www.leeholmes.com/blog/2017/02/27/differences-between-visual-studio-2012-2013-and-2015/    # https://www.leeholmes.com/blog/2017/02/27/differences-between-visual-studio-2012-2013-and-2015/

Legend:
Removed from v.10589  
changed lines
  Added in v.10592

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26