From eafc8a74bfd7b94be0563199ca145d1466ce5dc2 Mon Sep 17 00:00:00 2001
From: Brad King <brad.king@kitware.com>
Date: Thu, 26 Jun 2003 13:39:35 -0400
Subject: [PATCH] ENH: Updated documentation to describe enabling of classes.

---
 CMakeLists.txt | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c4e6091..9d8bff5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,14 +17,16 @@
 
 # The Kitware System Library is intended to be included in other
 # projects.  It is completely configurable in that the library's
-# namespace can be configured and the components that are included
-# selected invididually.
+# namespace can be configured and the components that are included can
+# be selected invididually.
 
 # Typical usage is to import the kwsys directory tree into a
-# subdirectory under a parent project.  The CMake listfile above this
-# one configures the library as follows:
+# subdirectory under a parent project and enable the classes that will
+# be used.  All classes are disabled by default.  The CMake listfile
+# above this one configures the library as follows:
 #
-#  SET(KWSYS_NAMESPACE fookwsys)
+#  SET(KWSYS_NAMESPACE foosys)
+#  SET(KWSYS_USE_Directory 1)    # Enable Directory class.
 #  SUBDIRS(kwsys)
 #
 # Optional settings are as follows:
@@ -59,9 +61,9 @@
 
 # Once configured, kwsys should be used as follows from C or C++ code:
 #
-#  #include <fookwsys/Directory.hxx>
+#  #include <foosys/Directory.hxx>
 #   ...
-#  fookwsys::Directory directory;
+#  foosys::Directory directory;
 #
 
 #-----------------------------------------------------------------------------
-- 
GitLab