mirror of https://github.com/BOINC/boinc.git
10 lines
305 B
CMake
10 lines
305 B
CMake
file(GLOB SRCS *.cpp)
|
|
|
|
add_executable(test_sched ${SRCS})
|
|
|
|
TARGET_COMPILE_OPTIONS(test_sched PUBLIC ${MYSQL_CFLAGS})
|
|
|
|
TARGET_LINK_LIBRARIES(test_sched "${GTEST_LIB}" "${SCHED_LIB}" "${BOINC_CRYPT_LIB}" "${BOINC_LIB}" ${MYSQL_LIB} "${GTEST_MAIN_LIB}" pthread)
|
|
|
|
add_test(NAME test_sched COMMAND test_sched)
|