bemenu/test/CMakeLists.txt
Jari Vetoniemi 17250cfd3f Add tests.
2014-03-28 22:00:23 +02:00

18 lines
385 B
CMake

SET(TESTS
"bmMenuNew"
)
INCLUDE_DIRECTORIES("${CMAKE_CURRENT_SOURCE_DIR}/../lib")
FOREACH (test ${TESTS})
ADD_EXECUTABLE(${test}_test ${test}.c)
TARGET_LINK_LIBRARIES(${test}_test bemenu)
IF (WIN32)
ADD_TEST(${test}_test ${test}_test.exe)
ELSE ()
ADD_TEST(${test}_test ${test}_test)
ENDIF ()
ENDFOREACH (test)
# vim: set ts=8 sw=4 tw=0 :