CMakeLists.txt

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
add_library(felspar-memory
        exceptions.cpp
        hexdump.cpp
    )
target_compile_features(felspar-memory INTERFACE cxx_std_20)
target_include_directories(felspar-memory PUBLIC ../include)
target_link_libraries(felspar-memory PUBLIC felspar-exceptions)

install(TARGETS felspar-memory LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
install(DIRECTORY ../include/felspar DESTINATION include)