Browse Source

Missed some files due to .gitignore

pull/12/head
Jessica James 5 years ago
parent
commit
33bee43f5e
  1. 1
      .gitignore
  2. 6
      build/CMakeLists.txt
  3. 4
      build/GNU/CMakeLists.txt
  4. 4
      build/MSVC/CMakeLists.txt
  5. 4
      build/cmake_vs17.bat

1
.gitignore

@ -16,7 +16,6 @@ build/vs17/
[Dd]ebug/ [Dd]ebug/
[Rr]elease/ [Rr]elease/
x64/ x64/
build/
[Bb]in/ [Bb]in/
[Oo]bj/ [Oo]bj/

6
build/CMakeLists.txt

@ -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()

4
build/GNU/CMakeLists.txt

@ -0,0 +1,4 @@
# GCC-specific compiler settings
# Enable pthreads
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")

4
build/MSVC/CMakeLists.txt

@ -0,0 +1,4 @@
# Setup MSVC-specific macros
add_definitions(
-D_CRT_SECURE_NO_WARNINGS
-D_CRT_NONSTDC_NO_DEPRECATE)

4
build/cmake_vs17.bat

@ -0,0 +1,4 @@
rmdir /S /Q vs17
mkdir vs17
cd vs17
cmake ..\.. -G "Visual Studio 15 2017"
Loading…
Cancel
Save