-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
545 lines (493 loc) · 16.2 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
cmake_minimum_required (VERSION 3.10)
project (ftk)
file(READ "version.txt" FTK_VERSION)
include(GNUInstallDirs)
# include (ExternalProject)
option (FTK_BUILD_TESTS "Build tests" OFF)
# option (FTK_BUILD_TESTS_XGC "Build XGC-specific tests" OFF)
option (FTK_BUILD_PARAVIEW "Build ParaView plugins" OFF)
option (FTK_BUILD_PYFTK "Build Python bindings" OFF)
option (FTK_BUILD_XGC_UTILS "Build XGC utilities" OFF)
if (FTK_BUILD_PARAVIEW)
find_package (ParaView REQUIRED)
set (FTK_HAVE_PARAVIEW TRUE)
find_package (Python QUIET) # for testing plugins thru python
endif ()
if (FTK_BUILD_PYFTK)
set (FTK_HAVE_PYBIND11 TRUE)
endif()
set (CMAKE_EXPORT_COMPILE_COMMANDS ON)
set (CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
set (EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
set (LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)
# dependencies
function (ftk_option name description default)
set (FTK_USE_${name} ${default} CACHE STRING "${description}")
set_property (CACHE FTK_USE_${name} PROPERTY STRINGS "TRUE;AUTO;FALSE")
endfunction ()
ftk_option (ADIOS1 "Use ADIOS1" FALSE) # not recommended
ftk_option (ADIOS2 "Use ADIOS2" FALSE)
ftk_option (Boost "Use Boost" FALSE) # not used
ftk_option (CGAL "Use CGAL" FALSE) # experimental
ftk_option (CUDA "Use CUDA" FALSE) # experimental
ftk_option (DECAF "Use Decaf" FALSE) #experimental
ftk_option (GSL "Use GSL (GNU Scientific Library)" FALSE)
ftk_option (GMP "Use GMP (GNU Multiple Precision Arithmetic Library)" FALSE)
ftk_option (HDF5 "Use HDF5" FALSE)
ftk_option (Kokkos "Use Kokkos" FALSE) # experimental
ftk_option (LevelDB "Use LevelDB" FALSE)
ftk_option (METIS "Use METIS" FALSE)
ftk_option (MPFR "Use MPFR" FALSE)
ftk_option (MPI "Use MPI" FALSE)
ftk_option (MPSolve "Use MPSolve" FALSE)
ftk_option (NETCDF "Use NetCDF" FALSE)
ftk_option (OpenMP "Use OpenMP" FALSE)
ftk_option (PNETCDF "Use parallel-netcdf" FALSE)
ftk_option (PNG "Use PNG" FALSE)
ftk_option (Qt5 "Use Qt5" FALSE)
ftk_option (RocksDB "Use RocksDB" FALSE)
ftk_option (HIPSYCL "Use hipSYCL" FALSE) # experimental
ftk_option (SYCL "Use SYCL" FALSE) # experimental
ftk_option (TBB "Use TBB (Intel Thread Building Blocks)" FALSE) # experimental
ftk_option (VTK "Use VTK" FALSE)
#if (FTK_USE_SYCL)
# set (CMAKE_CXX_STANDARD 17)
#else ()
# set (CMAKE_CXX_STANDARD 11)
#endif ()
set (CMAKE_CXX_STANDARD 17)
set (CMAKE_CXX_STANDARD_REQUIRED ON)
find_package (Threads REQUIRED)
if (FTK_USE_CGAL STREQUAL AUTO)
find_package (CGAL QUIET)
elseif (FTK_USE_CGAL)
find_package (CGAL REQUIRED)
endif ()
if (CGAL_FOUND)
set (FTK_USE_BOOST TRUE)
set (FTK_USE_GMP TRUE)
set (FTK_USE_MPFR TRUE)
set (FTK_HAVE_CGAL TRUE)
endif ()
if (FTK_USE_ADIOS1 STREQUAL AUTO)
find_package (ADIOS QUIET)
elseif (FTK_USE_ADIOS1)
find_package (ADIOS REQUIRED)
endif ()
if (ADIOS_FOUND)
set (FTK_HAVE_ADIOS1 ON)
include_directories (${ADIOS_INCLUDE_DIRS})
endif ()
if (FTK_USE_ADIOS2 STREQUAL AUTO)
find_package (ADIOS2 QUIET)
elseif (FTK_USE_ADIOS2)
find_package (ADIOS2 REQUIRED)
endif ()
if (ADIOS2_FOUND)
if (ADIOS2_HAVE_MPI)
set (FTK_USE_MPI ON)
endif ()
set (FTK_HAVE_ADIOS2 ON)
# set (ADIOS2_INCLUDE_DIRS ${ADIOS2_DIR}/include)
include_directories (${ADIOS2_INCLUDE_DIRS})
endif ()
if (FTK_USE_VTK STREQUAL AUTO)
find_package (VTK QUIET)
elseif (FTK_USE_VTK)
find_package (VTK REQUIRED)
endif ()
if (VTK_FOUND)
set (FTK_HAVE_VTK TRUE)
if (VTK_MAJOR_VERSION STRLESS 9) # vtk8.9 does not require VTK_USE_FILE as well
include (${VTK_USE_FILE})
endif ()
endif ()
if (FTK_USE_METIS STREQUAL AUTO)
find_package (METIS QUIET)
elseif (FTK_USE_METIS)
find_package (METIS REQUIRED)
endif ()
if (METIS_FOUND)
include_directories (${METIS_INCLUDES})
set (FTK_HAVE_METIS TRUE)
endif ()
if (FTK_USE_Kokkos STREQUAL AUTO)
find_package (Kokkos QUIET)
elseif (FTK_USE_Kokkos)
find_package (Kokkos REQUIRED)
endif ()
if (Kokkos_FOUND)
set (FTK_HAVE_KOKKOS TRUE)
include_directories (${Kokkos_INCLUDE_DIRS})
endif ()
if (FTK_USE_Qt5 STREQUAL AUTO)
find_package (OpenGL QUIET)
find_package (Qt5Widgets QUIET)
find_package (Qt5OpenGL QUIET)
find_package (GLEW QUIET)
elseif (FTK_USE_Qt5)
find_package (OpenGL REQUIRED)
find_package (Qt5Widgets REQUIRED)
find_package (Qt5OpenGL REQUIRED)
find_package (GLEW REQUIRED)
endif ()
if (Qt5OpenGL_FOUND AND GLEW_FOUND)
set (FTK_HAVE_QT5 TRUE)
set (FTK_HAVE_QT TRUE)
add_definitions("-Wno-deprecated-declarations")
include_directories (
${Qt5Widgets_INCLUDE_DIRS}
${Qt5OpenGL_INCLUDE_DIRS}
${GLEW_INCLUDE_DIR})
endif ()
if (FTK_USE_MPI STREQUAL AUTO)
find_package (MPI QUIET COMPONENTS MPICXX CXX)
elseif (FTK_USE_MPI)
find_package (MPI REQUIRED COMPONENTS MPICXX CXX)
endif ()
if (MPI_FOUND)
set (FTK_HAVE_MPI TRUE)
set (CMAKE_CXX_COMPILER ${MPI_CXX_COMPILER})
include_directories (${MPI_C_INCLUDE_DIRS})
else ()
set (FTK_HAVE_MPI FALSE)
# add_definitions (-DDIY_NO_MPI)
endif ()
if (FTK_USE_HDF5 STREQUAL AUTO)
find_package (HDF5 QUIET)
elseif (FTK_USE_HDF5)
find_package (HDF5 REQUIRED)
endif()
if (HDF5_FOUND)
set (FTK_HAVE_HDF5 TRUE)
include_directories (${HDF5_INCLUDE_DIRS})
endif ()
if (FTK_USE_NETCDF STREQUAL AUTO)
find_package (netCDF QUIET)
elseif (FTK_USE_NETCDF)
find_package (netCDF REQUIRED)
endif ()
if (netCDF_FOUND)
set (FTK_HAVE_NETCDF TRUE)
# include_directories (${NETCDF_INCLUDE_DIR})
# install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/cmake/FindNetCDF.cmake
# DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/FTK/)
endif ()
if (FTK_USE_MPSolve STREQUAL AUTO)
find_package (MPSolve QUIET)
elseif (FTK_USE_MPSolve)
find_package (MPSolve REQUIRED)
endif ()
if (MPSolve_FOUND)
set (FTK_USE_GMP TRUE)
set (FTK_HAVE_MPSOLVE TRUE)
add_definitions ("-Wno-register")
include_directories (${MPSolve_INCLUDE_DIR})
endif ()
if (FTK_USE_GMP STREQUAL AUTO)
find_package (GMP QUIET)
elseif (FTK_USE_GMP)
find_package (GMP REQUIRED)
endif ()
if (GMP_FOUND)
set (FTK_HAVE_GMP TRUE)
include_directories (${GMP_INCLUDE_DIRS})
else ()
set (FTK_HAVE_GMP FALSE)
endif ()
if (FTK_USE_MPFR STREQUAL AUTO)
find_package (MPFR QUIET)
elseif (FTK_USE_MPFR)
find_package (MPFR REQUIRED)
endif ()
if (MPFR_FOUND)
set (FTK_HAVE_MPFR TRUE)
include_directories (${MPFR_INCLUDE_DIRS})
else ()
set (FTK_HAVE_MPFR FALSE)
endif ()
if (FTK_USE_GSL STREQUAL AUTO)
find_package (GSL QUIET)
elseif (FTK_USE_GSL)
find_package (GSL REQUIRED)
endif ()
if (GSL_FOUND)
set (FTK_HAVE_GSL TRUE)
include_directories (${GSL_INCLUDE_DIRS})
endif ()
if (FTK_USE_TBB STREQUAL AUTO)
find_package (TBB QUIET)
elseif (FTK_USE_TBB)
find_package (TBB REQUIRED)
endif()
if (TBB_FOUND)
set (FTK_HAVE_TBB TRUE)
include_directories (${TBB_INCLUDE_DIRS})
endif ()
if (FTK_USE_PNETCDF STREQUAL AUTO)
find_package (PNetCDF QUIET)
elseif (FTK_USE_PNETCDF)
find_package (PNetCDF REQUIRED)
endif()
if (PNETCDF_FOUND)
set (FTK_HAVE_PNETCDF TRUE)
include_directories (${PNETCDF_INCLUDE_DIR})
endif ()
if (FTK_USE_PNG STREQUAL AUTO)
find_package (PNG QUIET)
elseif (FTK_USE_PNG)
find_package (PNG REQUIRED)
endif ()
if (PNG_FOUND)
set (FTK_HAVE_PNG TRUE)
include_directories (${PNG_INCLUDE_DIRS})
endif ()
if (FTK_USE_RocksDB STREQUAL AUTO)
find_package (RocksDB QUIET)
elseif (FTK_USE_RocksDB)
find_package (RocksDB REQUIRED)
endif ()
if (RocksDB_FOUND)
set (FTK_HAVE_ROCKSDB TRUE)
include_directories (${RocksDB_INCLUDE_DIR})
endif ()
if (FTK_USE_OpenMP STREQUAL AUTO)
find_package (OpenMP QUIET)
elseif (FTK_USE_OpenMP)
find_package (OpenMP REQUIRED)
endif ()
if (OpenMP_CXX_FOUND)
set (FTK_HAVE_OPENMP TRUE)
endif ()
if (FTK_USE_CUDA STREQUAL AUTO)
enable_language (CUDA OPTIONAL) #FIXME: FTK_HAVE_CUDA in AUTO mode
elseif (FTK_USE_CUDA)
enable_language (CUDA)
set (FTK_HAVE_CUDA TRUE)
endif ()
if (FTK_USE_DECAF STREQUAL AUTO)
find_package (Decaf QUIET)
elseif (FTK_USE_DECAF)
find_package (Decaf REQUIRED)
endif ()
if (DECAF_FOUND)
set (FTK_HAVE_DECAF TRUE)
endif ()
if (FTK_HAVE_CUDA)
include (DetectGPU)
endif ()
if (FTK_USE_SYCL STREQUAL AUTO)
# nothing to do
elseif (FTK_USE_SYCL)
find_package (SYCL REQUIRED)
set (FTK_HAVE_SYCL TRUE)
endif ()
if (FTK_USE_HIPSYCL STREQUAL AUTO)
# nothing to do
elseif (FTK_USE_HIPSYCL)
find_package (hipsycl REQUIRED)
enable_language (SYCL)
set (FTK_HAVE_HIPSYCL TRUE)
set (FTK_HAVE_SYCL TRUE)
endif ()
set (Boost_USE_STATIC_LIBS ON)
set (Boost_USE_MULTITHREADED ON)
set (Boost_USE_STATIC_RUNTIME OFF)
if (FTK_USE_Boost STREQUAL AUTO)
find_package (Boost QUIET COMPONENTS system)
elseif (FTK_USE_Boost)
find_package (Boost REQUIRED COMPONENTS system)
endif ()
if (Boost_SYSTEM_FOUND)
set (FTK_HAVE_BOOST TRUE)
# add_definitions (-DBOOST_NO_AUTO_PTR) # c++17 deprecated auto_ptr
include_directories (${Boost_INCLUDE_DIRS})
endif ()
###
set (FTK_INCLUDE_DIR
${CMAKE_CURRENT_SOURCE_DIR}/include
${CMAKE_CURRENT_BINARY_DIR}/include
)
include_directories (${FTK_INCLUDE_DIR})
set (FTK_FP_PRECISION "32768" CACHE STRING "Fixed point precision")
set (FTK_CP_MAX_NUM_VARS "3" CACHE STRING "Number of additional scalar properties for feature points")
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/include/ftk/config.hh.in
${CMAKE_CURRENT_BINARY_DIR}/include/ftk/config.hh)
install (DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/ftk DESTINATION
${CMAKE_INSTALL_INCLUDEDIR})
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/include/ftk/config.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ftk)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/FTKConfig.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/FTKConfig.cmake)
include (CMakePackageConfigHelpers)
set (FTK_ROOT_DIR ${CMAKE_INSTALL_PREFIX})
set (FTK_INCLUDE_DIR ${CMAKE_INSTALL_PREFIX}/include)
configure_package_config_file(
${CMAKE_CURRENT_SOURCE_DIR}/cmake/FTKConfig.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/FTKConfig.cmake
PATH_VARS FTK_INCLUDE_DIR
INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/FTK
NO_CHECK_REQUIRED_COMPONENTS_MACRO)
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/FTKConfig.cmake
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/FTK/)
if (FTK_BUILD_PYFTK)
include_directories (${CMAKE_CURRENT_SOURCE_DIR}/python/pybind11/include
${PYTHON_INCLUDE_DIRS})
add_subdirectory (python)
endif ()
add_subdirectory (src)
if (FTK_BUILD_PARAVIEW)
add_subdirectory (paraview)
endif ()
# If FTK_BUILD_TESTS is on, enable testing.
if (FTK_BUILD_TESTS)
# find_package (Python QUIET) # for testing xgc
set (FTK_XGC_TEST_DATA_PATH "" CACHE PATH "XGC test data path") # if xgc data path is provided, xgc tests will be built
if (FTK_HAVE_MPI)
# set (TEST_EXECUTOR ${MPIEXEC_EXECUTABLE})
endif()
enable_testing ()
include (Catch)
add_subdirectory (tests)
endif ()
# If FTK_BUILD_EXAMPLES is on, add the examples subdirectory to the build.
# if (FTK_BUILD_EXAMPLES)
# add_subdirectory (examples)
# endif ()
## summary
message ("")
message ("FTK build configuration:")
message (" FTK Version: ${FTK_VERSION}")
message ("")
message (" C++ compiler: ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION} ${CMAKE_CXX_COMPILER_WRAPPER}")
message (" ${CMAKE_CXX_COMPILER}")
message ("")
message (" Installation prefix: ${CMAKE_INSTALL_PREFIX}")
message(" bin: ${CMAKE_INSTALL_BINDIR}")
message(" lib: ${CMAKE_INSTALL_LIBDIR}")
message(" include: ${CMAKE_INSTALL_INCLUDEDIR}")
message(" cmake: ${CMAKE_INSTALL_CMAKEDIR}")
message ("")
message(" Features:")
message(" Build Type: ${CMAKE_BUILD_TYPE}")
message(" Executables: ${FTK_BUILD_EXECUTABLES}")
message(" Applications: ${FTK_BUILD_APPLICATIONS}")
message(" Testing: ${FTK_BUILD_TESTS}")
message(" ParaView: ${FTK_BUILD_PARAVIEW}")
message(" PyFTK: ${FTK_BUILD_PYFTK}")
if (${FTK_BUILD_PYFTK})
message(" Python executable: ${PYTHON_EXECUTABLE}")
message(" Python include directories: ${PYTHON_INCLUDE_DIRS}")
message(" Python library: ${PYTHON_LIBRARY}")
endif ()
message ("")
message(" Dependencies:")
message(" ADIOS2 ${FTK_USE_ADIOS2} ${ADIOS2_FOUND}")
if (${FTK_HAVE_ADIOS2})
message(" Include path: ${ADIOS2_INCLUDES}")
message(" Libraries: ${ADIOS2_LIBRARIES}")
endif ()
message(" ADIOS1* ${FTK_USE_ADIOS1} ${ADIOS_FOUND}")
if (${FTK_HAVE_ADIOS1})
message(" Include path: ${ADIOS_INCLUDE_DIRS}")
message(" Libraries: ${ADIOS_LIBRARIES}")
endif ()
message(" Boost: ${FTK_USE_Boost} ${Boost_FOUND}")
if (${FTK_HAVE_BOOST})
message(" Version: ${Boost_VERSION_STRING}")
message(" Include path: ${Boost_INCLUDE_DIR}")
message(" Libraries: ${Boost_LIBRARIES}")
endif ()
message(" CGAL: ${FTK_USE_CGAL} ${CGAL_FOUND}")
if (${FTK_HAVE_CGAL})
message(" CGAL path: ${CUDA_VERSION}")
endif ()
message(" CUDA: ${FTK_USE_CUDA}")
if (${FTK_HAVE_CUDA})
message(" Host compiler: ${CMAKE_CUDA_HOST_COMPILER}")
message(" NVCC compiler: ${CMAKE_CUDA_COMPILER}")
message(" NVCC flags: ${CMAKE_CUDA_FLAGS}")
message(" Detected GPU count: ${DETECT_GPU_COUNT}")
endif()
message(" GSL: ${FTK_USE_GSL} ${GSL_FOUND}")
message(" GMP: ${FTK_USE_GMP} ${GMP_FOUND}")
if (${GMP_FOUND})
message(" Include path: ${GMP_INCLUDE_DIRS}")
message(" Libraries: ${GMP_LIBRARIES}")
endif()
message(" HDF5: ${FTK_USE_HDF5} ${HDF5_FOUND}")
if (${FTK_HAVE_HDF5})
message(" Version: ${HDF5_VERSION}")
message(" Include path: ${HDF5_INCLUDE_DIRS}")
message(" Definitions: ${HDF5_DEFINITIONS}")
message(" Libraries: ${HDF5_LIBRARIES}")
endif ()
message(" hipSYCL* ${FTK_USE_HIPSYCL} ${HIPSYCL_FOUND}")
if (${FTK_HAVE_HIPSYCL})
message(" SYCLCC: ${HIPSYCL_SYCLCC}")
message(" Platform: ${HIPSYCL_PLATFORM}")
message(" GPU arch: ${HIPSYCL_GPU_ARCH}")
endif ()
message(" Kokkos* ${FTK_USE_Kokkos} ${Kokkos_FOUND}")
message(" Metis: ${FTK_USE_METIS} ${METIS_FOUND}")
if (${METIS_FOUND})
message(" Include path: ${METIS_INCLUDES}")
message(" Libraries: ${METIS_LIBRARIES}")
endif ()
message(" MPFR: ${FTK_USE_MPFR} ${MPFR_FOUND}")
if (${MPFR_FOUND})
message(" Include path: ${MPFR_INCLUDE_DIRS}")
message(" Libraries: ${MPFR_LIBRARIES}")
endif()
message(" MPI: ${FTK_USE_MPI} ${MPI_FOUND}")
if (${FTK_HAVE_MPI})
message(" MPI C++ compiler: ${MPI_CXX_COMPILER}")
message(" mpiexec: ${MPIEXEC_EXECUTABLE}")
endif ()
message(" MPSolve: ${FTK_USE_MPSolve} ${MPSolve_FOUND}")
message(" netCDF: ${FTK_USE_NETCDF} ${NETCDF_FOUND}")
if (${FTK_HAVE_NETCDF})
message(" Version: ${NetCDFVersion}")
message(" Path: ${netCDF_INSTALL_PREFIX}")
endif ()
message(" OpenMP*: ${FTK_USE_OpenMP} ${OpenMP_CXX_FOUND}")
if (${FTK_HAVE_OPENMP})
message(" Version: ${OpenMP_CXX_VERSION}")
message(" Flags: ${OpenMP_CXX_FLAGS}")
message(" Library: ${OpenMP_CXX_LIBRARY}")
endif ()
message(" ParaView: ${FTK_BUILD_PARAVIEW}")
if (${FTK_HAVE_PARAVIEW})
message(" ParaView path: ${ParaView_DIR}")
endif ()
message(" PNETCDF*: ${FTK_USE_PNETCDF} ${PNetCDF_FOUND}")
if (${FTK_HAVE_PNETCDF})
message(" Include path: ${PNETCDF_INCLUDE_DIR}")
message(" Library: ${PNETCDF_LIBRARY}")
endif ()
message(" PNG: ${FTK_USE_PNG} ${PNG_FOUND}")
if (${FTK_HAVE_PNG})
message(" Library: ${PNG_LIBRARY}")
endif()
message(" Qt5: ${FTK_USE_Qt5} ${FTK_HAVE_QT5}")
if (${FTK_HAVE_QT5})
message(" Qt5OpenGL: ${Qt5OpenGL_DIR}")
message(" Qt5Widigets:${Qt5Widgets_DIR}")
message(" Qt5Core: ${Qt5Core_DIR}")
message(" Qt5Gui: ${Qt5Gui_DIR}")
endif ()
message(" SYCL*: ${FTK_USE_SYCL} ${FTK_HAVE_SYCL}")
message(" TBB*: ${FTK_USE_TBB} ${TBB_FOUND}")
if (${FTK_HAVE_TBB})
message(" Include path: ${TBB_INCLUDE_DIR}")
message(" Library: ${TBB_LIBRARY_DEBUG}")
message(" Library: ${TBB_LIBRARY_RELEASE}")
endif()
message(" VTK: ${FTK_USE_VTK} ${FTK_HAVE_VTK}")
if (${FTK_HAVE_VTK})
message(" VTK_DIR: ${VTK_DIR}")
message(" VTK_VERSION: ${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION}")
endif ()
message ("")
message (" (*) Experimental and not recommend to use")
message ("")