cmake/Tests/CTestTestBadExe/CMakeLists.txt

8 lines
255 B
CMake
Raw Normal View History

2010-03-17 14:00:29 +02:00
cmake_minimum_required (VERSION 2.6)
2013-03-16 19:13:01 +02:00
project(CTestTestBadExe)
include(CTest)
2010-03-17 14:00:29 +02:00
2013-03-16 19:13:01 +02:00
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/notAnExe.txt" "${CMAKE_CURRENT_BINARY_DIR}/notAnExe.txt" COPYONLY)
2010-03-17 14:00:29 +02:00
2013-03-16 19:13:01 +02:00
add_test (TestBadExe "${CMAKE_CURRENT_BINARY_DIR}/notAnExe.txt")