2020-09-19 16:08:55 +00:00
|
|
|
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()
|
2020-09-19 16:08:55 +00:00
|
|
|
|
|
|
|
file(GLOB_RECURSE SRC_FILES src/*.cpp src/*.hpp)
|
|
|
|
add_executable(PkmnLibTools ${SRC_FILES})
|
2021-01-16 18:49:06 +00:00
|
|
|
target_precompile_headers(PkmnLibTools PUBLIC src/Precompiled.hxx)
|
|
|
|
add_definitions(-DLEVEL_U8)
|
2020-09-19 16:08:55 +00:00
|
|
|
|
|
|
|
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)
|