Initial conversion to CMake

This commit is contained in:
Nils O. Selåsdal
2016-10-02 21:39:02 +02:00
parent 260d2c67c2
commit 55846a0e42
5 changed files with 69 additions and 4 deletions
+8
View File
@@ -0,0 +1,8 @@
file(GLOB TEST_SOURCE_FILES test_*.c)
add_executable(test_runner ${TEST_SOURCE_FILES})
target_link_libraries(test_runner check ucore rt)
add_custom_target(runtest COMMAND test_runner
DEPENDS test_runner
WORKING_DIRECTORY ${CMAKE_PROJECT_DIR})