SUBDIRS(\r
src\r
Dicts\r
- Example\r
)\r
+#-----------------------------------------------------------------------------\r
+# Example subdir:\r
+\r
+OPTION(BUILD_EXAMPLES "Build GDCM examples." ON)\r
+IF(BUILD_EXAMPLES)\r
+ SUBDIRS(Example)\r
+ENDIF(BUILD_EXAMPLES)\r
\r
#-----------------------------------------------------------------------------\r
# Adding GDCM_DATA_ROOT\r
\r
#-----------------------------------------------------------------------------\r
# Add the testing directories\r
+OPTION(BUILD_TESTING "Build testing." ON)\r
+\r
IF(BUILD_TESTING)\r
ENABLE_TESTING()\r
INCLUDE (${CMAKE_ROOT}/Modules/Dart.cmake)\r