2016-03-20 20:28:24 +05:30
|
|
|
set(SRCS
|
2016-11-19 20:46:34 +05:30
|
|
|
glad.cpp
|
2016-03-20 20:28:24 +05:30
|
|
|
tests.cpp
|
2017-01-21 01:00:11 +05:30
|
|
|
common/param_package.cpp
|
2016-10-16 19:49:13 +05:30
|
|
|
core/file_sys/path_parser.cpp
|
2016-03-20 20:28:24 +05:30
|
|
|
)
|
|
|
|
|
|
|
|
set(HEADERS
|
|
|
|
)
|
|
|
|
|
|
|
|
create_directory_groups(${SRCS} ${HEADERS})
|
|
|
|
|
|
|
|
include_directories(../../externals/catch/single_include/)
|
|
|
|
|
|
|
|
add_executable(tests ${SRCS} ${HEADERS})
|
|
|
|
target_link_libraries(tests core video_core audio_core common)
|
2016-12-07 04:01:03 +05:30
|
|
|
target_link_libraries(tests ${PLATFORM_LIBRARIES} Threads::Threads)
|
2016-05-19 23:24:50 +05:30
|
|
|
|
|
|
|
add_test(NAME tests COMMAND $<TARGET_FILE:tests>)
|