mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-16 09:05:50 +00:00
* Make xrpld target optional * Add job to test Conan recipe * [fold] address review comments * [fold] Enable tests in workflows * [fold] Rename with_xrpld option * [fold] Fix grep expression
17 lines
289 B
CMake
17 lines
289 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 REQUIRED)
|
|
|
|
add_executable(example)
|
|
target_sources(example PRIVATE src/example.cpp)
|
|
target_link_libraries(example PRIVATE xrpl::libxrpl)
|