mirror of
https://github.com/reactos/CMake.git
synced 2025-01-02 00:39:17 +00:00
e83e6a1c8c
Add RunCMake.CompilerChange test to cover use of -DCMAKE_C_COMPILER=cc to change the compiler of an existing build tree. Also test for proper failure with -DCMAKE_C_COMPILER="" and no CC in the environment.
7 lines
203 B
CMake
7 lines
203 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
if(NOT RunCMake_TEST)
|
|
set(RunCMake_TEST "$ENV{RunCMake_TEST}") # needed when cache is deleted
|
|
endif()
|
|
project(${RunCMake_TEST} NONE)
|
|
include(${RunCMake_TEST}.cmake)
|