https://github.com/Kitware/CMake
Raw File
Tip revision: 99575c9ac114e6f5d388e1ee7b9a3f788d773c9e authored by Brad King on 23 February 2015, 16:10:12 UTC
CMake 3.2.0-rc2
Tip revision: 99575c9
CMakeLists.txt
cmake_minimum_required (VERSION 2.6)
project(CTestTestBadExe)
include(CTest)

configure_file("${CMAKE_CURRENT_SOURCE_DIR}/notAnExe.txt" "${CMAKE_CURRENT_BINARY_DIR}/notAnExe.txt" COPYONLY)

add_test (TestBadExe "${CMAKE_CURRENT_BINARY_DIR}/notAnExe.txt")
back to top