aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c3680df5..0e925136 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -330,6 +330,20 @@ ENDIF()
##############################################################################
+# Examples
+
+OPTION(
+ VMIME_BUILD_SAMPLES
+ "Build samples (in 'examples' directory)"
+ ON
+)
+
+IF(VMIME_BUILD_SAMPLES)
+ ADD_SUBDIRECTORY(examples)
+ENDIF()
+
+
+##############################################################################
# Packaging / Distribution
# Package information