16 lines
427 B
CMake
16 lines
427 B
CMake
cmake_minimum_required(VERSION 3.28)
|
|
project(dppbots)
|
|
set(example_name "01_07_cache")
|
|
message("Setting up ${example_name}")
|
|
add_executable(${example_name} "${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp")
|
|
target_include_directories(${example_name} PUBLIC
|
|
"${dpp_SOURCE_DIR}/include"
|
|
"${dotenv-cpp_SOURCE_DIR}/include/laserpants"
|
|
|
|
)
|
|
target_link_libraries(${example_name}
|
|
dpp
|
|
dotenv
|
|
)
|
|
SET_OUTPUT_NAMES(${example_name})
|