mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
17 lines
296 B
CMake
17 lines
296 B
CMake
cmake_minimum_required(VERSION 3.21)
|
|
|
|
set(name example)
|
|
set(version 0.1.0)
|
|
|
|
project(
|
|
${name}
|
|
VERSION ${version}
|
|
LANGUAGES CXX
|
|
)
|
|
|
|
find_package(xrpl CONFIG REQUIRED)
|
|
|
|
add_executable(example)
|
|
target_sources(example PRIVATE src/example.cpp)
|
|
target_link_libraries(example PRIVATE xrpl::libxrpl)
|