summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-12-11 16:36:57 (GMT)
committerBrad King <brad.king@kitware.com>2007-12-11 16:36:57 (GMT)
commitb0078fd3b4738ed51634f9e720cff3a2cb0032aa (patch)
tree4a90dbdab72ee13d50f7c3c66bff9df370a11ffe /Source/kwsys/CMakeLists.txt
parent76ef80a931416afe9080b32247125529281a7d0b (diff)
downloadCMake-b0078fd3b4738ed51634f9e720cff3a2cb0032aa.zip
CMake-b0078fd3b4738ed51634f9e720cff3a2cb0032aa.tar.gz
CMake-b0078fd3b4738ed51634f9e720cff3a2cb0032aa.tar.bz2
ENH: Added C String utilities to KWSys. Implemented strcasecmp and strncasecmp.
Diffstat (limited to 'Source/kwsys/CMakeLists.txt')
-rw-r--r--Source/kwsys/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt
index 5a39908..1e13640 100644
--- a/Source/kwsys/CMakeLists.txt
+++ b/Source/kwsys/CMakeLists.txt
@@ -136,6 +136,7 @@ IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR)
SET(KWSYS_USE_Terminal 1)
SET(KWSYS_USE_IOStream 1)
SET(KWSYS_USE_DateStamp 1)
+ SET(KWSYS_USE_String 1)
ENDIF(KWSYS_STANDALONE OR CMake_SOURCE_DIR)
# Setup the large file support default.
@@ -640,7 +641,7 @@ FOREACH(cpp ${cppclasses})
ENDFOREACH(cpp)
# Add selected C components.
-FOREACH(c Process Base64 FundamentalType MD5 Terminal System DateStamp)
+FOREACH(c Process Base64 FundamentalType MD5 Terminal System DateStamp String)
IF(KWSYS_USE_${c})
# Use the corresponding header file.
SET(KWSYS_H_FILES ${KWSYS_H_FILES} ${c})
@@ -683,7 +684,7 @@ IF(KWSYS_USE_Process)
ENDIF(KWSYS_USE_Process)
# Add selected C sources.
-FOREACH(c Base64 MD5 Terminal System)
+FOREACH(c Base64 MD5 Terminal System String)
IF(KWSYS_USE_${c})
SET(KWSYS_C_SRCS ${KWSYS_C_SRCS} ${c}.c)
ENDIF(KWSYS_USE_${c})