Skip to content

Commit

Permalink
Missed some files due to .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
JAJames committed Aug 11, 2019
1 parent a8750ac commit 33bee43
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -16,7 +16,6 @@ build/vs17/
[Dd]ebug/
[Rr]elease/
x64/
build/
[Bb]in/
[Oo]bj/

Expand Down
6 changes: 6 additions & 0 deletions 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 changes: 4 additions & 0 deletions build/GNU/CMakeLists.txt
@@ -0,0 +1,4 @@
# GCC-specific compiler settings

# Enable pthreads
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
4 changes: 4 additions & 0 deletions 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 changes: 4 additions & 0 deletions build/cmake_vs17.bat
@@ -0,0 +1,4 @@
rmdir /S /Q vs17
mkdir vs17
cd vs17
cmake ..\.. -G "Visual Studio 15 2017"

0 comments on commit 33bee43

Please sign in to comment.