Create file structure
This commit is contained in:
9
test/CMakeLists.txt
Normal file
9
test/CMakeLists.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
project(base64-test)
|
||||
|
||||
add_custom_target(test "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}" "-r compact" "-s" DEPENDS ${PROJECT_NAME})
|
||||
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/catch-framework")
|
||||
aux_source_directory("src" TEST_SOURCES)
|
||||
|
||||
add_executable(${PROJECT_NAME} ${TEST_SOURCES})
|
||||
target_link_libraries(${PROJECT_NAME} base64-lib)
|
||||
|
17618
test/catch-framework/catch.hpp
Normal file
17618
test/catch-framework/catch.hpp
Normal file
File diff suppressed because it is too large
Load Diff
2
test/src/test-main.cpp
Normal file
2
test/src/test-main.cpp
Normal file
@@ -0,0 +1,2 @@
|
||||
#define CATCH_CONFIG_MAIN
|
||||
#include <catch.hpp>
|
4
test/src/tests.cpp
Normal file
4
test/src/tests.cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
#include <catch.hpp>
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
|
Reference in New Issue
Block a user