1cmake_minimum_required (VERSION 2.8.12) 2project(CTestTestCrash) 3include(CTest) 4 5add_executable (Crash crash.cxx) 6 7add_test (TestCrash Crash) 8