Add forgotten tests/CMakeLists.txt
authorJerry Jacobs <jerry.jacobs@xor-gate.org>
Fri, 20 May 2016 22:28:14 +0000 (00:28 +0200)
committerJerry Jacobs <jerry.jacobs@xor-gate.org>
Fri, 20 May 2016 22:28:14 +0000 (00:28 +0200)
src/go/main [deleted file]
tests/CMakeLists.txt [new file with mode: 0644]

diff --git a/src/go/main b/src/go/main
deleted file mode 100755 (executable)
index 25baad2..0000000
Binary files a/src/go/main and /dev/null differ
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
new file mode 100644 (file)
index 0000000..6f20fa9
--- /dev/null
@@ -0,0 +1,9 @@
+set(TESTS
+       usb
+)
+
+foreach(test ${TESTS})
+       add_executable(${test} ${test}.c)
+       add_dependencies(${test} ${PROJECT_NAME})
+       target_link_libraries(${test} ${PROJECT_NAME})
+endforeach()