LegacyGhostCellsGenerator-targets.cmake
Go to the documentation of this file.
1 # Generated by CMake
2 
3 if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
4  message(FATAL_ERROR "CMake >= 2.8.0 required")
5 endif()
6 if(CMAKE_VERSION VERSION_LESS "2.8.12")
7  message(FATAL_ERROR "CMake >= 2.8.12 required")
8 endif()
9 cmake_policy(PUSH)
10 cmake_policy(VERSION 2.8.12...3.27)
11 #----------------------------------------------------------------
12 # Generated CMake target import file.
13 #----------------------------------------------------------------
14 
15 # Commands may need to know the format version.
16 set(CMAKE_IMPORT_FILE_VERSION 1)
17 
18 # Protect against multiple inclusion, which would fail when already imported targets are added once more.
19 set(_cmake_targets_defined "")
20 set(_cmake_targets_not_defined "")
21 set(_cmake_expected_targets "")
22 foreach(_cmake_expected_target IN ITEMS LegacyGhostCellsGeneratorFilters LegacyGhostCellsGeneratorParallel)
23  list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
24  if(TARGET "${_cmake_expected_target}")
25  list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
26  else()
27  list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
28  endif()
29 endforeach()
30 unset(_cmake_expected_target)
31 if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
32  unset(_cmake_targets_defined)
33  unset(_cmake_targets_not_defined)
34  unset(_cmake_expected_targets)
35  unset(CMAKE_IMPORT_FILE_VERSION)
36  cmake_policy(POP)
37  return()
38 endif()
39 if(NOT _cmake_targets_defined STREQUAL "")
40  string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
41  string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
42  message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
43 endif()
44 unset(_cmake_targets_defined)
45 unset(_cmake_targets_not_defined)
46 unset(_cmake_expected_targets)
47 
48 
49 # Compute the installation prefix relative to this file.
50 get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
51 get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
52 get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
53 get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
54 if(_IMPORT_PREFIX STREQUAL "/")
55  set(_IMPORT_PREFIX "")
56 endif()
57 
58 # Create imported target LegacyGhostCellsGeneratorFilters
59 add_library(LegacyGhostCellsGeneratorFilters SHARED IMPORTED)
60 
61 set_target_properties(LegacyGhostCellsGeneratorFilters PROPERTIES
62  INTERFACE_LINK_LIBRARIES "VTK::CommonExecutionModel"
63 )
64 
65 if(NOT CMAKE_VERSION VERSION_LESS "3.23.0")
66  target_sources(LegacyGhostCellsGeneratorFilters
67  INTERFACE
68  FILE_SET "vtk_module_templates"
69  TYPE "HEADERS"
70  BASE_DIRS "${_IMPORT_PREFIX}/include/paraview-6.0/ParaView_paraview_plugins"
71  FILES
72  INTERFACE
73  FILE_SET "vtk_module_headers"
74  TYPE "HEADERS"
75  BASE_DIRS "${_IMPORT_PREFIX}/include/paraview-6.0/ParaView_paraview_plugins"
76  FILES "${_IMPORT_PREFIX}/include/paraview-6.0/ParaView_paraview_plugins/vtkUnstructuredGridGhostCellsGenerator.h"
77  INTERFACE
78  FILE_SET "vtk_module_nowrap_headers"
79  TYPE "HEADERS"
80  BASE_DIRS "${_IMPORT_PREFIX}/include/paraview-6.0/ParaView_paraview_plugins"
81  FILES "${_IMPORT_PREFIX}/include/paraview-6.0/ParaView_paraview_plugins/LegacyGhostCellsGeneratorFiltersModule.h"
82  )
83 else()
84  set_property(TARGET LegacyGhostCellsGeneratorFilters
85  APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
86  "${_IMPORT_PREFIX}/include/paraview-6.0/ParaView_paraview_plugins"
87  "${_IMPORT_PREFIX}/include/paraview-6.0/ParaView_paraview_plugins"
88  "${_IMPORT_PREFIX}/include/paraview-6.0/ParaView_paraview_plugins"
89  )
90 endif()
91 
92 # Create imported target LegacyGhostCellsGeneratorParallel
93 add_library(LegacyGhostCellsGeneratorParallel SHARED IMPORTED)
94 
95 set_target_properties(LegacyGhostCellsGeneratorParallel PROPERTIES
96  INTERFACE_LINK_LIBRARIES "LegacyGhostCellsGeneratorFilters;VTK::CommonExecutionModel;VTK::CommonSystem;VTK::FiltersCore;VTK::FiltersGeneral;VTK::FiltersGeometry;VTK::ParallelMPI"
97 )
98 
99 if(NOT CMAKE_VERSION VERSION_LESS "3.23.0")
100  target_sources(LegacyGhostCellsGeneratorParallel
101  INTERFACE
102  FILE_SET "vtk_module_templates"
103  TYPE "HEADERS"
104  BASE_DIRS "${_IMPORT_PREFIX}/include/paraview-6.0/ParaView_paraview_plugins"
105  FILES
106  INTERFACE
107  FILE_SET "vtk_module_headers"
108  TYPE "HEADERS"
109  BASE_DIRS "${_IMPORT_PREFIX}/include/paraview-6.0/ParaView_paraview_plugins"
110  FILES "${_IMPORT_PREFIX}/include/paraview-6.0/ParaView_paraview_plugins/vtkPUnstructuredGridGhostCellsGenerator.h"
111  INTERFACE
112  FILE_SET "vtk_module_nowrap_headers"
113  TYPE "HEADERS"
114  BASE_DIRS "${_IMPORT_PREFIX}/include/paraview-6.0/ParaView_paraview_plugins"
115  FILES "${_IMPORT_PREFIX}/include/paraview-6.0/ParaView_paraview_plugins/LegacyGhostCellsGeneratorParallelModule.h"
116  )
117 else()
118  set_property(TARGET LegacyGhostCellsGeneratorParallel
119  APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
120  "${_IMPORT_PREFIX}/include/paraview-6.0/ParaView_paraview_plugins"
121  "${_IMPORT_PREFIX}/include/paraview-6.0/ParaView_paraview_plugins"
122  "${_IMPORT_PREFIX}/include/paraview-6.0/ParaView_paraview_plugins"
123  )
124 endif()
125 
126 # Load information for each installed configuration.
127 file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/LegacyGhostCellsGenerator-targets-*.cmake")
128 foreach(_cmake_config_file IN LISTS _cmake_config_files)
129  include("${_cmake_config_file}")
130 endforeach()
131 unset(_cmake_config_file)
132 unset(_cmake_config_files)
133 
134 # Cleanup temporary variables.
135 set(_IMPORT_PREFIX)
136 
137 # Loop over all imported files and verify that they actually exist
138 foreach(_cmake_target IN LISTS _cmake_import_check_targets)
139  if(CMAKE_VERSION VERSION_LESS "3.28"
140  OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target}
141  OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}")
142  foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
143  if(NOT EXISTS "${_cmake_file}")
144  message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
145  \"${_cmake_file}\"
146 but this file does not exist. Possible reasons include:
147 * The file was deleted, renamed, or moved to another location.
148 * An install or uninstall procedure did not complete successfully.
149 * The installation package was faulty and contained
150  \"${CMAKE_CURRENT_LIST_FILE}\"
151 but not all the files it references.
152 ")
153  endif()
154  endforeach()
155  endif()
156  unset(_cmake_file)
157  unset("_cmake_import_check_files_for_${_cmake_target}")
158 endforeach()
159 unset(_cmake_target)
160 unset(_cmake_import_check_targets)
161 
162 # Make sure the targets which have been exported in some other
163 # export set exist.
164 unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
165 foreach(_target "VTK::CommonExecutionModel" "VTK::CommonSystem" "VTK::FiltersCore" "VTK::FiltersGeneral" "VTK::FiltersGeometry" "VTK::ParallelMPI" )
166  if(NOT TARGET "${_target}" )
167  set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets "${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets} ${_target}")
168  endif()
169 endforeach()
170 
171 if(DEFINED ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
172  if(CMAKE_FIND_PACKAGE_NAME)
173  set( ${CMAKE_FIND_PACKAGE_NAME}_FOUND FALSE)
174  set( ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}")
175  else()
176  message(FATAL_ERROR "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}")
177  endif()
178 endif()
179 unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
180 
181 # Commands beyond this point should not need to know the version.
182 set(CMAKE_IMPORT_FILE_VERSION)
183 cmake_policy(POP)
boost::graph_traits< vtkGraph *>::vertex_descriptor target(boost::graph_traits< vtkGraph *>::edge_descriptor e, vtkGraph *)
#define VERSION
Definition: jconfigint.h:17