FILE(GLOB_RECURSE TESTS_SOURCES *.cpp)
FILE(GLOB_RECURSE TESTS_HEADERS *.h)

INCLUDE_DIRECTORIES("..")

ADD_EXECUTABLE(anki_tests ${TESTS_SOURCES} ${TESTS_HEADERS})
TARGET_LINK_LIBRARIES(anki_tests anki)

INSTALL(TARGETS anki_tests DESTINATION "${CMAKE_INSTALL_PREFIX}/tests")
