summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-03-14 19:12:10 (GMT)
committerBrad King <brad.king@kitware.com>2007-03-14 19:12:10 (GMT)
commit6d2f08b6e1dd1c0f5dc9f277834e839138a8ddba (patch)
tree0290f061e6018efec0dd41256696dd81c1ce1994 /Source/kwsys/CMakeLists.txt
parenta724f0d425f42a1352f5a7a6a6403f27c8acd145 (diff)
downloadCMake-6d2f08b6e1dd1c0f5dc9f277834e839138a8ddba.zip
CMake-6d2f08b6e1dd1c0f5dc9f277834e839138a8ddba.tar.gz
CMake-6d2f08b6e1dd1c0f5dc9f277834e839138a8ddba.tar.bz2
ENH: Added MD5 implementation to KWSys.
Diffstat (limited to 'Source/kwsys/CMakeLists.txt')
-rw-r--r--Source/kwsys/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt
index d174b97..bba7e38 100644
--- a/Source/kwsys/CMakeLists.txt
+++ b/Source/kwsys/CMakeLists.txt
@@ -125,6 +125,7 @@ IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR)
SET(KWSYS_USE_Directory 1)
SET(KWSYS_USE_DynamicLoader 1)
SET(KWSYS_USE_Glob 1)
+ SET(KWSYS_USE_MD5 1)
SET(KWSYS_USE_Process 1)
SET(KWSYS_USE_RegularExpression 1)
SET(KWSYS_USE_Registry 1)
@@ -641,7 +642,7 @@ FOREACH(cpp ${cppclasses})
ENDFOREACH(cpp)
# Add selected C components.
-FOREACH(c Process Base64 FundamentalType Terminal System)
+FOREACH(c Process Base64 FundamentalType MD5 Terminal System)
IF(KWSYS_USE_${c})
SET(KWSYS_H_FILES ${KWSYS_H_FILES} ${c})
ENDIF(KWSYS_USE_${c})
@@ -678,7 +679,7 @@ IF(KWSYS_USE_Process)
ENDIF(KWSYS_USE_Process)
# Add selected C sources.
-FOREACH(c Base64 Terminal System)
+FOREACH(c Base64 MD5 Terminal System)
IF(KWSYS_USE_${c})
SET(KWSYS_C_SRCS ${KWSYS_C_SRCS} ${c}.c)
ENDIF(KWSYS_USE_${c})
@@ -854,6 +855,7 @@ IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR)
# C tests
SET(KWSYS_C_TESTS
+ testEncode
testTerminal
)
IF(COMMAND SET_TESTS_PROPERTIES AND COMMAND GET_TEST_PROPERTY AND KWSYS_STANDALONE)