19 lines
361 B
CMake
19 lines
361 B
CMake
include_directories(../external/catch/single_include .)
|
|
|
|
set(HEADERS
|
|
util/test_file.hpp
|
|
)
|
|
|
|
set(SOURCES
|
|
index_set.cpp
|
|
main.cpp
|
|
parser.cpp
|
|
results.cpp
|
|
util/test_file.cpp
|
|
)
|
|
|
|
add_executable(tests ${SOURCES} ${HEADERS})
|
|
target_link_libraries(tests realm-object-store)
|
|
|
|
add_custom_target(run-tests USES_TERMINAL DEPENDS tests COMMAND ./tests)
|