2020-11-01 17:58:05 +01:00
|
|
|
project(base64-test)
|
|
|
|
|
2020-11-02 22:31:19 +01:00
|
|
|
add_custom_target("execute-${PROJECT_NAME}" "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}" "-r compact" "-s" DEPENDS ${PROJECT_NAME})
|
2020-11-01 17:58:05 +01:00
|
|
|
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/catch-framework")
|
|
|
|
aux_source_directory("src" TEST_SOURCES)
|
|
|
|
|
2020-11-02 22:31:19 +01:00
|
|
|
add_executable(${PROJECT_NAME} EXCLUDE_FROM_ALL ${TEST_SOURCES})
|
2020-11-01 17:58:05 +01:00
|
|
|
target_link_libraries(${PROJECT_NAME} base64-lib)
|
|
|
|
|