CMake/Tests/CTestTestFailure/CMakeLists.txt

9 lines
192 B
CMake

cmake_minimum_required (VERSION 2.6)
PROJECT(CTestTestFailure)
INCLUDE(CTest)
ADD_EXECUTABLE (NoBuild badCode.cxx)
TARGET_LINK_LIBRARIES (NoBuild ${EXTRA_LIBS})
ADD_TEST (TestNoExe NoBuild)