15 lines
351 B
CMake
15 lines
351 B
CMake
|
cmake_minimum_required(VERSION 3.22.0)
|
||
|
|
||
|
set(PROJECT_NAME dinkyecs_sandbox)
|
||
|
|
||
|
project(${PROJECT_NAME})
|
||
|
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||
|
|
||
|
file(GLOB PROJECT_SRC *.cpp *.hpp *.h)
|
||
|
|
||
|
find_package(nlohmann_json)
|
||
|
find_package(fmt)
|
||
|
|
||
|
add_executable(${PROJECT_NAME} ${PROJECT_SRC})
|
||
|
target_link_libraries(${PROJECT_NAME} nlohmann_json::nlohmann_json fmt::fmt)
|