17 lines
439 B
CMake
17 lines
439 B
CMake
cmake_minimum_required(VERSION 3.17)
|
|
project(PkmnLibTools)
|
|
|
|
# Enable all warnings, and make them error when occurring.
|
|
add_compile_options(-Wall -Wextra -Werror)
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
|
|
set(STATICC TRUE)
|
|
include(CmakeConanSetup.cmake)
|
|
SetupConan()
|
|
|
|
file(GLOB_RECURSE SRC_FILES src/*.cpp src/*.hpp)
|
|
add_executable(PkmnLibTools ${SRC_FILES})
|
|
|
|
SET(_LINKS Arbutils CreatureLib pkmnLib)
|
|
target_link_libraries(PkmnLibTools PUBLIC ${_LINKS})
|