summaryrefslogtreecommitdiff
path: root/src/cmake/modules/GUDHI_options.cmake
diff options
context:
space:
mode:
authorGard Spreemann <gspr@nonempty.org>2022-08-17 14:31:07 +0200
committerGard Spreemann <gspr@nonempty.org>2022-08-17 14:31:07 +0200
commite65c2f6750eca50a2333801a25f401b318e49ef7 (patch)
treeea24364b96a3dafe237d21d836a0857675d257b1 /src/cmake/modules/GUDHI_options.cmake
parentdbc404626955aee632fa47ee7a4d4c3add7d6188 (diff)
parentde8bd5109fcdc6d4d200c74685bab031d953d2af (diff)
Merge tag 'tags/gudhi-release-3.6.0' into dfsg/latest
Diffstat (limited to 'src/cmake/modules/GUDHI_options.cmake')
-rw-r--r--src/cmake/modules/GUDHI_options.cmake15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/cmake/modules/GUDHI_options.cmake b/src/cmake/modules/GUDHI_options.cmake
new file mode 100644
index 00000000..5e28c87d
--- /dev/null
+++ b/src/cmake/modules/GUDHI_options.cmake
@@ -0,0 +1,15 @@
+option(WITH_GUDHI_BENCHMARK "Activate/deactivate benchmark compilation" OFF)
+option(WITH_GUDHI_EXAMPLE "Activate/deactivate examples compilation and installation" OFF)
+option(WITH_GUDHI_REMOTE_TEST "Activate/deactivate datasets fetching test which uses the Internet" OFF)
+option(WITH_GUDHI_PYTHON "Activate/deactivate python module compilation and installation" ON)
+option(WITH_GUDHI_TEST "Activate/deactivate examples compilation and installation" ON)
+option(WITH_GUDHI_UTILITIES "Activate/deactivate utilities compilation and installation" ON)
+option(WITH_GUDHI_THIRD_PARTY "Activate/deactivate third party libraries cmake detection. When set to OFF, it is usefull for doxygen or user_version i.e." ON)
+
+if (NOT WITH_GUDHI_THIRD_PARTY)
+ set (WITH_GUDHI_BENCHMARK OFF)
+ set (WITH_GUDHI_EXAMPLE OFF)
+ set (WITH_GUDHI_PYTHON OFF)
+ set (WITH_GUDHI_TEST OFF)
+ set (WITH_GUDHI_UTILITIES OFF)
+endif() \ No newline at end of file