13 lines
361 B
CMake
13 lines
361 B
CMake
cmake_minimum_required(VERSION 3.20)
|
|
|
|
project(FESA LANGUAGES CXX)
|
|
|
|
file(GLOB_RECURSE FESA_CORE_SOURCES CONFIGURE_DEPENDS src/fesa/*.cpp)
|
|
|
|
add_library(fesa_core STATIC ${FESA_CORE_SOURCES})
|
|
target_compile_features(fesa_core PUBLIC cxx_std_17)
|
|
target_include_directories(fesa_core PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src)
|
|
|
|
enable_testing()
|
|
add_subdirectory(tests)
|