summaryrefslogtreecommitdiff
path: root/graphics/asymptote/cmake-scripts/options.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/cmake-scripts/options.cmake')
-rw-r--r--graphics/asymptote/cmake-scripts/options.cmake22
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/asymptote/cmake-scripts/options.cmake b/graphics/asymptote/cmake-scripts/options.cmake
index 51838bfa2e..4f257964bb 100644
--- a/graphics/asymptote/cmake-scripts/options.cmake
+++ b/graphics/asymptote/cmake-scripts/options.cmake
@@ -99,6 +99,13 @@ option(DEBUG_GC_ENABLE "Enable debug mode for gc" false)
option(DEBUG_GC_BACKTRACE_ENABLE "Enable backtrace for gc" false)
option(CTAN_BUILD "Build for CTAN." false)
+option(
+ ENABLE_COMPACT_ZERO_BUILD "\
+Set COMPACT flag to 0. \
+Unless if building for debugging/testing with an explicit need for additional type verification, \
+this option should be turned off."
+ false)
+
# additional optimization options
if (CMAKE_BUILD_TYPE IN_LIST cmake_release_build_types)
@@ -248,6 +255,14 @@ cmake_dependent_option(
false
)
+# misc files
+option(
+ ENABLE_MISCFILES_GEN
+ "Enable generation of non-essential, non-documentation asymptote files (e.g. asy.list, asy-keywords.el) "
+ true
+)
+
+# warnings if external docs dir is not given
if (NOT EXTERNAL_DOCUMENTATION_DIR)
if (NOT ENABLE_DOCGEN)
message(STATUS "Build is not generating documentation.
@@ -260,6 +275,13 @@ If you are planning on generating installation files, please make sure you have
in a directory and specify this directory in EXTERNAL_DOCUMENTATION_DIR cache variable.
")
endif()
+
+ if (NOT ENABLE_MISCFILES_GEN)
+ message(STATUS "Build is not generating non-essential, non-documentation asymptote files.
+If you are planning on generating installation files, please make sure you have access to asy-keywords.el
+in a directory and specify this directory in EXTERNAL_DOCUMENTATION_DIR cache variable.
+")
+ endif()
endif()
# windows-specific installation