summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap196
1 files changed, 139 insertions, 57 deletions
diff --git a/bootstrap b/bootstrap
index 889cc33..d54380a 100755
--- a/bootstrap
+++ b/bootstrap
@@ -240,87 +240,177 @@ CMAKE_UNUSED_SOURCES="\
"
CMAKE_CXX_SOURCES="\
- cmake \
- cmakemain \
- cmcmd \
+ cmAddCustomCommandCommand \
+ cmAddCustomTargetCommand \
+ cmAddDefinitionsCommand \
+ cmAddDependenciesCommand \
+ cmAddExecutableCommand \
+ cmAddLibraryCommand \
+ cmAddSubDirectoryCommand \
+ cmAddTestCommand \
+ cmBreakCommand \
+ cmBuildCommand \
+ cmCMakeMinimumRequired \
+ cmCMakePolicyCommand \
+ cmCPackPropertiesGenerator \
+ cmCacheManager \
+ cmCommand \
cmCommandArgumentLexer \
cmCommandArgumentParser \
cmCommandArgumentParserHelper \
+ cmCommandArgumentsHelper \
+ cmCommands \
cmCommonTargetGenerator \
- cmCPackPropertiesGenerator \
+ cmComputeComponentGraph \
+ cmComputeLinkDepends \
+ cmComputeLinkInformation \
+ cmComputeTargetDepends \
+ cmConditionEvaluator \
+ cmConfigureFileCommand \
+ cmContinueCommand \
+ cmCoreTryCompile \
+ cmCreateTestSourceList \
+ cmCustomCommand \
+ cmCustomCommandGenerator \
+ cmDefinePropertyCommand \
cmDefinitions \
cmDepends \
cmDependsC \
cmDocumentationFormatter \
- cmPolicies \
- cmProperty \
- cmPropertyMap \
- cmPropertyDefinition \
- cmPropertyDefinitionMap \
- cmMakefile \
- cmMessenger \
+ cmElseCommand \
+ cmEnableLanguageCommand \
+ cmEnableTestingCommand \
+ cmEndForEachCommand \
+ cmEndFunctionCommand \
+ cmEndIfCommand \
+ cmEndMacroCommand \
+ cmEndWhileCommand \
+ cmExecProgramCommand \
+ cmExecuteProcessCommand \
+ cmExpandedCommandArgument \
cmExportBuildFileGenerator \
cmExportFileGenerator \
cmExportInstallFileGenerator \
- cmExportTryCompileFileGenerator \
cmExportSet \
cmExportSetMap \
+ cmExportTryCompileFileGenerator \
+ cmExprLexer \
+ cmExprParser \
+ cmExprParserHelper \
cmExternalMakefileProjectGenerator \
- cmGeneratorExpressionEvaluationFile \
+ cmFileCommand \
+ cmFileTimeComparison \
+ cmFindBase \
+ cmFindCommon \
+ cmFindFileCommand \
+ cmFindLibraryCommand \
+ cmFindPackageCommand \
+ cmFindPathCommand \
+ cmFindProgramCommand \
+ cmForEachCommand \
+ cmFunctionCommand \
cmGeneratedFileStream \
- cmGeneratorTarget \
+ cmGeneratorExpression \
cmGeneratorExpressionContext \
cmGeneratorExpressionDAGChecker \
+ cmGeneratorExpressionEvaluationFile \
cmGeneratorExpressionEvaluator \
cmGeneratorExpressionLexer \
cmGeneratorExpressionNode \
cmGeneratorExpressionParser \
- cmGeneratorExpression \
+ cmGeneratorTarget \
+ cmGetCMakePropertyCommand \
+ cmGetDirectoryPropertyCommand \
+ cmGetFilenameComponentCommand \
+ cmGetPropertyCommand \
+ cmGetSourceFilePropertyCommand \
+ cmGetTargetPropertyCommand \
+ cmGetTestPropertyCommand \
cmGlobalCommonGenerator \
cmGlobalGenerator \
+ cmGlobalUnixMakefileGenerator3 \
+ cmHexFileConverter \
+ cmIfCommand \
+ cmIncludeCommand \
+ cmIncludeDirectoryCommand \
+ cmIncludeRegularExpressionCommand \
+ cmInstallCommand \
+ cmInstallCommandArguments \
cmInstallDirectoryGenerator \
- cmLocalCommonGenerator \
- cmLocalGenerator \
- cmInstalledFile \
- cmInstallGenerator \
cmInstallExportGenerator \
+ cmInstallFilesCommand \
cmInstallFilesGenerator \
+ cmInstallGenerator \
cmInstallScriptGenerator \
cmInstallTargetGenerator \
- cmScriptGenerator \
- cmSourceFile \
- cmSourceFileLocation \
- cmState \
- cmSystemTools \
- cmTestGenerator \
- cmVersion \
- cmFileTimeComparison \
- cmGlobalUnixMakefileGenerator3 \
+ cmInstallTargetsCommand \
+ cmInstalledFile \
+ cmLinkDirectoriesCommand \
+ cmLinkLineComputer \
+ cmListCommand \
+ cmListFileCache \
+ cmLocalCommonGenerator \
+ cmLocalGenerator \
cmLocalUnixMakefileGenerator3 \
+ cmMSVC60LinkLineComputer \
+ cmMacroCommand \
+ cmMakeDirectoryCommand \
+ cmMakefile \
cmMakefileExecutableTargetGenerator \
cmMakefileLibraryTargetGenerator \
cmMakefileTargetGenerator \
cmMakefileUtilityTargetGenerator \
- cmOutputConverter \
- cmOSXBundleGenerator \
+ cmMarkAsAdvancedCommand \
+ cmMathCommand \
+ cmMessageCommand \
+ cmMessenger \
cmNewLineStyle \
- cmBootstrapCommands1 \
- cmBootstrapCommands2 \
- cmCommandsForBootstrap \
+ cmOSXBundleGenerator \
+ cmOptionCommand \
+ cmOrderDirectories \
+ cmOutputConverter \
+ cmParseArgumentsCommand \
+ cmPathLabel \
+ cmPolicies \
+ cmProjectCommand \
+ cmProperty \
+ cmPropertyDefinition \
+ cmPropertyDefinitionMap \
+ cmPropertyMap \
+ cmReturnCommand \
+ cmRulePlaceholderExpander \
+ cmScriptGenerator \
+ cmSearchPath \
+ cmSeparateArgumentsCommand \
+ cmSetCommand \
+ cmSetDirectoryPropertiesCommand \
+ cmSetPropertyCommand \
+ cmSetSourceFilesPropertiesCommand \
+ cmSetTargetPropertiesCommand \
+ cmSetTestsPropertiesCommand \
+ cmSiteNameCommand \
+ cmSourceFile \
+ cmSourceFileLocation \
+ cmState \
+ cmStateDirectory \
+ cmStateSnapshot \
+ cmStringCommand \
+ cmSubdirCommand \
+ cmSystemTools \
cmTarget \
+ cmTargetLinkLibrariesCommand \
+ cmTargetPropertyComputer \
cmTest \
- cmCustomCommand \
- cmCustomCommandGenerator \
- cmCacheManager \
- cmListFileCache \
- cmComputeLinkDepends \
- cmComputeLinkInformation \
- cmOrderDirectories \
- cmComputeTargetDepends \
- cmComputeComponentGraph \
- cmExprLexer \
- cmExprParser \
- cmExprParserHelper \
+ cmTestGenerator \
+ cmTimestamp \
+ cmTryCompileCommand \
+ cmTryRunCommand \
+ cmUnsetCommand \
+ cmVersion \
+ cmWhileCommand \
+ cmake \
+ cmakemain \
+ cmcmd \
"
if ${cmake_system_mingw}; then
@@ -403,6 +493,8 @@ Configuration:
--no-system-liblzma use cmake-provided liblzma library (default)
--system-libarchive use system-installed libarchive library
--no-system-libarchive use cmake-provided libarchive library (default)
+ --system-librhash use system-installed librhash library
+ --no-system-librhash use cmake-provided librhash library (default)
--qt-gui build the Qt-based GUI (requires Qt >= 4.2)
--no-qt-gui do not build the Qt-based GUI (default)
@@ -636,10 +728,10 @@ while test $# != 0; do
--init=*) cmake_init_file=`cmake_arg "$1"` ;;
--system-libs) cmake_bootstrap_system_libs="${cmake_bootstrap_system_libs} -DCMAKE_USE_SYSTEM_LIBRARIES=1" ;;
--no-system-libs) cmake_bootstrap_system_libs="${cmake_bootstrap_system_libs} -DCMAKE_USE_SYSTEM_LIBRARIES=0" ;;
- --system-bzip2|--system-curl|--system-expat|--system-jsoncpp|--system-libarchive|--system-zlib|--system-liblzma)
+ --system-bzip2|--system-curl|--system-expat|--system-jsoncpp|--system-libarchive|--system-librhash|--system-zlib|--system-liblzma)
lib=`cmake_arg "$1" "--system-"`
cmake_bootstrap_system_libs="${cmake_bootstrap_system_libs} -DCMAKE_USE_SYSTEM_LIBRARY_`cmake_toupper $lib`=1" ;;
- --no-system-bzip2|--no-system-curl|--no-system-expat|--no-system-jsoncpp|--no-system-libarchive|--no-system-zlib|--no-system-liblzma)
+ --no-system-bzip2|--no-system-curl|--no-system-expat|--no-system-jsoncpp|--no-system-libarchive|--no-system-librhash|--no-system-zlib|--no-system-liblzma)
lib=`cmake_arg "$1" "--no-system-"`
cmake_bootstrap_system_libs="${cmake_bootstrap_system_libs} -DCMAKE_USE_SYSTEM_LIBRARY_`cmake_toupper $lib`=0" ;;
--qt-gui) cmake_bootstrap_qt_gui="1" ;;
@@ -1316,16 +1408,6 @@ for a in ${CMAKE_CXX_SOURCES} ${CMAKE_C_SOURCES} ${KWSYS_CXX_SOURCES} ${KWSYS_C_
objs="${objs} ${a}.o"
done
-# Generate dependencies for cmBootstrapCommands1.cxx
-for file in `grep "#include.*cm[^.]*.cxx" "${cmake_source_dir}/Source/cmBootstrapCommands1.cxx" | sed "s/.* \"\(.*\)\"/\1/"`; do
- cmBootstrapCommands1Deps="${cmBootstrapCommands1Deps} `cmake_escape "${cmake_source_dir}/Source/$file"`"
-done
-cmBootstrapCommands1Deps=`echo $cmBootstrapCommands1Deps`
-for file in `grep "#include.*cm[^.]*.cxx" "${cmake_source_dir}/Source/cmBootstrapCommands2.cxx" | sed "s/.* \"\(.*\)\"/\1/"`; do
- cmBootstrapCommands2Deps="${cmBootstrapCommands2Deps} `cmake_escape "${cmake_source_dir}/Source/$file"`"
-done
-cmBootstrapCommands2Deps=`echo $cmBootstrapCommands2Deps`
-
if [ "x${cmake_ansi_cxx_flags}" != "x" ]; then
cmake_cxx_flags="${cmake_ansi_cxx_flags} ${cmake_cxx_flags}"
fi