aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2022-07-11 00:50:27 +0200
committerladevieq <ladevie.quentin@gmail.com>2022-07-11 00:50:27 +0200
commit23e6a58d59b7a11cb8bdb7aa61d3c534c02027e7 (patch)
treeaa62fe9d75f4b82a0caee70d3bf14fa1e0b617b2 /CMakeLists.txt
parentd676e9a2fb533494d1558483e8266605b1d5b632 (diff)
Refactor includes & improve compile time
Add platform defined to CMakeLists.txt
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c50d437..d9ddfe5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,6 +13,7 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
add_compile_options(
-msse4.1
-fcolor-diagnostics -fansi-escape-codes # colored output when using ninja
+ -ftime-trace
# https://github.com/cpp-best-practices/cppbestpractices/blob/master/02-Use_the_Tools_Available.md#gcc--clang
-Wall
-Wextra
@@ -21,7 +22,6 @@ add_compile_options(
-Wnon-virtual-dtor
-Wpedantic
-Wunused
- # -ftime-trace
)
endif()