Used LF as line ending; added line break for echo output

winline
This commit is contained in:
Jan Haller 2015-04-28 21:54:03 +02:00 committed by Lukas Dürrenberger
parent a85dc6dabb
commit 5b08f8133f

View File

@ -1,21 +1,21 @@
set(SRCROOT "${PROJECT_SOURCE_DIR}/test/src") set(SRCROOT "${PROJECT_SOURCE_DIR}/test/src")
SET(SRC SET(SRC
"${SRCROOT}/Main.cpp" "${SRCROOT}/Main.cpp"
"${SRCROOT}/Vector2.cpp" "${SRCROOT}/Vector2.cpp"
) )
include_directories("${PROJECT_SOURCE_DIR}/include") include_directories("${PROJECT_SOURCE_DIR}/include")
include_directories("${PROJECT_SOURCE_DIR}/extlibs/headers") include_directories("${PROJECT_SOURCE_DIR}/extlibs/headers")
# Using sfmltest instead of test because the latter is reserved. # Using sfmltest instead of test because the latter is reserved.
add_executable(sfmltest ${SRC}) add_executable(sfmltest ${SRC})
target_link_libraries(sfmltest sfml-graphics sfml-window sfml-audio sfml-network sfml-system) target_link_libraries(sfmltest sfml-graphics sfml-window sfml-audio sfml-network sfml-system)
add_custom_target(runtests ALL add_custom_target(runtests ALL
DEPENDS sfmltest DEPENDS sfmltest
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/test" WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/test"
COMMAND ${CMAKE_COMMAND} -E echo_append "Running test suite..." COMMAND ${CMAKE_COMMAND} -E echo "Running test suite..."
COMMAND sfmltest COMMAND sfmltest
) )