Browse Subversion Repository
Diff of /trunk/CMakeLists.txt
Parent Directory
| Revision Log
| Patch
| 12 |
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) |
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) |
| 13 |
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) |
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) |
| 14 |
|
|
| 15 |
string(TIMESTAMP SNAPSHOT_DIR "snapshot-%Y%m%d_%H%M%S") |
if(NOT DEFINED SNAPSHOT_DIR) |
| 16 |
|
string(TIMESTAMP SNAPSHOT_DIR "snapshot-%Y%m%d_%H%M%S") |
| 17 |
|
endif() |
| 18 |
set(CMAKE_INSTALL_PREFIX "${PROJECT_BINARY_DIR}/${SNAPSHOT_DIR}") |
set(CMAKE_INSTALL_PREFIX "${PROJECT_BINARY_DIR}/${SNAPSHOT_DIR}") |
| 19 |
|
|
| 20 |
# _WIN32_WINNT_WIN10 0x0a00 |
# _WIN32_WINNT_WIN10 0x0a00 |
| 21 |
set(_WIN32_WINNT "0x0a00") |
set(_WIN32_WINNT "0x0a00") |
| 22 |
if(MSVC) |
if(MSVC) |
| 23 |
# 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/ |
| 24 |
if(${CMAKE_GENERATOR} MATCHES "Visual Studio 8 2005") |
if(${CMAKE_GENERATOR} MATCHES "Visual Studio 8 2005" OR ${CMAKE_GENERATOR} MATCHES "Visual Studio 9 2008") |
| 25 |
set(_WIN32_WINNT "0x0501") |
set(_WIN32_WINNT "0x0501") |
| 26 |
endif() |
endif() |
| 27 |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /D_WIN32_WINNT=${_WIN32_WINNT}") |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /D_WIN32_WINNT=${_WIN32_WINNT}") |
|
|
Legend:
| Removed from v.8529 |
|
| changed lines |
| |
Added in v.8570 |
|
|
|