24 lines
616 B
CMake
24 lines
616 B
CMake
cmake_minimum_required(VERSION 3.30)
|
|
project(cpepetest1)
|
|
|
|
set(CMAKE_CXX_STANDARD 23)
|
|
|
|
include(FetchContent)
|
|
FetchContent_Declare(
|
|
execution26
|
|
# for local development, use SOURCE_DIR <path-to>/execution26
|
|
GIT_REPOSITORY https://github.com/bemanproject/execution26
|
|
GIT_TAG c32b4fc
|
|
)
|
|
FetchContent_Declare(
|
|
net29
|
|
# for local development, use SOURCE_DIR <path-to>/net29
|
|
GIT_REPOSITORY https://github.com/bemanproject/net29
|
|
GIT_TAG 543372f
|
|
)
|
|
FetchContent_MakeAvailable(execution26 net29)
|
|
|
|
add_executable(cpepetest1 main.cpp)
|
|
|
|
target_link_libraries(cpepetest1 beman_execution26 beman_net29)
|