18 lines
500 B
CMake
18 lines
500 B
CMake
cmake_minimum_required(VERSION 3.17)
|
|
project(PkmnLibTools)
|
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
set(STATICC TRUE)
|
|
|
|
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})
|
|
target_compile_options(PkmnLibTools PRIVATE -Wall -Wextra -Werror)
|