PkmnLibTools/CMakeLists.txt

18 lines
500 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.17)
project(PkmnLibTools)
set(CMAKE_CXX_STANDARD 20)
set(STATICC TRUE)
2021-05-08 10:33:05 +00:00
include(CMakeLists.txt.in)
include_pkmnlib()
file(GLOB_RECURSE SRC_FILES src/*.cpp src/*.hpp)
add_executable(PkmnLibTools ${SRC_FILES})
target_precompile_headers(PkmnLibTools PUBLIC src/Precompiled.hxx)
add_definitions(-DLEVEL_U8)
SET(_LINKS Arbutils CreatureLib pkmnLib)
target_link_libraries(PkmnLibTools PUBLIC ${_LINKS})
2021-05-08 10:33:05 +00:00
target_compile_options(PkmnLibTools PRIVATE -Wall -Wextra -Werror)