]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/poissonrecon/CMakeLists.txt
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / poissonrecon / CMakeLists.txt
1 cmake_minimum_required(VERSION 3.12)
2
3 project(PoissonRecon LANGUAGES NONE)
4
5 set(INSTALL_BIN_DIR "bin" CACHE PATH "Path where exe and dll will be installed")
6 set(INSTALL_LIB_DIR "lib" CACHE PATH "Path where lib will be installed")
7 set(INSTALL_INCLUDE_DIR "include/${PROJECT_NAME}" CACHE PATH "Path where headers will be installed")
8 set(INSTALL_CMAKE_DIR "share/poissonrecon" CACHE PATH "Path where cmake configs will be installed")
9
10 find_package(PNG REQUIRED)
11 find_package(JPEG REQUIRED)
12
13 set(PoissonRecon_HEADERS
14 "Src/Allocator.h"
15 "Src/Array.h"
16 "Src/BinaryNode.h"
17 "Src/BlockedVector.h"
18 "Src/BSplineData.h"
19 "Src/CmdLineParser.h"
20 "Src/Factor.h"
21 "Src/FEMTree.h"
22 "Src/FunctionData.h"
23 "Src/Geometry.h"
24 "Src/Image.h"
25 "Src/JPEG.h"
26 "Src/LinearSolvers.h"
27 "Src/MarchingCubes.h"
28 "Src/MAT.h"
29 "Src/MyMiscellany.h"
30 "Src/Ply.h"
31 "Src/PlyFile.h"
32 "Src/PNG.h"
33 "Src/PointStream.h"
34 "Src/PointStreamData.h"
35 "Src/Polynomial.h"
36 "Src/PPolynomial.h"
37 "Src/PreProcessor.h"
38 #"Src/Rasterizer.h"
39 #"Src/RegularGrid.h"
40 "Src/RegularTree.h"
41 "Src/SparseMatrix.h"
42 "Src/SparseMatrixInterface.h"
43 "Src/Window.h"
44 )
45
46 set(PoissonRecon_INLINES
47 "Src/Array.inl"
48 "Src/BMPStream.inl"
49 "Src/BSplineData.inl"
50 "Src/CmdLineParser.inl"
51 "Src/FEMTree.Evaluation.inl"
52 "Src/FEMTree.Initialize.inl"
53 "Src/FEMTree.inl"
54 "Src/FEMTree.IsoSurface.specialized.inl"
55 "Src/FEMTree.SortedTreeNodes.inl"
56 "Src/FEMTree.System.inl"
57 "Src/FEMTree.WeightedSamples.inl"
58 "Src/FunctionData.inl"
59 "Src/Geometry.inl"
60 "Src/JPEG.inl"
61 "Src/MAT.inl"
62 "Src/PlyFile.inl"
63 "Src/PNG.inl"
64 "Src/PointStream.inl"
65 "Src/Polynomial.inl"
66 "Src/PPolynomial.inl"
67 #"Src/Rasterizer.inl"
68 #"Src/RegularGrid.inl"
69 "Src/RegularTree.inl"
70 "Src/SparseMatrix.inl"
71 "Src/SparseMatrixInterface.inl"
72 "Src/Window.inl"
73 )
74
75 add_library(PoissonRecon INTERFACE)
76 target_link_libraries(PoissonRecon INTERFACE PNG::PNG JPEG::JPEG)
77 set_target_properties(PoissonRecon PROPERTIES PUBLIC_HEADER "${PoissonRecon_HEADERS};${PoissonRecon_INLINES}")
78 target_include_directories(PoissonRecon INTERFACE $<INSTALL_INTERFACE:${INSTALL_INCLUDE_DIR}>)
79
80 install(TARGETS PoissonRecon EXPORT PoissonReconTargets
81 RUNTIME DESTINATION "${INSTALL_BIN_DIR}"
82 LIBRARY DESTINATION "${INSTALL_LIB_DIR}"
83 ARCHIVE DESTINATION "${INSTALL_LIB_DIR}"
84 PUBLIC_HEADER DESTINATION "${INSTALL_INCLUDE_DIR}"
85 )
86 install(EXPORT PoissonReconTargets
87 NAMESPACE PoissonRecon::
88 DESTINATION ${INSTALL_CMAKE_DIR}
89 )