summaryrefslogtreecommitdiffstats
path: root/configure.in.sample
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-04-25 20:09:17 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-04-25 20:09:17 (GMT)
commit5c83326fb43296bec07fe084497f8b3ea5b05e88 (patch)
tree6867026ecfa8bfd5f0ac8654acd275cdc4f768bb /configure.in.sample
parent61091234c37ebd104885418809a718910361e4ff (diff)
downloadCMake-5c83326fb43296bec07fe084497f8b3ea5b05e88.zip
CMake-5c83326fb43296bec07fe084497f8b3ea5b05e88.tar.gz
CMake-5c83326fb43296bec07fe084497f8b3ea5b05e88.tar.bz2
ENH: clean up cmake GUI and remove the parsing of CMakeLists.txt files by configure
Diffstat (limited to 'configure.in.sample')
-rw-r--r--configure.in.sample49
1 files changed, 0 insertions, 49 deletions
diff --git a/configure.in.sample b/configure.in.sample
index 126d136..9ed648b 100644
--- a/configure.in.sample
+++ b/configure.in.sample
@@ -573,53 +573,6 @@ AC_CONFIG_SUBDIRS(Code/Numerics/vxl/vcl)
# and any sub directories recursivley
#
-echo "Searching CMakeLists.txt files for all sub directories"
-# the result of a the directories found is stored in allDirs
-allDirs=
-# start looking in the current directory .
-searchDirs=$srcdir
-# loop until the flag dirHasListsFile is set to falls
-dirHasListsFile=:
-while $dirHasListsFile; do
- # reset the varible used to store the full paths to the directory
- # outside the for loop
- fullPathDirs=
- # loop over all directorirs in the current searchDirs varible
- for currentDir in $searchDirs;do
- # look for a CMakeLists.txt file in the current directory
- if test -e$currentDir/CMakeLists.txt; then
- # extract the SUBDIRS varible from the CMakeLists.txt file
- dirsInListsFile=`cat $currentDir/CMakeLists.txt | sed -e :a -e '/SUBDIRS.*\\\\$/N; s/\\\\\\n//; ta' | grep SUBDIRS | sed -e "s/SUBDIRS//g; s/(//g;s/)//g" `
- # add the current directory to any sub dirs found
- # in the above search of CMakeLists.txt
- for subdir in $dirsInListsFile;do
- fullPathDirs="$fullPathDirs $currentDir/$subdir"
- allDirs="$allDirs $currentDir/$subdir"
- done
- fi
- done
- # now get ready to search any directories found in the above for loop
- searchDirs=$fullPathDirs
- # check to see if searchDirs is emtpy
- if test "x$searchDirs" = x; then
- dirHasListsFile=false
- fi
-done # continue while loop until dirHasListsFile=false
-
-if test "x$srcdir" = x.; then
- allDirs=`echo $allDirs | sed -e "s|\./||g"`
-else
- allDirs=`echo $allDirs | sed -e "s|$srcdir/||g"`
-fi
-SUBDIR_MAKEFILES=`echo $allDirs | sed -e 's|\\([[A-Za-z0-9_/]][[A-Za-z0-9_/]]*\\)|\1/Makefile:CMake/CMakeMakefileTemplate.in|g'`
-
-SUBDIR_CMAKE_TARGETS=`echo $allDirs | sed -e 's|\\([[A-Za-z0-9_/]][[A-Za-z0-9_/]]*\\)|\1/CMakeTargets.make:CMake/CMakeTargets.make.in|g'`
-
-#
-# *****************************************
-# end of extract SUBDIRS out of CMakeLists.txt files
-#
-
#
# Build two variables (SITE, INSTANCE) used for setting up testing
#
@@ -673,8 +626,6 @@ CMake/CMakeVariables.make
CMake/CMakeRules.make
CMake/Source/CMakeTargets.make:CMake/dummy.in
CMake/Source/Makefile
-$SUBDIR_MAKEFILES
-$SUBDIR_CMAKE_TARGETS
)