Repository navigation
Expand file tree
/
Copy pathDefineOptions.cmake
More file actions
47 lines (45 loc) · 2.95 KB
/
Copy pathDefineOptions.cmake
File metadata and controls
47 lines (45 loc) · 2.95 KB
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
option(USE_NLS "Enable Native Language Support (using gettext)." ON)
option(USE_COLORD "Enable colord support." ON)
option(USE_MAP "Enable the map module." ON)
option(USE_OPENMP "Enable OpenMP threading support." ON)
option(USE_OPENCL "Enable OpenCL support." ON)
option(USE_DARKTABLE_PROFILING OFF)
option(CUSTOM_CFLAGS "Don't override compiler optimization flags." OFF)
option(BINARY_PACKAGE_BUILD "Set march optimization to generic." OFF)
option(USE_XMLLINT "Run xmllint to test if anselconfig.xml is valid." ON)
option(USE_OPENJPEG "Enable JPEG 2000 support." ON)
option(USE_WEBP "Enable WebP support." ON)
option(USE_AVIF "Enable AVIF support." ON)
option(USE_HEIF "Enable HEIF/HEIC support." ON)
option(USE_LIBRAW "Enable LibRaw support." ON)
option(USE_BUNDLED_LIBRAW "Use bundled LibRaw source instead of system library." ON)
option(USE_BUNDLED_EXIV2 "Use bundled Exiv2 source instead of system library." ON)
option(BUILD_CMSTEST "Build a test program to check your system's color management setup." ON)
option(USE_OPENEXR "Enable OpenEXR support." ON)
option(USE_CMARK "Enable CommonMark Markdown parser for text notes." ON)
option(BUILD_PRINT "Enable the print module." ON)
option(BUILD_RS_IDENTIFY "Build the ansel-rs-identify debug aid." ON)
option(VALIDATE_APPDATA_FILE "Use appstream-util (if found) to validate the appdata file." OFF)
option(BUILD_MSYS2_INSTALL "Build an MSYS2 version of the install, aka for Windows platform, but without dependency installs." OFF)
option(BUILD_NOISE_TOOLS "Build tools for generating noise profiles." OFF)
option(BUILD_CURVE_TOOLS "Build tools for generating base and tone curves." OFF)
option(USE_ICU "Enable ICU - International Components for Unicode." ON)
option(USE_SENTRY "Enable opt-in sentry.io crash reporting." ON)
option(USE_TELEMETRY "Enable opt-in PostHog usage analytics." ON)
option(FORCE_COLORED_OUTPUT "Always produce ANSI-colored output (GNU/Clang only)." ON)
set(SENTRY_DSN "https://2909ae9ae26fdf4eabf25fbf56fa3f9b@o4511598642200576.ingest.de.sentry.io/4511598693253200" CACHE STRING "Sentry.io DSN used for crash reporting. Set empty to disable uploads.")
set(POSTHOG_HOST "https://eu.i.posthog.com" CACHE STRING "PostHog ingestion host (EU region by default).")
# Distribution channel baked into the binary (DT_BUILD_CHANNEL). Official CI builds
# pass -DBUILD_CHANNEL=nightly; everything else stays "self-build". Lets crash
# reports and analytics tell official binaries apart from local/dev builds.
set(BUILD_CHANNEL "self-build" CACHE STRING "Build distribution channel: 'nightly' for official builds, 'self-build' otherwise. If you are building a package for a distribution repository, please write 'package-${YOUR_DISTRO}' here for our statistics.")
if(USE_OPENCL)
option(TESTBUILD_OPENCL_PROGRAMS "Test-compile opencl programs (needs llvm and clang 3.9+)." ON)
else()
set(TESTBUILD_OPENCL_PROGRAMS OFF)
endif()
if(APPLE)
option(USE_MAC_INTEGRATION "Enable OS X integration." ON)
else(APPLE)
set(USE_MAC_INTEGRATION OFF)
endif(APPLE)