project(userver-samples-json2yaml CXX)
file(GLOB_RECURSE SOURCES *.cpp)
add_executable("${PROJECT_NAME}" ${SOURCES})
target_link_libraries("${PROJECT_NAME}" userver::universal)
#
add_test(NAME "${PROJECT_NAME}-pytest"
COMMAND
"${TESTSUITE_PYTHON_BINARY}" -m pytest
"--test-binary=${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}"
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
)
#