hdf5-targets.cmake 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. # Generated by CMake
  2. if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.5)
  3. message(FATAL_ERROR "CMake >= 2.6.0 required")
  4. endif()
  5. cmake_policy(PUSH)
  6. cmake_policy(VERSION 2.6...3.19)
  7. #----------------------------------------------------------------
  8. # Generated CMake target import file.
  9. #----------------------------------------------------------------
  10. # Commands may need to know the format version.
  11. set(CMAKE_IMPORT_FILE_VERSION 1)
  12. # Protect against multiple inclusion, which would fail when already imported targets are added once more.
  13. set(_targetsDefined)
  14. set(_targetsNotDefined)
  15. set(_expectedTargets)
  16. foreach(_expectedTarget hdf5-static hdf5-shared mirror_server mirror_server_stop hdf5_tools-static hdf5_tools-shared h5diff h5diff-shared h5ls h5ls-shared h5debug h5repart h5mkgrp h5clear h5delete h5debug-shared h5repart-shared h5mkgrp-shared h5clear-shared h5delete-shared h5import h5import-shared h5repack h5repack-shared h5jam h5unjam h5jam-shared h5unjam-shared h5copy h5copy-shared h5stat h5stat-shared h5dump h5dump-shared h5format_convert h5format_convert-shared h5perf_serial hdf5_hl-static hdf5_hl-shared gif2h5 gif2h5-shared h52gif h52gif-shared h5watch h5watch-shared hdf5_cpp-static hdf5_cpp-shared hdf5_hl_cpp-static hdf5_hl_cpp-shared)
  17. list(APPEND _expectedTargets ${_expectedTarget})
  18. if(NOT TARGET ${_expectedTarget})
  19. list(APPEND _targetsNotDefined ${_expectedTarget})
  20. endif()
  21. if(TARGET ${_expectedTarget})
  22. list(APPEND _targetsDefined ${_expectedTarget})
  23. endif()
  24. endforeach()
  25. if("${_targetsDefined}" STREQUAL "${_expectedTargets}")
  26. unset(_targetsDefined)
  27. unset(_targetsNotDefined)
  28. unset(_expectedTargets)
  29. set(CMAKE_IMPORT_FILE_VERSION)
  30. cmake_policy(POP)
  31. return()
  32. endif()
  33. if(NOT "${_targetsDefined}" STREQUAL "")
  34. message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n")
  35. endif()
  36. unset(_targetsDefined)
  37. unset(_targetsNotDefined)
  38. unset(_expectedTargets)
  39. # Compute the installation prefix relative to this file.
  40. get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
  41. get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
  42. if(_IMPORT_PREFIX STREQUAL "/")
  43. set(_IMPORT_PREFIX "")
  44. endif()
  45. # Create imported target hdf5-static
  46. add_library(hdf5-static STATIC IMPORTED)
  47. set_target_properties(hdf5-static PROPERTIES
  48. INTERFACE_COMPILE_DEFINITIONS "_POSIX_C_SOURCE=200809L;_GNU_SOURCE;_FILE_OFFSET_BITS=64;_LARGEFILE64_SOURCE;_LARGEFILE_SOURCE"
  49. INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include"
  50. INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:m>;\$<LINK_ONLY:dl>;\$<LINK_ONLY:\$<\$<BOOL:OFF>:>>;\$<\$<NOT:\$<PLATFORM_ID:Windows>>:dl>;\$<LINK_ONLY:\$<\$<BOOL:OFF>:Threads::Threads>>"
  51. )
  52. # Create imported target hdf5-shared
  53. add_library(hdf5-shared SHARED IMPORTED)
  54. set_target_properties(hdf5-shared PROPERTIES
  55. INTERFACE_COMPILE_DEFINITIONS "H5_BUILT_AS_DYNAMIC_LIB;_POSIX_C_SOURCE=200809L;_GNU_SOURCE;_FILE_OFFSET_BITS=64;_LARGEFILE64_SOURCE;_LARGEFILE_SOURCE"
  56. INTERFACE_INCLUDE_DIRECTORIES "\$<\$<BOOL:OFF>:>;${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include"
  57. INTERFACE_LINK_LIBRARIES "\$<\$<NOT:\$<PLATFORM_ID:Windows>>:dl>"
  58. )
  59. # Create imported target mirror_server
  60. add_executable(mirror_server IMPORTED)
  61. # Create imported target mirror_server_stop
  62. add_executable(mirror_server_stop IMPORTED)
  63. # Create imported target hdf5_tools-static
  64. add_library(hdf5_tools-static STATIC IMPORTED)
  65. set_target_properties(hdf5_tools-static PROPERTIES
  66. INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include"
  67. INTERFACE_LINK_LIBRARIES "hdf5-static;\$<LINK_ONLY:\$<\$<BOOL:OFF>:>>"
  68. )
  69. # Create imported target hdf5_tools-shared
  70. add_library(hdf5_tools-shared SHARED IMPORTED)
  71. set_target_properties(hdf5_tools-shared PROPERTIES
  72. INTERFACE_COMPILE_DEFINITIONS "H5_BUILT_AS_DYNAMIC_LIB"
  73. INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include"
  74. INTERFACE_LINK_LIBRARIES "hdf5-shared"
  75. )
  76. # Create imported target h5diff
  77. add_executable(h5diff IMPORTED)
  78. # Create imported target h5diff-shared
  79. add_executable(h5diff-shared IMPORTED)
  80. # Create imported target h5ls
  81. add_executable(h5ls IMPORTED)
  82. # Create imported target h5ls-shared
  83. add_executable(h5ls-shared IMPORTED)
  84. # Create imported target h5debug
  85. add_executable(h5debug IMPORTED)
  86. # Create imported target h5repart
  87. add_executable(h5repart IMPORTED)
  88. # Create imported target h5mkgrp
  89. add_executable(h5mkgrp IMPORTED)
  90. # Create imported target h5clear
  91. add_executable(h5clear IMPORTED)
  92. # Create imported target h5delete
  93. add_executable(h5delete IMPORTED)
  94. # Create imported target h5debug-shared
  95. add_executable(h5debug-shared IMPORTED)
  96. # Create imported target h5repart-shared
  97. add_executable(h5repart-shared IMPORTED)
  98. # Create imported target h5mkgrp-shared
  99. add_executable(h5mkgrp-shared IMPORTED)
  100. # Create imported target h5clear-shared
  101. add_executable(h5clear-shared IMPORTED)
  102. # Create imported target h5delete-shared
  103. add_executable(h5delete-shared IMPORTED)
  104. # Create imported target h5import
  105. add_executable(h5import IMPORTED)
  106. # Create imported target h5import-shared
  107. add_executable(h5import-shared IMPORTED)
  108. # Create imported target h5repack
  109. add_executable(h5repack IMPORTED)
  110. # Create imported target h5repack-shared
  111. add_executable(h5repack-shared IMPORTED)
  112. # Create imported target h5jam
  113. add_executable(h5jam IMPORTED)
  114. # Create imported target h5unjam
  115. add_executable(h5unjam IMPORTED)
  116. # Create imported target h5jam-shared
  117. add_executable(h5jam-shared IMPORTED)
  118. # Create imported target h5unjam-shared
  119. add_executable(h5unjam-shared IMPORTED)
  120. # Create imported target h5copy
  121. add_executable(h5copy IMPORTED)
  122. # Create imported target h5copy-shared
  123. add_executable(h5copy-shared IMPORTED)
  124. # Create imported target h5stat
  125. add_executable(h5stat IMPORTED)
  126. # Create imported target h5stat-shared
  127. add_executable(h5stat-shared IMPORTED)
  128. # Create imported target h5dump
  129. add_executable(h5dump IMPORTED)
  130. # Create imported target h5dump-shared
  131. add_executable(h5dump-shared IMPORTED)
  132. # Create imported target h5format_convert
  133. add_executable(h5format_convert IMPORTED)
  134. # Create imported target h5format_convert-shared
  135. add_executable(h5format_convert-shared IMPORTED)
  136. # Create imported target h5perf_serial
  137. add_executable(h5perf_serial IMPORTED)
  138. # Create imported target hdf5_hl-static
  139. add_library(hdf5_hl-static STATIC IMPORTED)
  140. set_target_properties(hdf5_hl-static PROPERTIES
  141. INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include"
  142. INTERFACE_LINK_LIBRARIES "hdf5-static"
  143. )
  144. # Create imported target hdf5_hl-shared
  145. add_library(hdf5_hl-shared SHARED IMPORTED)
  146. set_target_properties(hdf5_hl-shared PROPERTIES
  147. INTERFACE_COMPILE_DEFINITIONS "H5_BUILT_AS_DYNAMIC_LIB"
  148. INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include"
  149. INTERFACE_LINK_LIBRARIES "hdf5-shared"
  150. )
  151. # Create imported target gif2h5
  152. add_executable(gif2h5 IMPORTED)
  153. # Create imported target gif2h5-shared
  154. add_executable(gif2h5-shared IMPORTED)
  155. # Create imported target h52gif
  156. add_executable(h52gif IMPORTED)
  157. # Create imported target h52gif-shared
  158. add_executable(h52gif-shared IMPORTED)
  159. # Create imported target h5watch
  160. add_executable(h5watch IMPORTED)
  161. # Create imported target h5watch-shared
  162. add_executable(h5watch-shared IMPORTED)
  163. # Create imported target hdf5_cpp-static
  164. add_library(hdf5_cpp-static STATIC IMPORTED)
  165. set_target_properties(hdf5_cpp-static PROPERTIES
  166. INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include"
  167. INTERFACE_LINK_LIBRARIES "hdf5-static"
  168. )
  169. # Create imported target hdf5_cpp-shared
  170. add_library(hdf5_cpp-shared SHARED IMPORTED)
  171. set_target_properties(hdf5_cpp-shared PROPERTIES
  172. INTERFACE_COMPILE_DEFINITIONS "H5_BUILT_AS_DYNAMIC_LIB"
  173. INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include"
  174. INTERFACE_LINK_LIBRARIES "hdf5-shared"
  175. )
  176. # Create imported target hdf5_hl_cpp-static
  177. add_library(hdf5_hl_cpp-static STATIC IMPORTED)
  178. set_target_properties(hdf5_hl_cpp-static PROPERTIES
  179. INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include"
  180. INTERFACE_LINK_LIBRARIES "hdf5_hl-static;hdf5-static"
  181. )
  182. # Create imported target hdf5_hl_cpp-shared
  183. add_library(hdf5_hl_cpp-shared SHARED IMPORTED)
  184. set_target_properties(hdf5_hl_cpp-shared PROPERTIES
  185. INTERFACE_COMPILE_DEFINITIONS "H5_BUILT_AS_DYNAMIC_LIB"
  186. INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include"
  187. INTERFACE_LINK_LIBRARIES "hdf5_hl-shared;hdf5-shared"
  188. )
  189. if(CMAKE_VERSION VERSION_LESS 2.8.12)
  190. message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
  191. endif()
  192. # Load information for each installed configuration.
  193. get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
  194. file(GLOB CONFIG_FILES "${_DIR}/hdf5-targets-*.cmake")
  195. foreach(f ${CONFIG_FILES})
  196. include(${f})
  197. endforeach()
  198. # Cleanup temporary variables.
  199. set(_IMPORT_PREFIX)
  200. # Loop over all imported files and verify that they actually exist
  201. foreach(target ${_IMPORT_CHECK_TARGETS} )
  202. foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} )
  203. if(NOT EXISTS "${file}" )
  204. message(FATAL_ERROR "The imported target \"${target}\" references the file
  205. \"${file}\"
  206. but this file does not exist. Possible reasons include:
  207. * The file was deleted, renamed, or moved to another location.
  208. * An install or uninstall procedure did not complete successfully.
  209. * The installation package was faulty and contained
  210. \"${CMAKE_CURRENT_LIST_FILE}\"
  211. but not all the files it references.
  212. ")
  213. endif()
  214. endforeach()
  215. unset(_IMPORT_CHECK_FILES_FOR_${target})
  216. endforeach()
  217. unset(_IMPORT_CHECK_TARGETS)
  218. # This file does not depend on other imported targets which have
  219. # been exported from the same project but in a separate export set.
  220. # Commands beyond this point should not need to know the version.
  221. set(CMAKE_IMPORT_FILE_VERSION)
  222. cmake_policy(POP)