2016-03-20 20:28:24 +05:30
|
|
|
set(SRCS
|
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
|
2017-06-19 04:35:58 +05:30
|
|
|
core/hle/kernel/hle_ipc.cpp
|
|
|
|
glad.cpp
|
|
|
|
tests.cpp
|
2016-03-20 20:28:24 +05:30
|
|
|
)
|
|
|
|
|
|
|
|
set(HEADERS
|
|
|
|
)
|
|
|
|
|
|
|
|
create_directory_groups(${SRCS} ${HEADERS})
|
|
|
|
|
|
|
|
add_executable(tests ${SRCS} ${HEADERS})
|
2017-05-28 06:56:55 +05:30
|
|
|
target_link_libraries(tests PRIVATE common core)
|
|
|
|
target_link_libraries(tests PRIVATE glad) # To support linker work-around
|
2017-05-28 11:16:59 +05:30
|
|
|
target_link_libraries(tests PRIVATE ${PLATFORM_LIBRARIES} catch-single-include Threads::Threads)
|
2016-05-19 23:24:50 +05:30
|
|
|
|
2017-05-28 11:16:59 +05:30
|
|
|
add_test(NAME tests COMMAND tests)
|