mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-04 10:45:50 +00:00
* Rename ASSERT to XRPL_ASSERT * Upgrade to Anthithesis SDK 0.4.4, and use new 0.4.4 features * automatic cast to bool, like assert * Add instrumentation workflow to verify build with instrumentation enabled
18 lines
499 B
CMake
18 lines
499 B
CMake
cmake_minimum_required(VERSION 3.25)
|
|
|
|
# Note, version set explicitly by rippled project
|
|
project(antithesis-sdk-cpp VERSION 0.4.4 LANGUAGES CXX)
|
|
|
|
add_library(antithesis-sdk-cpp INTERFACE antithesis_sdk.h)
|
|
|
|
# Note, both sections below created by rippled project
|
|
target_include_directories(antithesis-sdk-cpp INTERFACE
|
|
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
|
)
|
|
|
|
install(
|
|
FILES antithesis_sdk.h
|
|
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
|
|
)
|