bemenu/test/CMakeLists.txt

18 lines
385 B
CMake
Raw Normal View History

2014-03-28 20:00:23 +00:00
SET(TESTS
"bmMenuNew"
)
2014-03-18 17:35:10 +00:00
2014-03-28 20:00:23 +00:00
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)
2014-03-18 17:35:10 +00:00
# vim: set ts=8 sw=4 tw=0 :