blob: 75a472c8fee891facfcc4c73a10be1741a81e545 (
plain)
1
2
3
4
5
6
7
8
|
add_library(session_formats STATIC session_json.hpp session_json.cpp)
target_link_libraries(session_formats PUBLIC Qt5::Core)
target_include_directories(session_formats INTERFACE ${CMAKE_CURRENT_SOURCE_DIR} PUBLIC "${CMAKE_SOURCE_DIR}/include")
add_executable(session_json test/json.cpp)
target_link_libraries(session_json PRIVATE session_formats Catch2::Catch2)
target_sanitize(session_json)
add_test(NAME session-json_format COMMAND session_json)
|