| 1 |
# Generated by CMake |
| 2 |
|
| 3 |
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.5) |
| 4 |
message(FATAL_ERROR "CMake >= 2.6.0 required") |
| 5 |
endif() |
| 6 |
cmake_policy(PUSH) |
| 7 |
cmake_policy(VERSION 2.6) |
| 8 |
#---------------------------------------------------------------- |
| 9 |
# Generated CMake target import file. |
| 10 |
#---------------------------------------------------------------- |
| 11 |
|
| 12 |
# Commands may need to know the format version. |
| 13 |
set(CMAKE_IMPORT_FILE_VERSION 1) |
| 14 |
|
| 15 |
# Protect against multiple inclusion, which would fail when already imported targets are added once more. |
| 16 |
set(_targetsDefined) |
| 17 |
set(_targetsNotDefined) |
| 18 |
set(_expectedTargets) |
| 19 |
foreach(_expectedTarget CppUTest CppUTestExt) |
| 20 |
list(APPEND _expectedTargets ${_expectedTarget}) |
| 21 |
if(NOT TARGET ${_expectedTarget}) |
| 22 |
list(APPEND _targetsNotDefined ${_expectedTarget}) |
| 23 |
endif() |
| 24 |
if(TARGET ${_expectedTarget}) |
| 25 |
list(APPEND _targetsDefined ${_expectedTarget}) |
| 26 |
endif() |
| 27 |
endforeach() |
| 28 |
if("${_targetsDefined}" STREQUAL "${_expectedTargets}") |
| 29 |
unset(_targetsDefined) |
| 30 |
unset(_targetsNotDefined) |
| 31 |
unset(_expectedTargets) |
| 32 |
set(CMAKE_IMPORT_FILE_VERSION) |
| 33 |
cmake_policy(POP) |
| 34 |
return() |
| 35 |
endif() |
| 36 |
if(NOT "${_targetsDefined}" STREQUAL "") |
| 37 |
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n") |
| 38 |
endif() |
| 39 |
unset(_targetsDefined) |
| 40 |
unset(_targetsNotDefined) |
| 41 |
unset(_expectedTargets) |
| 42 |
|
| 43 |
|
| 44 |
# Compute the installation prefix relative to this file. |
| •45 |
set(_IMPORT_PREFIX "/usr") |
| 46 |
get_filename_component(_LIB_PREFIX "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE) |
| 47 |
|
| 48 |
# Create imported target CppUTest |
| 49 |
add_library(CppUTest STATIC IMPORTED) |
| 50 |
|
| 51 |
set_target_properties(CppUTest PROPERTIES |
| 52 |
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include/CppUTest" |
| 53 |
) |
| 54 |
|
| 55 |
# Create imported target CppUTestExt |
| 56 |
add_library(CppUTestExt STATIC IMPORTED) |
| 57 |
|
| 58 |
set_target_properties(CppUTestExt PROPERTIES |
| 59 |
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include/CppUTestExt" |
| 60 |
) |
| 61 |
|
| 62 |
# Load information for each installed configuration. |
| 63 |
get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) |
| 64 |
file(GLOB CONFIG_FILES "${_DIR}/CppUTestTargets-*.cmake") |
| 65 |
foreach(f ${CONFIG_FILES}) |
| 66 |
include(${f}) |
| 67 |
endforeach() |
| 68 |
|
| 69 |
# Cleanup temporary variables. |
| 70 |
set(_IMPORT_PREFIX) |
| •71 |
set(_LIB_PREFIX) |
| 72 |
|
| 73 |
# Loop over all imported files and verify that they actually exist |
| 74 |
foreach(target ${_IMPORT_CHECK_TARGETS} ) |
| 75 |
foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} ) |
| 76 |
if(NOT EXISTS "${file}" ) |
| 77 |
message(FATAL_ERROR "The imported target \"${target}\" references the file |
| 78 |
\"${file}\" |
| 79 |
but this file does not exist. Possible reasons include: |
| 80 |
* The file was deleted, renamed, or moved to another location. |
| 81 |
* An install or uninstall procedure did not complete successfully. |
| 82 |
* The installation package was faulty and contained |
| 83 |
\"${CMAKE_CURRENT_LIST_FILE}\" |
| 84 |
but not all the files it references. |
| 85 |
") |
| 86 |
endif() |
| 87 |
endforeach() |
| 88 |
unset(_IMPORT_CHECK_FILES_FOR_${target}) |
| 89 |
endforeach() |
| 90 |
unset(_IMPORT_CHECK_TARGETS) |
| 91 |
|
| 92 |
# This file does not depend on other imported targets which have |
| 93 |
# been exported from the same project but in a separate export set. |
| 94 |
|
| 95 |
# Commands beyond this point should not need to know the version. |
| 96 |
set(CMAKE_IMPORT_FILE_VERSION) |
| 97 |
cmake_policy(POP) |