Jessica James
5 years ago
5 changed files with 18 additions and 1 deletions
@ -0,0 +1,6 @@ |
|||
# Include any compiler-specifc settings |
|||
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/build/${CMAKE_CXX_COMPILER_ID}") |
|||
include("${CMAKE_CURRENT_SOURCE_DIR}/build/${CMAKE_CXX_COMPILER_ID}/CMakeLists.txt") |
|||
else() |
|||
message(STATUS "No compiler-specific settings set; CMAKE_CXX_COMPILER_ID: ${CMAKE_CXX_COMPILER_ID}") |
|||
endif() |
@ -0,0 +1,4 @@ |
|||
# GCC-specific compiler settings |
|||
|
|||
# Enable pthreads |
|||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread") |
@ -0,0 +1,4 @@ |
|||
# Setup MSVC-specific macros |
|||
add_definitions( |
|||
-D_CRT_SECURE_NO_WARNINGS |
|||
-D_CRT_NONSTDC_NO_DEPRECATE) |
@ -0,0 +1,4 @@ |
|||
rmdir /S /Q vs17 |
|||
mkdir vs17 |
|||
cd vs17 |
|||
cmake ..\.. -G "Visual Studio 15 2017" |
Loading…
Reference in new issue