mirror of https://github.com/JAJames/jessilib.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
401 B
14 lines
401 B
6 years ago
|
# GCC-specific compiler settings
|
||
|
|
||
|
# Enable all/extra warnings
|
||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra")
|
||
|
|
||
|
# Treat all warnings as errors
|
||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
|
||
|
|
||
|
# Enable address sanitizer on debug
|
||
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fno-omit-frame-pointer -fsanitize=address")
|
||
|
|
||
|
# Enable std::filesystem
|
||
|
set(JESSILIB_ADDITOINAL_LIBS "stdc++fs")
|