2015-06-05 22:03:26 +03:00
|
|
|
cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
|
|
|
|
|
2015-07-30 00:32:13 +03:00
|
|
|
project(${RunCMake_TEST} CXX)
|
2016-09-14 00:32:48 +03:00
|
|
|
include(${RunCMake_TEST_FILE_PREFIX}.cmake)
|
2015-06-05 22:03:26 +03:00
|
|
|
|
|
|
|
# include test generator specifics
|
2016-09-14 00:32:48 +03:00
|
|
|
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${GENERATOR_TYPE}/${RunCMake_TEST_FILE_PREFIX}-specifics.cmake")
|
|
|
|
include("${GENERATOR_TYPE}/${RunCMake_TEST_FILE_PREFIX}-specifics.cmake")
|
2015-06-05 22:03:26 +03:00
|
|
|
endif()
|
|
|
|
|
2015-09-22 18:38:31 +03:00
|
|
|
set(CPACK_GENERATOR "${GENERATOR_TYPE}")
|
2015-06-05 22:03:26 +03:00
|
|
|
include(CPack)
|