Add concepts for GNU
This commit is contained in:
parent
f1be794ba2
commit
f4915a5b04
|
@ -9,6 +9,10 @@ set(STATICC TRUE)
|
||||||
include(CMakeLists.txt.in)
|
include(CMakeLists.txt.in)
|
||||||
include_pkmnlib()
|
include_pkmnlib()
|
||||||
|
|
||||||
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||||
|
add_compile_options(-fconcepts)
|
||||||
|
endif ()
|
||||||
|
|
||||||
file(GLOB_RECURSE SRC_FILES src/*.cpp src/*.hpp)
|
file(GLOB_RECURSE SRC_FILES src/*.cpp src/*.hpp)
|
||||||
add_executable(PokemonScriptTester ${SRC_FILES})
|
add_executable(PokemonScriptTester ${SRC_FILES})
|
||||||
target_precompile_headers(PokemonScriptTester PUBLIC src/Precompiled.hxx)
|
target_precompile_headers(PokemonScriptTester PUBLIC src/Precompiled.hxx)
|
||||||
|
|
Loading…
Reference in New Issue