summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-20 09:13:40 +0100
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-20 09:13:40 +0100
commit4694d841c02038e19e4a628c3d6611c9651315f1 (patch)
tree8a05bcb03ff0a9fab763098a3f772d8ee40afa84 /CMakeLists.txt
parentSpecial workaround to build WinRel without console (diff)
downloadAltCraft-4694d841c02038e19e4a628c3d6611c9651315f1.tar
AltCraft-4694d841c02038e19e4a628c3d6611c9651315f1.tar.gz
AltCraft-4694d841c02038e19e4a628c3d6611c9651315f1.tar.bz2
AltCraft-4694d841c02038e19e4a628c3d6611c9651315f1.tar.lz
AltCraft-4694d841c02038e19e4a628c3d6611c9651315f1.tar.xz
AltCraft-4694d841c02038e19e4a628c3d6611c9651315f1.tar.zst
AltCraft-4694d841c02038e19e4a628c3d6611c9651315f1.zip
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cc8ba3c..d8a101b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -28,12 +28,11 @@ add_definitions(${LOGGER_DEFINITIONS})
#Set compiler's flags and setup platfrom-dependent libraries
if (CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra -Wno-error=unused-parameter")
- #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0")
- #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3")
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address")
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
+ #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=undefined")
+ #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=thread")
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -p")
- set(PLATFORM_LIBRARIES "pthread" "stdc++fs")
+ set(PLATFORM_LIBRARIES "stdc++fs")
endif ()
if(MSVC AND CMAKE_BUILD_TYPE MATCHES Release)