From 82578d995ac6a9c0e669aaf3911e3589631dc337 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 26 Sep 2013 14:25:48 -0400 Subject: bootstrap: Report -rc# in --version output --- bootstrap | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bootstrap b/bootstrap index 88e2732..92a88e0 100755 --- a/bootstrap +++ b/bootstrap @@ -42,6 +42,10 @@ cmake_version_tweak="`cmake_version_component TWEAK`" if [ "$cmake_version_tweak" != "0" ]; then cmake_version="${cmake_version}.${cmake_version_tweak}" fi +cmake_version_rc="`cmake_version_component RC`" +if [ "$cmake_version_rc" != "" ]; then + cmake_version="${cmake_version}-rc${cmake_version_rc}" +fi cmake_data_dir="share/cmake-${cmake_version_major}.${cmake_version_minor}" cmake_doc_dir="doc/cmake-${cmake_version_major}.${cmake_version_minor}" -- cgit v0.12 From c72f8513f7adc764aafd94f2deb9071ee1f261d9 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 19 Sep 2013 15:45:41 -0400 Subject: Factor CMake version logic into dedicated module Move logic to compute CMake_VERSION out of the top-level CMakeLists.txt file to a dedicated Source/CMakeVersionCompute.cmake module and include it from the original location. This will allow it to be re-used. --- CMakeLists.txt | 23 ++--------------------- Source/CMakeVersionCompute.cmake | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 21 deletions(-) create mode 100644 Source/CMakeVersionCompute.cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index 5f3bc66..9204026 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -411,27 +411,8 @@ endif() # The main section of the CMakeLists file # #----------------------------------------------------------------------- -include(Source/CMakeVersion.cmake) -# Releases define a small tweak level. -if("${CMake_VERSION_TWEAK}" VERSION_LESS 20000000) - set(CMake_VERSION_IS_RELEASE 1) - set(CMake_VERSION_SOURCE "") -else() - set(CMake_VERSION_IS_RELEASE 0) - include(${CMake_SOURCE_DIR}/Source/CMakeVersionSource.cmake) -endif() - -# Compute the full version string. -set(CMake_VERSION ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}.${CMake_VERSION_PATCH}) -if(${CMake_VERSION_TWEAK} GREATER 0) - set(CMake_VERSION ${CMake_VERSION}.${CMake_VERSION_TWEAK}) -endif() -if(CMake_VERSION_RC) - set(CMake_VERSION ${CMake_VERSION}-rc${CMake_VERSION_RC}) -endif() -if(CMake_VERSION_SOURCE) - set(CMake_VERSION ${CMake_VERSION}-${CMake_VERSION_SOURCE}) -endif() +# Compute CMake_VERSION, etc. +include(Source/CMakeVersionCompute.cmake) # Include the standard Dart testing module enable_testing() diff --git a/Source/CMakeVersionCompute.cmake b/Source/CMakeVersionCompute.cmake new file mode 100644 index 0000000..a166334 --- /dev/null +++ b/Source/CMakeVersionCompute.cmake @@ -0,0 +1,23 @@ +# Load version number components. +include(${CMake_SOURCE_DIR}/Source/CMakeVersion.cmake) + +# Releases define a small tweak level. +if("${CMake_VERSION_TWEAK}" VERSION_LESS 20000000) + set(CMake_VERSION_IS_RELEASE 1) + set(CMake_VERSION_SOURCE "") +else() + set(CMake_VERSION_IS_RELEASE 0) + include(${CMake_SOURCE_DIR}/Source/CMakeVersionSource.cmake) +endif() + +# Compute the full version string. +set(CMake_VERSION ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}.${CMake_VERSION_PATCH}) +if(${CMake_VERSION_TWEAK} GREATER 0) + set(CMake_VERSION ${CMake_VERSION}.${CMake_VERSION_TWEAK}) +endif() +if(CMake_VERSION_RC) + set(CMake_VERSION ${CMake_VERSION}-rc${CMake_VERSION_RC}) +endif() +if(CMake_VERSION_SOURCE) + set(CMake_VERSION ${CMake_VERSION}-${CMake_VERSION_SOURCE}) +endif() -- cgit v0.12 From c9a5f34bd7d35ebf8a4a326481ce22e809de8e4c Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 26 Sep 2013 14:13:38 -0400 Subject: Cleanup use of CMake version in install destinations Factor the CMAKE_DATA_DIR, CMAKE_DOC_DIR, and CMAKE_MAN_DIR selection out of CMakeLists.txt and into a Source/CMakeInstallDestinations.cmake script. Load the script from the original location of the code. Cache the destination values as empty strings so we know if the user sets them explicitly. If not, then compute defaults based on the platform and full CMake version string. By not caching the versioned defaults, we can change them in a single build tree as the version changes. Remove duplication of the install destination defaults from the bootstrap script. Cache empty defaults there too. Parse from the CMake code the default values to report in the help output. Keep the CMake code in a structured format to make this reliable. --- CMakeLists.txt | 23 ++------------------- Source/CMakeInstallDestinations.cmake | 36 ++++++++++++++++++++++++++++++++ bootstrap | 39 +++++++++++++++++++++++++++-------- 3 files changed, 68 insertions(+), 30 deletions(-) create mode 100644 Source/CMakeInstallDestinations.cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index 9204026..3ad2d24 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -432,27 +432,8 @@ set(LIBRARY_OUTPUT_PATH "" CACHE INTERNAL # install tree. set(CMAKE_SKIP_RPATH ON CACHE INTERNAL "CMake does not need RPATHs.") -set(CMAKE_DATA_DIR "share/cmake-${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}" CACHE STRING - "Install location for data (relative to prefix).") -set(CMAKE_DOC_DIR "doc/cmake-${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}" CACHE STRING - "Install location for documentation (relative to prefix).") -set(CMAKE_MAN_DIR "man" CACHE STRING - "Install location for man pages (relative to prefix).") -mark_as_advanced(CMAKE_DATA_DIR CMAKE_DOC_DIR CMAKE_MAN_DIR) -if(CYGWIN AND EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") - # Force doc, data and man dirs to conform to cygwin layout. - set(CMAKE_DOC_DIR "share/doc/cmake-${CMake_VERSION}") - set(CMAKE_DATA_DIR "share/cmake-${CMake_VERSION}") - set(CMAKE_MAN_DIR "share/man") - # let the user know we just forced these values - message(STATUS "Setup for Cygwin packaging") - message(STATUS "Override cache CMAKE_DOC_DIR = ${CMAKE_DOC_DIR}") - message(STATUS "Override cache CMAKE_DATA_DIR = ${CMAKE_DATA_DIR}") - message(STATUS "Override cache CMAKE_MAN_DIR = ${CMAKE_MAN_DIR}") -endif() -string(REGEX REPLACE "^/" "" CMAKE_DATA_DIR "${CMAKE_DATA_DIR}") -string(REGEX REPLACE "^/" "" CMAKE_DOC_DIR "${CMAKE_DOC_DIR}") -string(REGEX REPLACE "^/" "" CMAKE_MAN_DIR "${CMAKE_MAN_DIR}") +# Load install destinations. +include(Source/CMakeInstallDestinations.cmake) if(BUILD_TESTING) include(${CMake_SOURCE_DIR}/Tests/CMakeInstall.cmake) diff --git a/Source/CMakeInstallDestinations.cmake b/Source/CMakeInstallDestinations.cmake new file mode 100644 index 0000000..33e8ce8 --- /dev/null +++ b/Source/CMakeInstallDestinations.cmake @@ -0,0 +1,36 @@ +# Keep formatting here consistent with bootstrap script expectations. +set(CMAKE_DATA_DIR_DEFAULT "share/cmake-${CMake_VERSION}") # OTHER +if(BEOS) + set(CMAKE_MAN_DIR_DEFAULT "documentation/man") # HAIKU + set(CMAKE_DOC_DIR_DEFAULT "documentation/doc/cmake-${CMake_VERSION}") # HAIKU +elseif(CYGWIN) + set(CMAKE_DOC_DIR_DEFAULT "share/doc/cmake-${CMake_VERSION}") # CYGWIN + set(CMAKE_MAN_DIR_DEFAULT "share/man") # CYGWIN +else() + set(CMAKE_DOC_DIR_DEFAULT "doc/cmake-${CMake_VERSION}") # OTHER + set(CMAKE_MAN_DIR_DEFAULT "man") # OTHER +endif() + +set(CMAKE_DATA_DIR_DESC "data") +set(CMAKE_DOC_DIR_DESC "docs") +set(CMAKE_MAN_DIR_DESC "man pages") + +foreach(v + CMAKE_DATA_DIR + CMAKE_DOC_DIR + CMAKE_MAN_DIR + ) + # Populate the cache with empty values so we know when the user sets them. + set(${v} "" CACHE STRING "") + set_property(CACHE ${v} PROPERTY HELPSTRING + "Location under install prefix for ${${v}_DESC} (default \"${${v}_DEFAULT}\")" + ) + set_property(CACHE ${v} PROPERTY ADVANCED 1) + + # Use the default when the user did not set this variable. + if(NOT ${v}) + set(${v} "${${v}_DEFAULT}") + endif() + # Remove leading slash to treat as relative to install prefix. + string(REGEX REPLACE "^/" "" ${v} "${${v}}") +endforeach() diff --git a/bootstrap b/bootstrap index 92a88e0..1e7567f 100755 --- a/bootstrap +++ b/bootstrap @@ -23,6 +23,15 @@ cmake_version_component() " } +# Install destination extraction function. +cmake_install_dest_default() +{ + cat "${cmake_source_dir}/Source/CMakeInstallDestinations.cmake" | sed -n ' +/^ *set(CMAKE_'"${1}"'_DIR_DEFAULT.*) # '"${2}"'$/ { + s/^ *set(CMAKE_'"${1}"'_DIR_DEFAULT *"\([^"]*\)").*$/\1/;p;q;} +' +} + cmake_toupper() { echo "$1" | sed 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' @@ -47,9 +56,12 @@ if [ "$cmake_version_rc" != "" ]; then cmake_version="${cmake_version}-rc${cmake_version_rc}" fi -cmake_data_dir="share/cmake-${cmake_version_major}.${cmake_version_minor}" -cmake_doc_dir="doc/cmake-${cmake_version_major}.${cmake_version_minor}" -cmake_man_dir="man" +cmake_data_dir_keyword="OTHER" +cmake_doc_dir_keyword="OTHER" +cmake_man_dir_keyword="OTHER" +cmake_data_dir="" +cmake_doc_dir="" +cmake_man_dir="" cmake_init_file="" cmake_bootstrap_system_libs="" cmake_bootstrap_qt_gui="" @@ -58,6 +70,8 @@ cmake_bootstrap_qt_qmake="" # Determine whether this is a Cygwin environment. if echo "${cmake_system}" | grep CYGWIN >/dev/null 2>&1; then cmake_system_cygwin=true + cmake_doc_dir_keyword="CYGWIN" + cmake_man_dir_keyword="CYGWIN" else cmake_system_cygwin=false fi @@ -79,6 +93,8 @@ fi # Determine whether this is BeOS if echo "${cmake_system}" | grep BeOS >/dev/null 2>&1; then cmake_system_beos=true + cmake_doc_dir_keyword="HAIKU" + cmake_man_dir_keyword="HAIKU" else cmake_system_beos=false fi @@ -86,6 +102,8 @@ fi # Determine whether this is Haiku if echo "${cmake_system}" | grep Haiku >/dev/null 2>&1; then cmake_system_haiku=true + cmake_doc_dir_keyword="HAIKU" + cmake_man_dir_keyword="HAIKU" else cmake_system_haiku=false fi @@ -164,12 +182,15 @@ if ${cmake_system_mingw}; then fi elif ${cmake_system_haiku}; then cmake_default_prefix=`finddir B_COMMON_DIRECTORY` - cmake_man_dir="documentation/man" - cmake_doc_dir="documentation/doc/cmake-${cmake_version}" else cmake_default_prefix="/usr/local" fi +# Lookup default install destinations. +cmake_data_dir_default="`cmake_install_dest_default DATA ${cmake_data_dir_keyword}`" +cmake_doc_dir_default="`cmake_install_dest_default DOC ${cmake_doc_dir_keyword}`" +cmake_man_dir_default="`cmake_install_dest_default MAN ${cmake_man_dir_keyword}`" + CMAKE_KNOWN_C_COMPILERS="cc gcc xlc icc tcc" CMAKE_KNOWN_CXX_COMPILERS="aCC xlC CC g++ c++ icc como " CMAKE_KNOWN_MAKE_PROCESSORS="gmake make" @@ -360,11 +381,11 @@ Directory and file names: --prefix=PREFIX install files in tree rooted at PREFIX ['"${cmake_default_prefix}"'] --datadir=DIR install data files in PREFIX/DIR - ['"${cmake_data_dir}"'] + ['"${cmake_data_dir_default}"'] --docdir=DIR install documentation files in PREFIX/DIR - ['"${cmake_doc_dir}"'] + ['"${cmake_doc_dir_default}"'] --mandir=DIR install man pages files in PREFIX/DIR/manN - ['"${cmake_man_dir}"'] + ['"${cmake_man_dir_default}"'] ' exit 10 } @@ -1408,7 +1429,7 @@ cmake_report cmVersionConfig.h${_tmp} "#define CMake_VERSION_PATCH ${cmake_versi cmake_report cmVersionConfig.h${_tmp} "#define CMake_VERSION_TWEAK ${cmake_version_tweak}" cmake_report cmVersionConfig.h${_tmp} "#define CMake_VERSION \"${cmake_version}\"" cmake_report cmConfigure.h${_tmp} "#define CMAKE_ROOT_DIR \"${cmake_root_dir}\"" -cmake_report cmConfigure.h${_tmp} "#define CMAKE_DATA_DIR \"/${cmake_data_dir}\"" +cmake_report cmConfigure.h${_tmp} "#define CMAKE_DATA_DIR \"/bootstrap-not-insalled\"" cmake_report cmConfigure.h${_tmp} "#define CMAKE_BOOTSTRAP" # Regenerate configured headers -- cgit v0.12 From 6e68bc22733817783117b20efb8bf0169e9e98c7 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 23 Sep 2013 13:42:49 -0400 Subject: cmake: Add --help-policy-list option All the other --help- options have a corresponding option --help--list. Add one for --help-policy. --- Source/cmDocumentation.cxx | 9 +++++++++ Source/cmDocumentationFormatter.h | 2 +- Source/cmakemain.cxx | 6 ++++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx index 58ce36b..74bdc84 100644 --- a/Source/cmDocumentation.cxx +++ b/Source/cmDocumentation.cxx @@ -371,6 +371,9 @@ bool cmDocumentation::PrintDocumentation(Type ht, std::ostream& os, this->PrintDocumentationList(os,i->c_str()); } return true; + case cmDocumentation::PolicyList: + this->PrintDocumentationList(os,"Policies"); + return true; case cmDocumentation::Full: return this->PrintDocumentationFull(os); case cmDocumentation::Modules: @@ -1256,6 +1259,12 @@ bool cmDocumentation::CheckOptions(int argc, const char* const* argv, GET_OPT_ARGUMENT(help.Filename); help.HelpForm = cmDocumentation::TextForm; } + else if(strcmp(argv[i], "--help-policy-list") == 0) + { + help.HelpType = cmDocumentation::PolicyList; + GET_OPT_ARGUMENT(help.Filename); + help.HelpForm = cmDocumentation::TextForm; + } else if(strcmp(argv[i], "--copyright") == 0) { help.HelpType = cmDocumentation::Copyright; diff --git a/Source/cmDocumentationFormatter.h b/Source/cmDocumentationFormatter.h index 665b9b6..d8ce613 100644 --- a/Source/cmDocumentationFormatter.h +++ b/Source/cmDocumentationFormatter.h @@ -26,7 +26,7 @@ public: /** Types of help provided. */ enum Type { None, Usage, Single, SingleModule, SingleProperty, SingleVariable, - List, ModuleList, PropertyList, VariableList, + List, ModuleList, PropertyList, VariableList, PolicyList, Full, Properties, Variables, Modules, CustomModules, Commands, CompatCommands, Copyright, Version, Policies, SinglePolicy }; diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx index 73c76e4..a9fc15f 100644 --- a/Source/cmakemain.cxx +++ b/Source/cmakemain.cxx @@ -195,6 +195,12 @@ static const char * cmDocumentationOptions[][3] = "If a file is specified, the documentation is written into and the output " "format is determined depending on the filename suffix. Supported are man " "page, HTML, DocBook and plain text."}, + {"--help-policy-list [file]", "List available policies and exit.", + "The list contains all policies for which help may be obtained by using " + "the --help-policy argument followed by a policy name. " + "If a file is specified, the documentation is written into and the output " + "format is determined depending on the filename suffix. Supported are man " + "page, HTML, DocBook and plain text."}, {"--help-policies [file]", "Print help for all policies and exit.", "Full documentation for all policies is displayed." "If a file is specified, the documentation is written into and the output " -- cgit v0.12 From 07b80021aad97a4f4243e97576bae4670114a3ca Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 25 Sep 2013 11:28:17 -0400 Subject: cmDocumentation: Drop version output from usage and text help Drop the "cmake version ..." line from the top of usage and text help formats. Print it only when requested with --version or similar option. --- Source/cmDocumentation.cxx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx index 74bdc84..9cb99ee 100644 --- a/Source/cmDocumentation.cxx +++ b/Source/cmDocumentation.cxx @@ -307,13 +307,6 @@ void cmDocumentation::AddDocumentIntroToPrint(const char* intro[2]) bool cmDocumentation::PrintDocumentation(Type ht, std::ostream& os, const char* docname) { - if ((this->CurrentFormatter->GetForm() != HTMLForm) - && (this->CurrentFormatter->GetForm() != DocbookForm) - && (this->CurrentFormatter->GetForm() != ManForm)) - { - this->PrintVersion(os); - } - // Handle Document Name. docname==0 disables intro. this->SetDocName(""); if (docname) @@ -394,7 +387,7 @@ bool cmDocumentation::PrintDocumentation(Type ht, std::ostream& os, case cmDocumentation::Copyright: return this->PrintCopyright(os); case cmDocumentation::Version: - return true; + return this->PrintVersion(os); default: return false; } } -- cgit v0.12 From b601e2350afa89e592c4a601b08f8c74728d1ae3 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 23 Sep 2013 14:30:25 -0400 Subject: Rename Docs to Auxiliary The directory contains auxiliary support files for integration with other tools, not documentation. --- Auxiliary/CMakeLists.txt | 3 + Auxiliary/bash-completion/CMakeLists.txt | 8 + Auxiliary/bash-completion/cmake | 151 +++++++++++++ Auxiliary/bash-completion/cpack | 61 ++++++ Auxiliary/bash-completion/ctest | 81 +++++++ Auxiliary/cmake-help.vim | 21 ++ Auxiliary/cmake-indent.vim | 93 ++++++++ Auxiliary/cmake-mode.el | 357 +++++++++++++++++++++++++++++++ Auxiliary/cmake-syntax.vim | 89 ++++++++ CMakeLists.txt | 4 +- Docs/CMakeLists.txt | 3 - Docs/bash-completion/CMakeLists.txt | 8 - Docs/bash-completion/cmake | 151 ------------- Docs/bash-completion/cpack | 61 ------ Docs/bash-completion/ctest | 81 ------- Docs/cmake-help.vim | 21 -- Docs/cmake-indent.vim | 93 -------- Docs/cmake-mode.el | 357 ------------------------------- Docs/cmake-syntax.vim | 89 -------- 19 files changed, 866 insertions(+), 866 deletions(-) create mode 100644 Auxiliary/CMakeLists.txt create mode 100644 Auxiliary/bash-completion/CMakeLists.txt create mode 100644 Auxiliary/bash-completion/cmake create mode 100644 Auxiliary/bash-completion/cpack create mode 100644 Auxiliary/bash-completion/ctest create mode 100644 Auxiliary/cmake-help.vim create mode 100644 Auxiliary/cmake-indent.vim create mode 100644 Auxiliary/cmake-mode.el create mode 100644 Auxiliary/cmake-syntax.vim delete mode 100644 Docs/CMakeLists.txt delete mode 100644 Docs/bash-completion/CMakeLists.txt delete mode 100644 Docs/bash-completion/cmake delete mode 100644 Docs/bash-completion/cpack delete mode 100644 Docs/bash-completion/ctest delete mode 100644 Docs/cmake-help.vim delete mode 100644 Docs/cmake-indent.vim delete mode 100644 Docs/cmake-mode.el delete mode 100644 Docs/cmake-syntax.vim diff --git a/Auxiliary/CMakeLists.txt b/Auxiliary/CMakeLists.txt new file mode 100644 index 0000000..34090d2 --- /dev/null +++ b/Auxiliary/CMakeLists.txt @@ -0,0 +1,3 @@ +install(FILES cmake-help.vim cmake-indent.vim cmake-syntax.vim DESTINATION ${CMAKE_DATA_DIR}/editors/vim) +install(FILES cmake-mode.el DESTINATION ${CMAKE_DATA_DIR}/editors/emacs) +add_subdirectory (bash-completion) diff --git a/Auxiliary/bash-completion/CMakeLists.txt b/Auxiliary/bash-completion/CMakeLists.txt new file mode 100644 index 0000000..c0a8899 --- /dev/null +++ b/Auxiliary/bash-completion/CMakeLists.txt @@ -0,0 +1,8 @@ +# Always install completion file in local dir +# in order to be sure to always be able to install +# in a local user directory rooted in a single directory. +# packager should either patch that out or +# add symlinks to the files in appropriate places +# /etc/bash_completion.d/ +# DATADIR/completions (may be /usr/share//completions +install(FILES cmake cpack ctest DESTINATION ${CMAKE_DATA_DIR}/completions) diff --git a/Auxiliary/bash-completion/cmake b/Auxiliary/bash-completion/cmake new file mode 100644 index 0000000..59e0298 --- /dev/null +++ b/Auxiliary/bash-completion/cmake @@ -0,0 +1,151 @@ +# bash completion for cmake(1) -*- shell-script -*- + +_cmake() +{ + local cur prev words cword split=false + _init_completion -n := || return + + # Workaround for options like -DCMAKE_BUILD_TYPE=Release + local prefix= + if [[ $cur == -D* ]]; then + prev=-D + prefix=-D + cur="${cur#-D}" + elif [[ $cur == -U* ]]; then + prev=-U + prefix=-U + cur="${cur#-U}" + fi + + case "$prev" in + -D) + if [[ $cur == *=* ]]; then + # complete values for variables + local var type value + var="${cur%%[:=]*}" + value="${cur#*=}" + + if [[ $cur == CMAKE_BUILD_TYPE* ]]; then # most widely used case + COMPREPLY=( $( compgen -W 'Debug Release RelWithDebInfo + MinSizeRel' -- "$value" ) ) + return + fi + + if [[ $cur == *:* ]]; then + type="${cur#*:}" + type="${type%%=*}" + else # get type from cache if it's not set explicitly + type=$( cmake -LA -N 2>/dev/null | grep "$var:" \ + 2>/dev/null ) + type="${type#*:}" + type="${type%%=*}" + fi + case "$type" in + FILEPATH) + cur="$value" + _filedir + return + ;; + PATH) + cur="$value" + _filedir -d + return + ;; + BOOL) + COMPREPLY=( $( compgen -W 'ON OFF TRUE FALSE' -- \ + "$value" ) ) + return + ;; + STRING|INTERNAL) + # no completion available + return + ;; + esac + elif [[ $cur == *:* ]]; then + # complete types + local type="${cur#*:}" + COMPREPLY=( $( compgen -W 'FILEPATH PATH STRING BOOL INTERNAL'\ + -S = -- "$type" ) ) + compopt -o nospace + else + # complete variable names + COMPREPLY=( $( compgen -W '$( cmake -LA -N | tail -n +2 | + cut -f1 -d: )' -P "$prefix" -- "$cur" ) ) + compopt -o nospace + fi + return + ;; + -U) + COMPREPLY=( $( compgen -W '$( cmake -LA -N | tail -n +2 | + cut -f1 -d: )' -P "$prefix" -- "$cur" ) ) + return + ;; + esac + + _split_longopt && split=true + + case "$prev" in + -C|-P|--graphviz|--system-information) + _filedir + return + ;; + --build) + _filedir -d + return + ;; + -E) + COMPREPLY=( $( compgen -W "$( cmake -E help |& sed -n \ + '/^ /{s|^ \([^ ]\{1,\}\) .*$|\1|;p}' 2>/dev/null )" \ + -- "$cur" ) ) + return + ;; + -G) + local IFS=$'\n' + local quoted + printf -v quoted %q "$cur" + COMPREPLY=( $( compgen -W '$( cmake --help 2>/dev/null | sed -n \ + -e "1,/^Generators/d" \ + -e "/^ *[^ =]/{s|^ *\([^=]*[^ =]\).*$|\1|;s| |\\\\ |g;p}" \ + 2>/dev/null )' -- "$quoted" ) ) + return + ;; + --help-command) + COMPREPLY=( $( compgen -W '$( cmake --help-command-list 2>/dev/null| + grep -v "^cmake version " )' -- "$cur" ) ) + return + ;; + --help-module) + COMPREPLY=( $( compgen -W '$( cmake --help-module-list 2>/dev/null| + grep -v "^cmake version " )' -- "$cur" ) ) + return + ;; + --help-policy) + COMPREPLY=( $( compgen -W '$( cmake --help-policies 2>/dev/null | + grep "^ CMP" 2>/dev/null )' -- "$cur" ) ) + return + ;; + --help-property) + COMPREPLY=( $( compgen -W '$( cmake --help-property-list \ + 2>/dev/null | grep -v "^cmake version " )' -- "$cur" ) ) + return + ;; + --help-variable) + COMPREPLY=( $( compgen -W '$( cmake --help-variable-list \ + 2>/dev/null | grep -v "^cmake version " )' -- "$cur" ) ) + return + ;; + esac + + $split && return + + if [[ "$cur" == -* ]]; then + COMPREPLY=( $(compgen -W '$( _parse_help "$1" --help )' -- ${cur}) ) + [[ $COMPREPLY == *= ]] && compopt -o nospace + [[ $COMPREPLY ]] && return + fi + + _filedir +} && +complete -F _cmake cmake + +# ex: ts=4 sw=4 et filetype=sh diff --git a/Auxiliary/bash-completion/cpack b/Auxiliary/bash-completion/cpack new file mode 100644 index 0000000..9ab6048 --- /dev/null +++ b/Auxiliary/bash-completion/cpack @@ -0,0 +1,61 @@ +# bash completion for cpack(1) -*- shell-script -*- + +_cpack() +{ + local cur prev words cword + _init_completion -n = || return + + case "$prev" in + -G) + COMPREPLY=( $( compgen -W '$( cpack --help 2>/dev/null | + sed -e "1,/^Generators/d" -e "s|^ *\([^ ]*\) .*$|\1|" \ + 2>/dev/null )' -- "$cur" ) ) + return + ;; + -C) + COMPREPLY=( $( compgen -W 'Debug Release RelWithDebInfo + MinSizeRel' -- "$cur" ) ) + return + ;; + -D) + [[ $cur == *=* ]] && return # no completion for values + COMPREPLY=( $( compgen -W '$( cpack --help-variable-list \ + 2>/dev/null | grep -v "^cpack version " )' -S = -- "$cur" ) ) + compopt -o nospace + return + ;; + -P|-R|--vendor) + # argument required but no completions available + return + ;; + -B) + _filedir -d + return + ;; + --config) + _filedir + return + ;; + --help-command) + COMPREPLY=( $( compgen -W '$( cpack --help-command-list 2>/dev/null| + grep -v "^cpack version " )' -- "$cur" ) ) + return + ;; + --help-variable) + COMPREPLY=( $( compgen -W '$( cpack --help-variable-list \ + 2>/dev/null | grep -v "^cpack version " )' -- "$cur" ) ) + return + ;; + esac + + if [[ "$cur" == -* ]]; then + COMPREPLY=( $(compgen -W '$( _parse_help "$1" --help )' -- ${cur}) ) + [[ $COMPREPLY == *= ]] && compopt -o nospace + [[ $COMPREPLY ]] && return + fi + + _filedir +} && +complete -F _cpack cpack + +# ex: ts=4 sw=4 et filetype=sh diff --git a/Auxiliary/bash-completion/ctest b/Auxiliary/bash-completion/ctest new file mode 100644 index 0000000..25cb998 --- /dev/null +++ b/Auxiliary/bash-completion/ctest @@ -0,0 +1,81 @@ +# bash completion for ctest(1) -*- shell-script -*- + +_ctest() +{ + local cur prev words cword + _init_completion -n = || return + + case "$prev" in + -C|--build-config) + COMPREPLY=( $( compgen -W 'Debug Release RelWithDebInfo + MinSizeRel' -- "$cur" ) ) + return + ;; + -j|--parallel) + COMPREPLY=( $( compgen -W "{1..$(( $(_ncpus)*2 ))}" -- "$cur" ) ) + return + ;; + -O|--output-log|-A|--add-notes|--extra-submit) + _filedir + return + ;; + -L|--label-regex|-LE|--label-exclude|--track|-I|--tests-information|\ + --max-width|--timeout|--stop-time) + # argument required but no completions available + return + ;; + -R|--tests-regex|-E|--exclude-regex) + COMPREPLY=( $( compgen -W '$( ctest -N 2>/dev/null | + grep "^ Test" 2>/dev/null | cut -d: -f 2 )' -- "$cur" ) ) + return + ;; + -D|--dashboard) + if [[ $cur == @(Experimental|Nightly|Continuous)* ]]; then + local model action + action=${cur#@(Experimental|Nightly|Continuous)} + model=${cur%"$action"} + COMPREPLY=( $( compgen -W 'Start Update Configure Build Test + Coverage Submit MemCheck' -P "$model" -- "$action" ) ) + else + COMPREPLY=( $( compgen -W 'Experimental Nightly Continuous' \ + -- "$cur" ) ) + compopt -o nospace + fi + return + ;; + -M|--test-model) + COMPREPLY=( $( compgen -W 'Experimental Nightly Continuous' -- \ + "$cur" ) ) + return + ;; + -T|--test-action) + COMPREPLY=( $( compgen -W 'Start Update Configure Build Test + Coverage Submit MemCheck' -- "$cur" ) ) + return + ;; + -S|--script|-SP|--script-new-process) + _filedir '@(cmake|ctest)' + return + ;; + --interactive-debug-mode) + COMPREPLY=( $( compgen -W '0 1' -- "$cur" ) ) + return + ;; + --help-command) + COMPREPLY=( $( compgen -W '$( ctest --help-command-list 2>/dev/null| + grep -v "^ctest version " )' -- "$cur" ) ) + return + ;; + esac + + if [[ "$cur" == -* ]]; then + COMPREPLY=( $(compgen -W '$( _parse_help "$1" --help )' -- ${cur}) ) + [[ $COMPREPLY == *= ]] && compopt -o nospace + [[ $COMPREPLY ]] && return + fi + + _filedir +} && +complete -F _ctest ctest + +# ex: ts=4 sw=4 et filetype=sh diff --git a/Auxiliary/cmake-help.vim b/Auxiliary/cmake-help.vim new file mode 100644 index 0000000..17cfa83 --- /dev/null +++ b/Auxiliary/cmake-help.vim @@ -0,0 +1,21 @@ +nmap ,hc :call OpenCmakeHelp() + +function! OpenCmakeHelp() + let s = getline( '.' ) + let i = col( '.' ) - 1 + while i > 0 && strpart( s, i, 1 ) =~ '[A-Za-z0-9_]' + let i = i - 1 + endwhile + while i < col('$') && strpart( s, i, 1 ) !~ '[A-Za-z0-9_]' + let i = i + 1 + endwhile + let start = match( s, '[A-Za-z0-9_]\+', i ) + let end = matchend( s, '[A-Za-z0-9_]\+', i ) + let ident = strpart( s, start, end - start ) + execute "vertical new" + execute "%!cmake --help-command ".ident + set nomodified + set readonly +endfunction + +autocmd BufRead,BufNewFile *.cmake,CMakeLists.txt,*.cmake.in nmap :call OpenCmakeHelp() diff --git a/Auxiliary/cmake-indent.vim b/Auxiliary/cmake-indent.vim new file mode 100644 index 0000000..a26dd06 --- /dev/null +++ b/Auxiliary/cmake-indent.vim @@ -0,0 +1,93 @@ +" ============================================================================= +" +" Program: CMake - Cross-Platform Makefile Generator +" Module: $RCSfile$ +" Language: VIM +" Date: $Date$ +" Version: $Revision$ +" +" ============================================================================= + +" Vim indent file +" Language: CMake (ft=cmake) +" Author: Andy Cedilnik +" Maintainer: Karthik Krishnan +" Last Change: $Date$ +" Version: $Revision$ +" +" Licence: The CMake license applies to this file. See +" http://www.cmake.org/HTML/Copyright.html +" This implies that distribution with Vim is allowed + +if exists("b:did_indent") + finish +endif +let b:did_indent = 1 + +setlocal indentexpr=CMakeGetIndent(v:lnum) +setlocal indentkeys+==ENDIF(,ENDFOREACH(,ENDMACRO(,ELSE(,ELSEIF(,ENDWHILE( + +" Only define the function once. +if exists("*CMakeGetIndent") + finish +endif + +fun! CMakeGetIndent(lnum) + let this_line = getline(a:lnum) + + " Find a non-blank line above the current line. + let lnum = a:lnum + let lnum = prevnonblank(lnum - 1) + let previous_line = getline(lnum) + + " Hit the start of the file, use zero indent. + if lnum == 0 + return 0 + endif + + let ind = indent(lnum) + + let or = '\|' + " Regular expressions used by line indentation function. + let cmake_regex_comment = '#.*' + let cmake_regex_identifier = '[A-Za-z][A-Za-z0-9_]*' + let cmake_regex_quoted = '"\([^"\\]\|\\.\)*"' + let cmake_regex_arguments = '\(' . cmake_regex_quoted . + \ or . '\$(' . cmake_regex_identifier . ')' . + \ or . '[^()\\#"]' . or . '\\.' . '\)*' + + let cmake_indent_comment_line = '^\s*' . cmake_regex_comment + let cmake_indent_blank_regex = '^\s*$' + let cmake_indent_open_regex = '^\s*' . cmake_regex_identifier . + \ '\s*(' . cmake_regex_arguments . + \ '\(' . cmake_regex_comment . '\)\?$' + + let cmake_indent_close_regex = '^' . cmake_regex_arguments . + \ ')\s*' . + \ '\(' . cmake_regex_comment . '\)\?$' + + let cmake_indent_begin_regex = '^\s*\(IF\|MACRO\|FOREACH\|ELSE\|ELSEIF\|WHILE\|FUNCTION\)\s*(' + let cmake_indent_end_regex = '^\s*\(ENDIF\|ENDFOREACH\|ENDMACRO\|ELSE\|ELSEIF\|ENDWHILE\|ENDFUNCTION\)\s*(' + + " Add + if previous_line =~? cmake_indent_comment_line " Handle comments + let ind = ind + else + if previous_line =~? cmake_indent_begin_regex + let ind = ind + &sw + endif + if previous_line =~? cmake_indent_open_regex + let ind = ind + &sw + endif + endif + + " Subtract + if this_line =~? cmake_indent_end_regex + let ind = ind - &sw + endif + if previous_line =~? cmake_indent_close_regex + let ind = ind - &sw + endif + + return ind +endfun diff --git a/Auxiliary/cmake-mode.el b/Auxiliary/cmake-mode.el new file mode 100644 index 0000000..6feed94 --- /dev/null +++ b/Auxiliary/cmake-mode.el @@ -0,0 +1,357 @@ +;============================================================================= +; CMake - Cross Platform Makefile Generator +; Copyright 2000-2009 Kitware, Inc., Insight Software Consortium +; +; Distributed under the OSI-approved BSD License (the "License"); +; see accompanying file Copyright.txt for details. +; +; This software is distributed WITHOUT ANY WARRANTY; without even the +; implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +; See the License for more information. +;============================================================================= +;;; cmake-mode.el --- major-mode for editing CMake sources + +;------------------------------------------------------------------------------ + +;;; Commentary: + +;; Provides syntax highlighting and indentation for CMakeLists.txt and +;; *.cmake source files. +;; +;; Add this code to your .emacs file to use the mode: +;; +;; (setq load-path (cons (expand-file-name "/dir/with/cmake-mode") load-path)) +;; (require 'cmake-mode) +;; (setq auto-mode-alist +;; (append '(("CMakeLists\\.txt\\'" . cmake-mode) +;; ("\\.cmake\\'" . cmake-mode)) +;; auto-mode-alist)) + +;------------------------------------------------------------------------------ + +;;; Code: +;; +;; cmake executable variable used to run cmake --help-command +;; on commands in cmake-mode +;; +;; cmake-command-help Written by James Bigler +;; + +(defcustom cmake-mode-cmake-executable "cmake" + "*The name of the cmake executable. + +This can be either absolute or looked up in $PATH. You can also +set the path with these commands: + (setenv \"PATH\" (concat (getenv \"PATH\") \";C:\\\\Program Files\\\\CMake 2.8\\\\bin\")) + (setenv \"PATH\" (concat (getenv \"PATH\") \":/usr/local/cmake/bin\"))" + :type 'file + :group 'cmake) +;; +;; Regular expressions used by line indentation function. +;; +(defconst cmake-regex-blank "^[ \t]*$") +(defconst cmake-regex-comment "#.*") +(defconst cmake-regex-paren-left "(") +(defconst cmake-regex-paren-right ")") +(defconst cmake-regex-argument-quoted + "\"\\([^\"\\\\]\\|\\\\\\(.\\|\n\\)\\)*\"") +(defconst cmake-regex-argument-unquoted + "\\([^ \t\r\n()#\"\\\\]\\|\\\\.\\)\\([^ \t\r\n()#\\\\]\\|\\\\.\\)*") +(defconst cmake-regex-token (concat "\\(" cmake-regex-comment + "\\|" cmake-regex-paren-left + "\\|" cmake-regex-paren-right + "\\|" cmake-regex-argument-unquoted + "\\|" cmake-regex-argument-quoted + "\\)")) +(defconst cmake-regex-indented (concat "^\\(" + cmake-regex-token + "\\|" "[ \t\r\n]" + "\\)*")) +(defconst cmake-regex-block-open + "^\\(if\\|macro\\|foreach\\|else\\|elseif\\|while\\|function\\)$") +(defconst cmake-regex-block-close + "^[ \t]*\\(endif\\|endforeach\\|endmacro\\|else\\|elseif\\|endwhile\\|endfunction\\)[ \t]*(") + +;------------------------------------------------------------------------------ + +;; +;; Helper functions for line indentation function. +;; +(defun cmake-line-starts-inside-string () + "Determine whether the beginning of the current line is in a string." + (if (save-excursion + (beginning-of-line) + (let ((parse-end (point))) + (beginning-of-buffer) + (nth 3 (parse-partial-sexp (point) parse-end)) + ) + ) + t + nil + ) + ) + +(defun cmake-find-last-indented-line () + "Move to the beginning of the last line that has meaningful indentation." + (let ((point-start (point)) + region) + (forward-line -1) + (setq region (buffer-substring-no-properties (point) point-start)) + (while (and (not (bobp)) + (or (looking-at cmake-regex-blank) + (cmake-line-starts-inside-string) + (not (and (string-match cmake-regex-indented region) + (= (length region) (match-end 0)))))) + (forward-line -1) + (setq region (buffer-substring-no-properties (point) point-start)) + ) + ) + ) + +;------------------------------------------------------------------------------ + +;; +;; Line indentation function. +;; +(defun cmake-indent () + "Indent current line as CMAKE code." + (interactive) + (if (cmake-line-starts-inside-string) + () + (if (bobp) + (cmake-indent-line-to 0) + (let (cur-indent) + + (save-excursion + (beginning-of-line) + + (let ((point-start (point)) + (case-fold-search t) ;; case-insensitive + token) + + ; Search back for the last indented line. + (cmake-find-last-indented-line) + + ; Start with the indentation on this line. + (setq cur-indent (current-indentation)) + + ; Search forward counting tokens that adjust indentation. + (while (re-search-forward cmake-regex-token point-start t) + (setq token (match-string 0)) + (if (string-match (concat "^" cmake-regex-paren-left "$") token) + (setq cur-indent (+ cur-indent cmake-tab-width)) + ) + (if (string-match (concat "^" cmake-regex-paren-right "$") token) + (setq cur-indent (- cur-indent cmake-tab-width)) + ) + (if (and + (string-match cmake-regex-block-open token) + (looking-at (concat "[ \t]*" cmake-regex-paren-left)) + ) + (setq cur-indent (+ cur-indent cmake-tab-width)) + ) + ) + (goto-char point-start) + + ; If this is the end of a block, decrease indentation. + (if (looking-at cmake-regex-block-close) + (setq cur-indent (- cur-indent cmake-tab-width)) + ) + ) + ) + + ; Indent this line by the amount selected. + (if (< cur-indent 0) + (cmake-indent-line-to 0) + (cmake-indent-line-to cur-indent) + ) + ) + ) + ) + ) + +(defun cmake-point-in-indendation () + (string-match "^[ \\t]*$" (buffer-substring (point-at-bol) (point)))) + +(defun cmake-indent-line-to (column) + "Indent the current line to COLUMN. +If point is within the existing indentation it is moved to the end of +the indentation. Otherwise it retains the same position on the line" + (if (cmake-point-in-indendation) + (indent-line-to column) + (save-excursion (indent-line-to column)))) + +;------------------------------------------------------------------------------ + +;; +;; Helper functions for buffer +;; +(defun unscreamify-cmake-buffer () + "Convert all CMake commands to lowercase in buffer." + (interactive) + (setq save-point (point)) + (goto-char (point-min)) + (while (re-search-forward "^\\([ \t]*\\)\\(\\w+\\)\\([ \t]*(\\)" nil t) + (replace-match + (concat + (match-string 1) + (downcase (match-string 2)) + (match-string 3)) + t)) + (goto-char save-point) + ) + +;------------------------------------------------------------------------------ + +;; +;; Keyword highlighting regex-to-face map. +;; +(defconst cmake-font-lock-keywords + (list '("^[ \t]*\\(\\w+\\)[ \t]*(" 1 font-lock-function-name-face)) + "Highlighting expressions for CMAKE mode." + ) + +;------------------------------------------------------------------------------ + +;; +;; Syntax table for this mode. Initialize to nil so that it is +;; regenerated when the cmake-mode function is called. +;; +(defvar cmake-mode-syntax-table nil "Syntax table for cmake-mode.") +(setq cmake-mode-syntax-table nil) + +;; +;; User hook entry point. +;; +(defvar cmake-mode-hook nil) + +;; +;; Indentation increment. +;; +(defvar cmake-tab-width 2) + +;; +;; Keymap. +;; +(defvar cmake-mode-map + (let ((map (make-sparse-keymap))) + (define-key map "\C-ch" 'cmake-help-command) + (define-key map "\C-cl" 'cmake-help-list-commands) + (define-key map "\C-cu" 'unscreamify-cmake-buffer) + map) + "Keymap used in cmake-mode buffers.") + +;------------------------------------------------------------------------------ + +;; +;; CMake mode startup function. +;; +(defun cmake-mode () + "Major mode for editing CMake listfiles. + +\\{cmake-mode-map}" + (interactive) + (kill-all-local-variables) + (setq major-mode 'cmake-mode) + (setq mode-name "CMAKE") + + ; Create the syntax table + (setq cmake-mode-syntax-table (make-syntax-table)) + (set-syntax-table cmake-mode-syntax-table) + (modify-syntax-entry ?_ "w" cmake-mode-syntax-table) + (modify-syntax-entry ?\( "()" cmake-mode-syntax-table) + (modify-syntax-entry ?\) ")(" cmake-mode-syntax-table) + (modify-syntax-entry ?# "<" cmake-mode-syntax-table) + (modify-syntax-entry ?\n ">" cmake-mode-syntax-table) + + ; Setup font-lock mode. + (make-local-variable 'font-lock-defaults) + (setq font-lock-defaults '(cmake-font-lock-keywords)) + + ; Setup indentation function. + (make-local-variable 'indent-line-function) + (setq indent-line-function 'cmake-indent) + + ; Setup comment syntax. + (make-local-variable 'comment-start) + (setq comment-start "#") + + ; Setup keymap. + (use-local-map cmake-mode-map) + + ; Run user hooks. + (run-hooks 'cmake-mode-hook)) + +; Help mode starts here + + +(defun cmake-command-run (type &optional topic) + "Runs the command cmake with the arguments specified. The +optional argument topic will be appended to the argument list." + (interactive "s") + (let* ((bufname (concat "*CMake" type (if topic "-") topic "*")) + (buffer (get-buffer bufname)) + ) + (if buffer + (display-buffer buffer 'not-this-window) + ;; Buffer doesn't exist. Create it and fill it + (setq buffer (generate-new-buffer bufname)) + (setq command (concat cmake-mode-cmake-executable " " type " " topic)) + (message "Running %s" command) + ;; We don't want the contents of the shell-command running to the + ;; minibuffer, so turn it off. A value of nil means don't automatically + ;; resize mini-windows. + (setq resize-mini-windows-save resize-mini-windows) + (setq resize-mini-windows nil) + (shell-command command buffer) + ;; Save the original window, so that we can come back to it later. + ;; save-excursion doesn't seem to work for this. + (setq window (selected-window)) + ;; We need to select it so that we can apply special modes to it + (select-window (display-buffer buffer 'not-this-window)) + (cmake-mode) + (toggle-read-only t) + ;; Restore the original window + (select-window window) + (setq resize-mini-windows resize-mini-windows-save) + ) + ) + ) + +(defun cmake-help-list-commands () + "Prints out a list of the cmake commands." + (interactive) + (cmake-command-run "--help-command-list") + ) + +(defvar cmake-help-command-history nil "Topic read history.") + +(require 'thingatpt) +(defun cmake-get-topic (type) + "Gets the topic from the minibuffer input. The default is the word the cursor is on." + (interactive) + (let* ((default-entry (word-at-point)) + (input (read-string + (format "CMake %s (default %s): " type default-entry) ; prompt + nil ; initial input + 'cmake-help-command-history ; command history + default-entry ; default-value + ))) + (if (string= input "") + (error "No argument given") + input)) + ) + + +(defun cmake-help-command () + "Prints out the help message corresponding to the command the cursor is on." + (interactive) + (setq command (cmake-get-topic "command")) + (cmake-command-run "--help-command" (downcase command)) + ) + + +; This file provides cmake-mode. +(provide 'cmake-mode) + +;;; cmake-mode.el ends here diff --git a/Auxiliary/cmake-syntax.vim b/Auxiliary/cmake-syntax.vim new file mode 100644 index 0000000..80395ab --- /dev/null +++ b/Auxiliary/cmake-syntax.vim @@ -0,0 +1,89 @@ +" ============================================================================= +" +" Program: CMake - Cross-Platform Makefile Generator +" Module: $RCSfile$ +" Language: VIM +" Date: $Date$ +" Version: $Revision$ +" +" ============================================================================= + +" Vim syntax file +" Language: CMake +" Author: Andy Cedilnik +" Maintainer: Karthik Krishnan +" Last Change: $Date$ +" Version: $Revision$ +" +" Licence: The CMake license applies to this file. See +" http://www.cmake.org/HTML/Copyright.html +" This implies that distribution with Vim is allowed + +" For version 5.x: Clear all syntax items +" For version 6.x: Quit when a syntax file was already loaded +if version < 600 + syntax clear +elseif exists("b:current_syntax") + finish +endif + +syn case ignore +syn match cmakeEscaped /\(\\\\\|\\"\|\\n\|\\t\)/ contained +syn region cmakeComment start="#" end="$" contains=cmakeTodo +syn region cmakeRegistry start=/\[/ end=/]/ + \ contained oneline contains=CONTAINED,cmakeTodo,cmakeEscaped +syn region cmakeVariableValue start=/\${/ end=/}/ + \ contained oneline contains=CONTAINED,cmakeTodo +syn region cmakeEnvironment start=/\$ENV{/ end=/}/ + \ contained oneline contains=CONTAINED,cmakeTodo +syn region cmakeString start=/"/ end=/"/ + \ contains=CONTAINED,cmakeTodo,cmakeOperators +syn region cmakeArguments start=/(/ end=/)/ + \ contains=ALLBUT,cmakeArguments,cmakeTodo +syn keyword cmakeSystemVariables + \ WIN32 UNIX APPLE CYGWIN BORLAND MINGW MSVC MSVC_IDE MSVC60 MSVC70 MSVC71 MSVC80 MSVC90 +syn keyword cmakeOperators + \ ABSOLUTE AND BOOL CACHE COMMAND DEFINED DOC EQUAL EXISTS EXT FALSE GREATER INTERNAL LESS MATCHES NAME NAMES NAME_WE NOT OFF ON OR PATH PATHS PROGRAM STREQUAL STRGREATER STRING STRLESS TRUE + \ contained +syn keyword cmakeDeprecated ABSTRACT_FILES BUILD_NAME SOURCE_FILES SOURCE_FILES_REMOVE VTK_MAKE_INSTANTIATOR VTK_WRAP_JAVA VTK_WRAP_PYTHON VTK_WRAP_TCL WRAP_EXCLUDE_FILES + \ nextgroup=cmakeArguments + +" The keywords are generated as: cmake --help-command-list | tr "\n" " " +syn keyword cmakeStatement + \ ADD_CUSTOM_COMMAND ADD_CUSTOM_TARGET ADD_DEFINITIONS ADD_DEPENDENCIES ADD_EXECUTABLE ADD_LIBRARY ADD_SUBDIRECTORY ADD_TEST AUX_SOURCE_DIRECTORY BUILD_COMMAND BUILD_NAME CMAKE_MINIMUM_REQUIRED CONFIGURE_FILE CREATE_TEST_SOURCELIST ELSE ELSEIF ENABLE_LANGUAGE ENABLE_TESTING ENDFOREACH ENDFUNCTION ENDIF ENDMACRO ENDWHILE EXEC_PROGRAM EXECUTE_PROCESS EXPORT_LIBRARY_DEPENDENCIES FILE FIND_FILE FIND_LIBRARY FIND_PACKAGE FIND_PATH FIND_PROGRAM FLTK_WRAP_UI FOREACH FUNCTION GET_CMAKE_PROPERTY GET_DIRECTORY_PROPERTY GET_FILENAME_COMPONENT GET_SOURCE_FILE_PROPERTY GET_TARGET_PROPERTY GET_TEST_PROPERTY IF INCLUDE INCLUDE_DIRECTORIES INCLUDE_EXTERNAL_MSPROJECT INCLUDE_REGULAR_EXPRESSION INSTALL INSTALL_FILES INSTALL_PROGRAMS INSTALL_TARGETS LINK_DIRECTORIES LINK_LIBRARIES LIST LOAD_CACHE LOAD_COMMAND MACRO MAKE_DIRECTORY MARK_AS_ADVANCED MATH MESSAGE OPTION OUTPUT_REQUIRED_FILES PROJECT QT_WRAP_CPP QT_WRAP_UI REMOVE REMOVE_DEFINITIONS SEPARATE_ARGUMENTS SET SET_DIRECTORY_PROPERTIES SET_SOURCE_FILES_PROPERTIES SET_TARGET_PROPERTIES SET_TESTS_PROPERTIES SITE_NAME SOURCE_GROUP STRING SUBDIR_DEPENDS SUBDIRS TARGET_LINK_LIBRARIES TRY_COMPILE TRY_RUN UNSET USE_MANGLED_MESA UTILITY_SOURCE VARIABLE_REQUIRES VTK_MAKE_INSTANTIATOR VTK_WRAP_JAVA VTK_WRAP_PYTHON VTK_WRAP_TCL WHILE WRITE_FILE + \ nextgroup=cmakeArguments +syn keyword cmakeTodo + \ TODO FIXME XXX + \ contained + +" Define the default highlighting. +" For version 5.7 and earlier: only when not done already +" For version 5.8 and later: only when an item doesn't have highlighting yet +if version >= 508 || !exists("did_cmake_syntax_inits") + if version < 508 + let did_cmake_syntax_inits = 1 + command -nargs=+ HiLink hi link + else + command -nargs=+ HiLink hi def link + endif + + HiLink cmakeStatement Statement + HiLink cmakeComment Comment + HiLink cmakeString String + HiLink cmakeVariableValue Type + HiLink cmakeRegistry Underlined + HiLink cmakeArguments Identifier + HiLink cmakeArgument Constant + HiLink cmakeEnvironment Special + HiLink cmakeOperators Operator + HiLink cmakeMacro PreProc + HiLink cmakeError Error + HiLink cmakeTodo TODO + HiLink cmakeEscaped Special + + delcommand HiLink +endif + +let b:current_syntax = "cmake" + +"EOF" diff --git a/CMakeLists.txt b/CMakeLists.txt index 3ad2d24..e36daee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -595,8 +595,8 @@ install( WORLD_READ WORLD_EXECUTE ) -# process docs related install -add_subdirectory(Docs) +# Install auxiliary files integrating with other tools. +add_subdirectory(Auxiliary) #----------------------------------------------------------------------- # End of the main section of the CMakeLists file diff --git a/Docs/CMakeLists.txt b/Docs/CMakeLists.txt deleted file mode 100644 index 34090d2..0000000 --- a/Docs/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -install(FILES cmake-help.vim cmake-indent.vim cmake-syntax.vim DESTINATION ${CMAKE_DATA_DIR}/editors/vim) -install(FILES cmake-mode.el DESTINATION ${CMAKE_DATA_DIR}/editors/emacs) -add_subdirectory (bash-completion) diff --git a/Docs/bash-completion/CMakeLists.txt b/Docs/bash-completion/CMakeLists.txt deleted file mode 100644 index c0a8899..0000000 --- a/Docs/bash-completion/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ -# Always install completion file in local dir -# in order to be sure to always be able to install -# in a local user directory rooted in a single directory. -# packager should either patch that out or -# add symlinks to the files in appropriate places -# /etc/bash_completion.d/ -# DATADIR/completions (may be /usr/share//completions -install(FILES cmake cpack ctest DESTINATION ${CMAKE_DATA_DIR}/completions) diff --git a/Docs/bash-completion/cmake b/Docs/bash-completion/cmake deleted file mode 100644 index 59e0298..0000000 --- a/Docs/bash-completion/cmake +++ /dev/null @@ -1,151 +0,0 @@ -# bash completion for cmake(1) -*- shell-script -*- - -_cmake() -{ - local cur prev words cword split=false - _init_completion -n := || return - - # Workaround for options like -DCMAKE_BUILD_TYPE=Release - local prefix= - if [[ $cur == -D* ]]; then - prev=-D - prefix=-D - cur="${cur#-D}" - elif [[ $cur == -U* ]]; then - prev=-U - prefix=-U - cur="${cur#-U}" - fi - - case "$prev" in - -D) - if [[ $cur == *=* ]]; then - # complete values for variables - local var type value - var="${cur%%[:=]*}" - value="${cur#*=}" - - if [[ $cur == CMAKE_BUILD_TYPE* ]]; then # most widely used case - COMPREPLY=( $( compgen -W 'Debug Release RelWithDebInfo - MinSizeRel' -- "$value" ) ) - return - fi - - if [[ $cur == *:* ]]; then - type="${cur#*:}" - type="${type%%=*}" - else # get type from cache if it's not set explicitly - type=$( cmake -LA -N 2>/dev/null | grep "$var:" \ - 2>/dev/null ) - type="${type#*:}" - type="${type%%=*}" - fi - case "$type" in - FILEPATH) - cur="$value" - _filedir - return - ;; - PATH) - cur="$value" - _filedir -d - return - ;; - BOOL) - COMPREPLY=( $( compgen -W 'ON OFF TRUE FALSE' -- \ - "$value" ) ) - return - ;; - STRING|INTERNAL) - # no completion available - return - ;; - esac - elif [[ $cur == *:* ]]; then - # complete types - local type="${cur#*:}" - COMPREPLY=( $( compgen -W 'FILEPATH PATH STRING BOOL INTERNAL'\ - -S = -- "$type" ) ) - compopt -o nospace - else - # complete variable names - COMPREPLY=( $( compgen -W '$( cmake -LA -N | tail -n +2 | - cut -f1 -d: )' -P "$prefix" -- "$cur" ) ) - compopt -o nospace - fi - return - ;; - -U) - COMPREPLY=( $( compgen -W '$( cmake -LA -N | tail -n +2 | - cut -f1 -d: )' -P "$prefix" -- "$cur" ) ) - return - ;; - esac - - _split_longopt && split=true - - case "$prev" in - -C|-P|--graphviz|--system-information) - _filedir - return - ;; - --build) - _filedir -d - return - ;; - -E) - COMPREPLY=( $( compgen -W "$( cmake -E help |& sed -n \ - '/^ /{s|^ \([^ ]\{1,\}\) .*$|\1|;p}' 2>/dev/null )" \ - -- "$cur" ) ) - return - ;; - -G) - local IFS=$'\n' - local quoted - printf -v quoted %q "$cur" - COMPREPLY=( $( compgen -W '$( cmake --help 2>/dev/null | sed -n \ - -e "1,/^Generators/d" \ - -e "/^ *[^ =]/{s|^ *\([^=]*[^ =]\).*$|\1|;s| |\\\\ |g;p}" \ - 2>/dev/null )' -- "$quoted" ) ) - return - ;; - --help-command) - COMPREPLY=( $( compgen -W '$( cmake --help-command-list 2>/dev/null| - grep -v "^cmake version " )' -- "$cur" ) ) - return - ;; - --help-module) - COMPREPLY=( $( compgen -W '$( cmake --help-module-list 2>/dev/null| - grep -v "^cmake version " )' -- "$cur" ) ) - return - ;; - --help-policy) - COMPREPLY=( $( compgen -W '$( cmake --help-policies 2>/dev/null | - grep "^ CMP" 2>/dev/null )' -- "$cur" ) ) - return - ;; - --help-property) - COMPREPLY=( $( compgen -W '$( cmake --help-property-list \ - 2>/dev/null | grep -v "^cmake version " )' -- "$cur" ) ) - return - ;; - --help-variable) - COMPREPLY=( $( compgen -W '$( cmake --help-variable-list \ - 2>/dev/null | grep -v "^cmake version " )' -- "$cur" ) ) - return - ;; - esac - - $split && return - - if [[ "$cur" == -* ]]; then - COMPREPLY=( $(compgen -W '$( _parse_help "$1" --help )' -- ${cur}) ) - [[ $COMPREPLY == *= ]] && compopt -o nospace - [[ $COMPREPLY ]] && return - fi - - _filedir -} && -complete -F _cmake cmake - -# ex: ts=4 sw=4 et filetype=sh diff --git a/Docs/bash-completion/cpack b/Docs/bash-completion/cpack deleted file mode 100644 index 9ab6048..0000000 --- a/Docs/bash-completion/cpack +++ /dev/null @@ -1,61 +0,0 @@ -# bash completion for cpack(1) -*- shell-script -*- - -_cpack() -{ - local cur prev words cword - _init_completion -n = || return - - case "$prev" in - -G) - COMPREPLY=( $( compgen -W '$( cpack --help 2>/dev/null | - sed -e "1,/^Generators/d" -e "s|^ *\([^ ]*\) .*$|\1|" \ - 2>/dev/null )' -- "$cur" ) ) - return - ;; - -C) - COMPREPLY=( $( compgen -W 'Debug Release RelWithDebInfo - MinSizeRel' -- "$cur" ) ) - return - ;; - -D) - [[ $cur == *=* ]] && return # no completion for values - COMPREPLY=( $( compgen -W '$( cpack --help-variable-list \ - 2>/dev/null | grep -v "^cpack version " )' -S = -- "$cur" ) ) - compopt -o nospace - return - ;; - -P|-R|--vendor) - # argument required but no completions available - return - ;; - -B) - _filedir -d - return - ;; - --config) - _filedir - return - ;; - --help-command) - COMPREPLY=( $( compgen -W '$( cpack --help-command-list 2>/dev/null| - grep -v "^cpack version " )' -- "$cur" ) ) - return - ;; - --help-variable) - COMPREPLY=( $( compgen -W '$( cpack --help-variable-list \ - 2>/dev/null | grep -v "^cpack version " )' -- "$cur" ) ) - return - ;; - esac - - if [[ "$cur" == -* ]]; then - COMPREPLY=( $(compgen -W '$( _parse_help "$1" --help )' -- ${cur}) ) - [[ $COMPREPLY == *= ]] && compopt -o nospace - [[ $COMPREPLY ]] && return - fi - - _filedir -} && -complete -F _cpack cpack - -# ex: ts=4 sw=4 et filetype=sh diff --git a/Docs/bash-completion/ctest b/Docs/bash-completion/ctest deleted file mode 100644 index 25cb998..0000000 --- a/Docs/bash-completion/ctest +++ /dev/null @@ -1,81 +0,0 @@ -# bash completion for ctest(1) -*- shell-script -*- - -_ctest() -{ - local cur prev words cword - _init_completion -n = || return - - case "$prev" in - -C|--build-config) - COMPREPLY=( $( compgen -W 'Debug Release RelWithDebInfo - MinSizeRel' -- "$cur" ) ) - return - ;; - -j|--parallel) - COMPREPLY=( $( compgen -W "{1..$(( $(_ncpus)*2 ))}" -- "$cur" ) ) - return - ;; - -O|--output-log|-A|--add-notes|--extra-submit) - _filedir - return - ;; - -L|--label-regex|-LE|--label-exclude|--track|-I|--tests-information|\ - --max-width|--timeout|--stop-time) - # argument required but no completions available - return - ;; - -R|--tests-regex|-E|--exclude-regex) - COMPREPLY=( $( compgen -W '$( ctest -N 2>/dev/null | - grep "^ Test" 2>/dev/null | cut -d: -f 2 )' -- "$cur" ) ) - return - ;; - -D|--dashboard) - if [[ $cur == @(Experimental|Nightly|Continuous)* ]]; then - local model action - action=${cur#@(Experimental|Nightly|Continuous)} - model=${cur%"$action"} - COMPREPLY=( $( compgen -W 'Start Update Configure Build Test - Coverage Submit MemCheck' -P "$model" -- "$action" ) ) - else - COMPREPLY=( $( compgen -W 'Experimental Nightly Continuous' \ - -- "$cur" ) ) - compopt -o nospace - fi - return - ;; - -M|--test-model) - COMPREPLY=( $( compgen -W 'Experimental Nightly Continuous' -- \ - "$cur" ) ) - return - ;; - -T|--test-action) - COMPREPLY=( $( compgen -W 'Start Update Configure Build Test - Coverage Submit MemCheck' -- "$cur" ) ) - return - ;; - -S|--script|-SP|--script-new-process) - _filedir '@(cmake|ctest)' - return - ;; - --interactive-debug-mode) - COMPREPLY=( $( compgen -W '0 1' -- "$cur" ) ) - return - ;; - --help-command) - COMPREPLY=( $( compgen -W '$( ctest --help-command-list 2>/dev/null| - grep -v "^ctest version " )' -- "$cur" ) ) - return - ;; - esac - - if [[ "$cur" == -* ]]; then - COMPREPLY=( $(compgen -W '$( _parse_help "$1" --help )' -- ${cur}) ) - [[ $COMPREPLY == *= ]] && compopt -o nospace - [[ $COMPREPLY ]] && return - fi - - _filedir -} && -complete -F _ctest ctest - -# ex: ts=4 sw=4 et filetype=sh diff --git a/Docs/cmake-help.vim b/Docs/cmake-help.vim deleted file mode 100644 index 17cfa83..0000000 --- a/Docs/cmake-help.vim +++ /dev/null @@ -1,21 +0,0 @@ -nmap ,hc :call OpenCmakeHelp() - -function! OpenCmakeHelp() - let s = getline( '.' ) - let i = col( '.' ) - 1 - while i > 0 && strpart( s, i, 1 ) =~ '[A-Za-z0-9_]' - let i = i - 1 - endwhile - while i < col('$') && strpart( s, i, 1 ) !~ '[A-Za-z0-9_]' - let i = i + 1 - endwhile - let start = match( s, '[A-Za-z0-9_]\+', i ) - let end = matchend( s, '[A-Za-z0-9_]\+', i ) - let ident = strpart( s, start, end - start ) - execute "vertical new" - execute "%!cmake --help-command ".ident - set nomodified - set readonly -endfunction - -autocmd BufRead,BufNewFile *.cmake,CMakeLists.txt,*.cmake.in nmap :call OpenCmakeHelp() diff --git a/Docs/cmake-indent.vim b/Docs/cmake-indent.vim deleted file mode 100644 index a26dd06..0000000 --- a/Docs/cmake-indent.vim +++ /dev/null @@ -1,93 +0,0 @@ -" ============================================================================= -" -" Program: CMake - Cross-Platform Makefile Generator -" Module: $RCSfile$ -" Language: VIM -" Date: $Date$ -" Version: $Revision$ -" -" ============================================================================= - -" Vim indent file -" Language: CMake (ft=cmake) -" Author: Andy Cedilnik -" Maintainer: Karthik Krishnan -" Last Change: $Date$ -" Version: $Revision$ -" -" Licence: The CMake license applies to this file. See -" http://www.cmake.org/HTML/Copyright.html -" This implies that distribution with Vim is allowed - -if exists("b:did_indent") - finish -endif -let b:did_indent = 1 - -setlocal indentexpr=CMakeGetIndent(v:lnum) -setlocal indentkeys+==ENDIF(,ENDFOREACH(,ENDMACRO(,ELSE(,ELSEIF(,ENDWHILE( - -" Only define the function once. -if exists("*CMakeGetIndent") - finish -endif - -fun! CMakeGetIndent(lnum) - let this_line = getline(a:lnum) - - " Find a non-blank line above the current line. - let lnum = a:lnum - let lnum = prevnonblank(lnum - 1) - let previous_line = getline(lnum) - - " Hit the start of the file, use zero indent. - if lnum == 0 - return 0 - endif - - let ind = indent(lnum) - - let or = '\|' - " Regular expressions used by line indentation function. - let cmake_regex_comment = '#.*' - let cmake_regex_identifier = '[A-Za-z][A-Za-z0-9_]*' - let cmake_regex_quoted = '"\([^"\\]\|\\.\)*"' - let cmake_regex_arguments = '\(' . cmake_regex_quoted . - \ or . '\$(' . cmake_regex_identifier . ')' . - \ or . '[^()\\#"]' . or . '\\.' . '\)*' - - let cmake_indent_comment_line = '^\s*' . cmake_regex_comment - let cmake_indent_blank_regex = '^\s*$' - let cmake_indent_open_regex = '^\s*' . cmake_regex_identifier . - \ '\s*(' . cmake_regex_arguments . - \ '\(' . cmake_regex_comment . '\)\?$' - - let cmake_indent_close_regex = '^' . cmake_regex_arguments . - \ ')\s*' . - \ '\(' . cmake_regex_comment . '\)\?$' - - let cmake_indent_begin_regex = '^\s*\(IF\|MACRO\|FOREACH\|ELSE\|ELSEIF\|WHILE\|FUNCTION\)\s*(' - let cmake_indent_end_regex = '^\s*\(ENDIF\|ENDFOREACH\|ENDMACRO\|ELSE\|ELSEIF\|ENDWHILE\|ENDFUNCTION\)\s*(' - - " Add - if previous_line =~? cmake_indent_comment_line " Handle comments - let ind = ind - else - if previous_line =~? cmake_indent_begin_regex - let ind = ind + &sw - endif - if previous_line =~? cmake_indent_open_regex - let ind = ind + &sw - endif - endif - - " Subtract - if this_line =~? cmake_indent_end_regex - let ind = ind - &sw - endif - if previous_line =~? cmake_indent_close_regex - let ind = ind - &sw - endif - - return ind -endfun diff --git a/Docs/cmake-mode.el b/Docs/cmake-mode.el deleted file mode 100644 index 6feed94..0000000 --- a/Docs/cmake-mode.el +++ /dev/null @@ -1,357 +0,0 @@ -;============================================================================= -; CMake - Cross Platform Makefile Generator -; Copyright 2000-2009 Kitware, Inc., Insight Software Consortium -; -; Distributed under the OSI-approved BSD License (the "License"); -; see accompanying file Copyright.txt for details. -; -; This software is distributed WITHOUT ANY WARRANTY; without even the -; implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -; See the License for more information. -;============================================================================= -;;; cmake-mode.el --- major-mode for editing CMake sources - -;------------------------------------------------------------------------------ - -;;; Commentary: - -;; Provides syntax highlighting and indentation for CMakeLists.txt and -;; *.cmake source files. -;; -;; Add this code to your .emacs file to use the mode: -;; -;; (setq load-path (cons (expand-file-name "/dir/with/cmake-mode") load-path)) -;; (require 'cmake-mode) -;; (setq auto-mode-alist -;; (append '(("CMakeLists\\.txt\\'" . cmake-mode) -;; ("\\.cmake\\'" . cmake-mode)) -;; auto-mode-alist)) - -;------------------------------------------------------------------------------ - -;;; Code: -;; -;; cmake executable variable used to run cmake --help-command -;; on commands in cmake-mode -;; -;; cmake-command-help Written by James Bigler -;; - -(defcustom cmake-mode-cmake-executable "cmake" - "*The name of the cmake executable. - -This can be either absolute or looked up in $PATH. You can also -set the path with these commands: - (setenv \"PATH\" (concat (getenv \"PATH\") \";C:\\\\Program Files\\\\CMake 2.8\\\\bin\")) - (setenv \"PATH\" (concat (getenv \"PATH\") \":/usr/local/cmake/bin\"))" - :type 'file - :group 'cmake) -;; -;; Regular expressions used by line indentation function. -;; -(defconst cmake-regex-blank "^[ \t]*$") -(defconst cmake-regex-comment "#.*") -(defconst cmake-regex-paren-left "(") -(defconst cmake-regex-paren-right ")") -(defconst cmake-regex-argument-quoted - "\"\\([^\"\\\\]\\|\\\\\\(.\\|\n\\)\\)*\"") -(defconst cmake-regex-argument-unquoted - "\\([^ \t\r\n()#\"\\\\]\\|\\\\.\\)\\([^ \t\r\n()#\\\\]\\|\\\\.\\)*") -(defconst cmake-regex-token (concat "\\(" cmake-regex-comment - "\\|" cmake-regex-paren-left - "\\|" cmake-regex-paren-right - "\\|" cmake-regex-argument-unquoted - "\\|" cmake-regex-argument-quoted - "\\)")) -(defconst cmake-regex-indented (concat "^\\(" - cmake-regex-token - "\\|" "[ \t\r\n]" - "\\)*")) -(defconst cmake-regex-block-open - "^\\(if\\|macro\\|foreach\\|else\\|elseif\\|while\\|function\\)$") -(defconst cmake-regex-block-close - "^[ \t]*\\(endif\\|endforeach\\|endmacro\\|else\\|elseif\\|endwhile\\|endfunction\\)[ \t]*(") - -;------------------------------------------------------------------------------ - -;; -;; Helper functions for line indentation function. -;; -(defun cmake-line-starts-inside-string () - "Determine whether the beginning of the current line is in a string." - (if (save-excursion - (beginning-of-line) - (let ((parse-end (point))) - (beginning-of-buffer) - (nth 3 (parse-partial-sexp (point) parse-end)) - ) - ) - t - nil - ) - ) - -(defun cmake-find-last-indented-line () - "Move to the beginning of the last line that has meaningful indentation." - (let ((point-start (point)) - region) - (forward-line -1) - (setq region (buffer-substring-no-properties (point) point-start)) - (while (and (not (bobp)) - (or (looking-at cmake-regex-blank) - (cmake-line-starts-inside-string) - (not (and (string-match cmake-regex-indented region) - (= (length region) (match-end 0)))))) - (forward-line -1) - (setq region (buffer-substring-no-properties (point) point-start)) - ) - ) - ) - -;------------------------------------------------------------------------------ - -;; -;; Line indentation function. -;; -(defun cmake-indent () - "Indent current line as CMAKE code." - (interactive) - (if (cmake-line-starts-inside-string) - () - (if (bobp) - (cmake-indent-line-to 0) - (let (cur-indent) - - (save-excursion - (beginning-of-line) - - (let ((point-start (point)) - (case-fold-search t) ;; case-insensitive - token) - - ; Search back for the last indented line. - (cmake-find-last-indented-line) - - ; Start with the indentation on this line. - (setq cur-indent (current-indentation)) - - ; Search forward counting tokens that adjust indentation. - (while (re-search-forward cmake-regex-token point-start t) - (setq token (match-string 0)) - (if (string-match (concat "^" cmake-regex-paren-left "$") token) - (setq cur-indent (+ cur-indent cmake-tab-width)) - ) - (if (string-match (concat "^" cmake-regex-paren-right "$") token) - (setq cur-indent (- cur-indent cmake-tab-width)) - ) - (if (and - (string-match cmake-regex-block-open token) - (looking-at (concat "[ \t]*" cmake-regex-paren-left)) - ) - (setq cur-indent (+ cur-indent cmake-tab-width)) - ) - ) - (goto-char point-start) - - ; If this is the end of a block, decrease indentation. - (if (looking-at cmake-regex-block-close) - (setq cur-indent (- cur-indent cmake-tab-width)) - ) - ) - ) - - ; Indent this line by the amount selected. - (if (< cur-indent 0) - (cmake-indent-line-to 0) - (cmake-indent-line-to cur-indent) - ) - ) - ) - ) - ) - -(defun cmake-point-in-indendation () - (string-match "^[ \\t]*$" (buffer-substring (point-at-bol) (point)))) - -(defun cmake-indent-line-to (column) - "Indent the current line to COLUMN. -If point is within the existing indentation it is moved to the end of -the indentation. Otherwise it retains the same position on the line" - (if (cmake-point-in-indendation) - (indent-line-to column) - (save-excursion (indent-line-to column)))) - -;------------------------------------------------------------------------------ - -;; -;; Helper functions for buffer -;; -(defun unscreamify-cmake-buffer () - "Convert all CMake commands to lowercase in buffer." - (interactive) - (setq save-point (point)) - (goto-char (point-min)) - (while (re-search-forward "^\\([ \t]*\\)\\(\\w+\\)\\([ \t]*(\\)" nil t) - (replace-match - (concat - (match-string 1) - (downcase (match-string 2)) - (match-string 3)) - t)) - (goto-char save-point) - ) - -;------------------------------------------------------------------------------ - -;; -;; Keyword highlighting regex-to-face map. -;; -(defconst cmake-font-lock-keywords - (list '("^[ \t]*\\(\\w+\\)[ \t]*(" 1 font-lock-function-name-face)) - "Highlighting expressions for CMAKE mode." - ) - -;------------------------------------------------------------------------------ - -;; -;; Syntax table for this mode. Initialize to nil so that it is -;; regenerated when the cmake-mode function is called. -;; -(defvar cmake-mode-syntax-table nil "Syntax table for cmake-mode.") -(setq cmake-mode-syntax-table nil) - -;; -;; User hook entry point. -;; -(defvar cmake-mode-hook nil) - -;; -;; Indentation increment. -;; -(defvar cmake-tab-width 2) - -;; -;; Keymap. -;; -(defvar cmake-mode-map - (let ((map (make-sparse-keymap))) - (define-key map "\C-ch" 'cmake-help-command) - (define-key map "\C-cl" 'cmake-help-list-commands) - (define-key map "\C-cu" 'unscreamify-cmake-buffer) - map) - "Keymap used in cmake-mode buffers.") - -;------------------------------------------------------------------------------ - -;; -;; CMake mode startup function. -;; -(defun cmake-mode () - "Major mode for editing CMake listfiles. - -\\{cmake-mode-map}" - (interactive) - (kill-all-local-variables) - (setq major-mode 'cmake-mode) - (setq mode-name "CMAKE") - - ; Create the syntax table - (setq cmake-mode-syntax-table (make-syntax-table)) - (set-syntax-table cmake-mode-syntax-table) - (modify-syntax-entry ?_ "w" cmake-mode-syntax-table) - (modify-syntax-entry ?\( "()" cmake-mode-syntax-table) - (modify-syntax-entry ?\) ")(" cmake-mode-syntax-table) - (modify-syntax-entry ?# "<" cmake-mode-syntax-table) - (modify-syntax-entry ?\n ">" cmake-mode-syntax-table) - - ; Setup font-lock mode. - (make-local-variable 'font-lock-defaults) - (setq font-lock-defaults '(cmake-font-lock-keywords)) - - ; Setup indentation function. - (make-local-variable 'indent-line-function) - (setq indent-line-function 'cmake-indent) - - ; Setup comment syntax. - (make-local-variable 'comment-start) - (setq comment-start "#") - - ; Setup keymap. - (use-local-map cmake-mode-map) - - ; Run user hooks. - (run-hooks 'cmake-mode-hook)) - -; Help mode starts here - - -(defun cmake-command-run (type &optional topic) - "Runs the command cmake with the arguments specified. The -optional argument topic will be appended to the argument list." - (interactive "s") - (let* ((bufname (concat "*CMake" type (if topic "-") topic "*")) - (buffer (get-buffer bufname)) - ) - (if buffer - (display-buffer buffer 'not-this-window) - ;; Buffer doesn't exist. Create it and fill it - (setq buffer (generate-new-buffer bufname)) - (setq command (concat cmake-mode-cmake-executable " " type " " topic)) - (message "Running %s" command) - ;; We don't want the contents of the shell-command running to the - ;; minibuffer, so turn it off. A value of nil means don't automatically - ;; resize mini-windows. - (setq resize-mini-windows-save resize-mini-windows) - (setq resize-mini-windows nil) - (shell-command command buffer) - ;; Save the original window, so that we can come back to it later. - ;; save-excursion doesn't seem to work for this. - (setq window (selected-window)) - ;; We need to select it so that we can apply special modes to it - (select-window (display-buffer buffer 'not-this-window)) - (cmake-mode) - (toggle-read-only t) - ;; Restore the original window - (select-window window) - (setq resize-mini-windows resize-mini-windows-save) - ) - ) - ) - -(defun cmake-help-list-commands () - "Prints out a list of the cmake commands." - (interactive) - (cmake-command-run "--help-command-list") - ) - -(defvar cmake-help-command-history nil "Topic read history.") - -(require 'thingatpt) -(defun cmake-get-topic (type) - "Gets the topic from the minibuffer input. The default is the word the cursor is on." - (interactive) - (let* ((default-entry (word-at-point)) - (input (read-string - (format "CMake %s (default %s): " type default-entry) ; prompt - nil ; initial input - 'cmake-help-command-history ; command history - default-entry ; default-value - ))) - (if (string= input "") - (error "No argument given") - input)) - ) - - -(defun cmake-help-command () - "Prints out the help message corresponding to the command the cursor is on." - (interactive) - (setq command (cmake-get-topic "command")) - (cmake-command-run "--help-command" (downcase command)) - ) - - -; This file provides cmake-mode. -(provide 'cmake-mode) - -;;; cmake-mode.el ends here diff --git a/Docs/cmake-syntax.vim b/Docs/cmake-syntax.vim deleted file mode 100644 index 80395ab..0000000 --- a/Docs/cmake-syntax.vim +++ /dev/null @@ -1,89 +0,0 @@ -" ============================================================================= -" -" Program: CMake - Cross-Platform Makefile Generator -" Module: $RCSfile$ -" Language: VIM -" Date: $Date$ -" Version: $Revision$ -" -" ============================================================================= - -" Vim syntax file -" Language: CMake -" Author: Andy Cedilnik -" Maintainer: Karthik Krishnan -" Last Change: $Date$ -" Version: $Revision$ -" -" Licence: The CMake license applies to this file. See -" http://www.cmake.org/HTML/Copyright.html -" This implies that distribution with Vim is allowed - -" For version 5.x: Clear all syntax items -" For version 6.x: Quit when a syntax file was already loaded -if version < 600 - syntax clear -elseif exists("b:current_syntax") - finish -endif - -syn case ignore -syn match cmakeEscaped /\(\\\\\|\\"\|\\n\|\\t\)/ contained -syn region cmakeComment start="#" end="$" contains=cmakeTodo -syn region cmakeRegistry start=/\[/ end=/]/ - \ contained oneline contains=CONTAINED,cmakeTodo,cmakeEscaped -syn region cmakeVariableValue start=/\${/ end=/}/ - \ contained oneline contains=CONTAINED,cmakeTodo -syn region cmakeEnvironment start=/\$ENV{/ end=/}/ - \ contained oneline contains=CONTAINED,cmakeTodo -syn region cmakeString start=/"/ end=/"/ - \ contains=CONTAINED,cmakeTodo,cmakeOperators -syn region cmakeArguments start=/(/ end=/)/ - \ contains=ALLBUT,cmakeArguments,cmakeTodo -syn keyword cmakeSystemVariables - \ WIN32 UNIX APPLE CYGWIN BORLAND MINGW MSVC MSVC_IDE MSVC60 MSVC70 MSVC71 MSVC80 MSVC90 -syn keyword cmakeOperators - \ ABSOLUTE AND BOOL CACHE COMMAND DEFINED DOC EQUAL EXISTS EXT FALSE GREATER INTERNAL LESS MATCHES NAME NAMES NAME_WE NOT OFF ON OR PATH PATHS PROGRAM STREQUAL STRGREATER STRING STRLESS TRUE - \ contained -syn keyword cmakeDeprecated ABSTRACT_FILES BUILD_NAME SOURCE_FILES SOURCE_FILES_REMOVE VTK_MAKE_INSTANTIATOR VTK_WRAP_JAVA VTK_WRAP_PYTHON VTK_WRAP_TCL WRAP_EXCLUDE_FILES - \ nextgroup=cmakeArguments - -" The keywords are generated as: cmake --help-command-list | tr "\n" " " -syn keyword cmakeStatement - \ ADD_CUSTOM_COMMAND ADD_CUSTOM_TARGET ADD_DEFINITIONS ADD_DEPENDENCIES ADD_EXECUTABLE ADD_LIBRARY ADD_SUBDIRECTORY ADD_TEST AUX_SOURCE_DIRECTORY BUILD_COMMAND BUILD_NAME CMAKE_MINIMUM_REQUIRED CONFIGURE_FILE CREATE_TEST_SOURCELIST ELSE ELSEIF ENABLE_LANGUAGE ENABLE_TESTING ENDFOREACH ENDFUNCTION ENDIF ENDMACRO ENDWHILE EXEC_PROGRAM EXECUTE_PROCESS EXPORT_LIBRARY_DEPENDENCIES FILE FIND_FILE FIND_LIBRARY FIND_PACKAGE FIND_PATH FIND_PROGRAM FLTK_WRAP_UI FOREACH FUNCTION GET_CMAKE_PROPERTY GET_DIRECTORY_PROPERTY GET_FILENAME_COMPONENT GET_SOURCE_FILE_PROPERTY GET_TARGET_PROPERTY GET_TEST_PROPERTY IF INCLUDE INCLUDE_DIRECTORIES INCLUDE_EXTERNAL_MSPROJECT INCLUDE_REGULAR_EXPRESSION INSTALL INSTALL_FILES INSTALL_PROGRAMS INSTALL_TARGETS LINK_DIRECTORIES LINK_LIBRARIES LIST LOAD_CACHE LOAD_COMMAND MACRO MAKE_DIRECTORY MARK_AS_ADVANCED MATH MESSAGE OPTION OUTPUT_REQUIRED_FILES PROJECT QT_WRAP_CPP QT_WRAP_UI REMOVE REMOVE_DEFINITIONS SEPARATE_ARGUMENTS SET SET_DIRECTORY_PROPERTIES SET_SOURCE_FILES_PROPERTIES SET_TARGET_PROPERTIES SET_TESTS_PROPERTIES SITE_NAME SOURCE_GROUP STRING SUBDIR_DEPENDS SUBDIRS TARGET_LINK_LIBRARIES TRY_COMPILE TRY_RUN UNSET USE_MANGLED_MESA UTILITY_SOURCE VARIABLE_REQUIRES VTK_MAKE_INSTANTIATOR VTK_WRAP_JAVA VTK_WRAP_PYTHON VTK_WRAP_TCL WHILE WRITE_FILE - \ nextgroup=cmakeArguments -syn keyword cmakeTodo - \ TODO FIXME XXX - \ contained - -" Define the default highlighting. -" For version 5.7 and earlier: only when not done already -" For version 5.8 and later: only when an item doesn't have highlighting yet -if version >= 508 || !exists("did_cmake_syntax_inits") - if version < 508 - let did_cmake_syntax_inits = 1 - command -nargs=+ HiLink hi link - else - command -nargs=+ HiLink hi def link - endif - - HiLink cmakeStatement Statement - HiLink cmakeComment Comment - HiLink cmakeString String - HiLink cmakeVariableValue Type - HiLink cmakeRegistry Underlined - HiLink cmakeArguments Identifier - HiLink cmakeArgument Constant - HiLink cmakeEnvironment Special - HiLink cmakeOperators Operator - HiLink cmakeMacro PreProc - HiLink cmakeError Error - HiLink cmakeTodo TODO - HiLink cmakeEscaped Special - - delcommand HiLink -endif - -let b:current_syntax = "cmake" - -"EOF" -- cgit v0.12 From 189008ea5cca58ab76eab3c1c952544793839069 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 18 Sep 2013 11:45:52 -0400 Subject: Move cmake.m4 from Utilities to Auxiliary The latter fits more consistently with other third party integration files. --- Auxiliary/CMakeLists.txt | 1 + Auxiliary/cmake.m4 | 53 ++++++++++++++++++++++++++++++++++++++++++++++++ Utilities/CMakeLists.txt | 1 - Utilities/cmake.m4 | 53 ------------------------------------------------ 4 files changed, 54 insertions(+), 54 deletions(-) create mode 100644 Auxiliary/cmake.m4 delete mode 100644 Utilities/cmake.m4 diff --git a/Auxiliary/CMakeLists.txt b/Auxiliary/CMakeLists.txt index 34090d2..c003b28 100644 --- a/Auxiliary/CMakeLists.txt +++ b/Auxiliary/CMakeLists.txt @@ -1,3 +1,4 @@ install(FILES cmake-help.vim cmake-indent.vim cmake-syntax.vim DESTINATION ${CMAKE_DATA_DIR}/editors/vim) install(FILES cmake-mode.el DESTINATION ${CMAKE_DATA_DIR}/editors/emacs) +install(FILES cmake.m4 DESTINATION share/aclocal) add_subdirectory (bash-completion) diff --git a/Auxiliary/cmake.m4 b/Auxiliary/cmake.m4 new file mode 100644 index 0000000..a374a3b --- /dev/null +++ b/Auxiliary/cmake.m4 @@ -0,0 +1,53 @@ +dnl ============================================================================ +dnl CMake - Cross Platform Makefile Generator +dnl Copyright 2011 Matthias Kretz, kretz@kde.org +dnl +dnl Distributed under the OSI-approved BSD License (the "License"); +dnl see accompanying file Copyright.txt for details. +dnl +dnl This software is distributed WITHOUT ANY WARRANTY; without even the +dnl implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +dnl See the License for more information. +dnl ============================================================================ + +AC_DEFUN([CMAKE_FIND_BINARY], +[AC_ARG_VAR([CMAKE_BINARY], [path to the cmake binary])dnl + +if test "x$ac_cv_env_CMAKE_BINARY_set" != "xset"; then + AC_PATH_TOOL([CMAKE_BINARY], [cmake])dnl +fi +])dnl + +# $1: package name +# $2: language (e.g. C/CXX/Fortran) +# $3: The compiler ID, defaults to GNU. +# Possible values are: GNU, Intel, Clang, SunPro, HP, XL, VisualAge, PGI, +# PathScale, Cray, SCO, MIPSpro, MSVC +# $4: optional extra arguments to cmake, e.g. "-DCMAKE_SIZEOF_VOID_P=8" +# $5: optional path to cmake binary +AC_DEFUN([CMAKE_FIND_PACKAGE], [ +AC_REQUIRE([CMAKE_FIND_BINARY])dnl + +AC_ARG_VAR([$1][_][$2][FLAGS], [$2 compiler flags for $1. This overrides the cmake output])dnl +AC_ARG_VAR([$1][_LIBS], [linker flags for $1. This overrides the cmake output])dnl + +failed=false +AC_MSG_CHECKING([for $1]) +if test -n "$1[]_$2[]FLAGS"; then + $1[]_$2[]FLAGS=`$CMAKE_BINARY --find-package "-DNAME=$1" "-DCOMPILER_ID=m4_default([$3], [GNU])" "-DLANGUAGE=$2" -DMODE=COMPILE $4` || failed=true +fi +if test -n "$1[]_LIBS"; then + $1[]_LIBS=`$CMAKE_BINARY --find-package "-DNAME=$1" "-DCOMPILER_ID=m4_default([$3], [GNU])" "-DLANGUAGE=$2" -DMODE=LINK $4` || failed=true +fi + +if $failed; then + unset $1[]_$2[]FLAGS + unset $1[]_LIBS + + AC_MSG_RESULT([no]) + $6 +else + AC_MSG_RESULT([yes]) + $5 +fi[]dnl +]) diff --git a/Utilities/CMakeLists.txt b/Utilities/CMakeLists.txt index 31807ee..89c4951 100644 --- a/Utilities/CMakeLists.txt +++ b/Utilities/CMakeLists.txt @@ -127,7 +127,6 @@ install(FILES ${DOCBOOK_FILES} DESTINATION ${CMAKE_DOC_DIR} ) -install(FILES cmake.m4 DESTINATION share/aclocal) # Drive documentation generation. add_custom_target(documentation ALL DEPENDS ${DOC_FILES} ${CMake_BINARY_DIR}/Docs/cmake.txt ) diff --git a/Utilities/cmake.m4 b/Utilities/cmake.m4 deleted file mode 100644 index a374a3b..0000000 --- a/Utilities/cmake.m4 +++ /dev/null @@ -1,53 +0,0 @@ -dnl ============================================================================ -dnl CMake - Cross Platform Makefile Generator -dnl Copyright 2011 Matthias Kretz, kretz@kde.org -dnl -dnl Distributed under the OSI-approved BSD License (the "License"); -dnl see accompanying file Copyright.txt for details. -dnl -dnl This software is distributed WITHOUT ANY WARRANTY; without even the -dnl implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -dnl See the License for more information. -dnl ============================================================================ - -AC_DEFUN([CMAKE_FIND_BINARY], -[AC_ARG_VAR([CMAKE_BINARY], [path to the cmake binary])dnl - -if test "x$ac_cv_env_CMAKE_BINARY_set" != "xset"; then - AC_PATH_TOOL([CMAKE_BINARY], [cmake])dnl -fi -])dnl - -# $1: package name -# $2: language (e.g. C/CXX/Fortran) -# $3: The compiler ID, defaults to GNU. -# Possible values are: GNU, Intel, Clang, SunPro, HP, XL, VisualAge, PGI, -# PathScale, Cray, SCO, MIPSpro, MSVC -# $4: optional extra arguments to cmake, e.g. "-DCMAKE_SIZEOF_VOID_P=8" -# $5: optional path to cmake binary -AC_DEFUN([CMAKE_FIND_PACKAGE], [ -AC_REQUIRE([CMAKE_FIND_BINARY])dnl - -AC_ARG_VAR([$1][_][$2][FLAGS], [$2 compiler flags for $1. This overrides the cmake output])dnl -AC_ARG_VAR([$1][_LIBS], [linker flags for $1. This overrides the cmake output])dnl - -failed=false -AC_MSG_CHECKING([for $1]) -if test -n "$1[]_$2[]FLAGS"; then - $1[]_$2[]FLAGS=`$CMAKE_BINARY --find-package "-DNAME=$1" "-DCOMPILER_ID=m4_default([$3], [GNU])" "-DLANGUAGE=$2" -DMODE=COMPILE $4` || failed=true -fi -if test -n "$1[]_LIBS"; then - $1[]_LIBS=`$CMAKE_BINARY --find-package "-DNAME=$1" "-DCOMPILER_ID=m4_default([$3], [GNU])" "-DLANGUAGE=$2" -DMODE=LINK $4` || failed=true -fi - -if $failed; then - unset $1[]_$2[]FLAGS - unset $1[]_LIBS - - AC_MSG_RESULT([no]) - $6 -else - AC_MSG_RESULT([yes]) - $5 -fi[]dnl -]) -- cgit v0.12 From e49efe9150a492fe9cf9a0b72af61558e9aed689 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 13 Sep 2013 16:06:24 -0400 Subject: Drop xmllint documentation tests Drop these tests since we will drop docbook output along with other documentation formatters. --- Utilities/CMakeLists.txt | 31 - Utilities/xml/.gitattributes | 1 - Utilities/xml/docbook-4.5/ChangeLog | 106 - Utilities/xml/docbook-4.5/README | 8 - Utilities/xml/docbook-4.5/calstblx.dtd | 215 - Utilities/xml/docbook-4.5/catalog.xml | 124 - Utilities/xml/docbook-4.5/dbcentx.mod | 384 -- Utilities/xml/docbook-4.5/dbgenent.mod | 41 - Utilities/xml/docbook-4.5/dbhierx.mod | 2193 -------- Utilities/xml/docbook-4.5/dbnotnx.mod | 101 - Utilities/xml/docbook-4.5/dbpoolx.mod | 8701 ----------------------------- Utilities/xml/docbook-4.5/docbook.cat | 113 - Utilities/xml/docbook-4.5/docbookx.dtd | 170 - Utilities/xml/docbook-4.5/ent/README | 14 - Utilities/xml/docbook-4.5/ent/isoamsa.ent | 97 - Utilities/xml/docbook-4.5/ent/isoamsb.ent | 83 - Utilities/xml/docbook-4.5/ent/isoamsc.ent | 51 - Utilities/xml/docbook-4.5/ent/isoamsn.ent | 103 - Utilities/xml/docbook-4.5/ent/isoamso.ent | 59 - Utilities/xml/docbook-4.5/ent/isoamsr.ent | 125 - Utilities/xml/docbook-4.5/ent/isobox.ent | 81 - Utilities/xml/docbook-4.5/ent/isocyr1.ent | 108 - Utilities/xml/docbook-4.5/ent/isocyr2.ent | 67 - Utilities/xml/docbook-4.5/ent/isodia.ent | 55 - Utilities/xml/docbook-4.5/ent/isogrk1.ent | 90 - Utilities/xml/docbook-4.5/ent/isogrk2.ent | 61 - Utilities/xml/docbook-4.5/ent/isogrk3.ent | 84 - Utilities/xml/docbook-4.5/ent/isogrk4.ent | 84 - Utilities/xml/docbook-4.5/ent/isolat1.ent | 103 - Utilities/xml/docbook-4.5/ent/isolat2.ent | 162 - Utilities/xml/docbook-4.5/ent/isonum.ent | 117 - Utilities/xml/docbook-4.5/ent/isopub.ent | 125 - Utilities/xml/docbook-4.5/ent/isotech.ent | 103 - Utilities/xml/docbook-4.5/htmltblx.mod | 245 - Utilities/xml/docbook-4.5/soextblx.dtd | 321 -- Utilities/xml/xhtml1/xhtml-lat1.ent | 196 - Utilities/xml/xhtml1/xhtml-special.ent | 80 - Utilities/xml/xhtml1/xhtml-symbol.ent | 237 - Utilities/xml/xhtml1/xhtml1-strict.dtd | 977 ---- 39 files changed, 16016 deletions(-) delete mode 100644 Utilities/xml/.gitattributes delete mode 100644 Utilities/xml/docbook-4.5/ChangeLog delete mode 100644 Utilities/xml/docbook-4.5/README delete mode 100644 Utilities/xml/docbook-4.5/calstblx.dtd delete mode 100644 Utilities/xml/docbook-4.5/catalog.xml delete mode 100644 Utilities/xml/docbook-4.5/dbcentx.mod delete mode 100644 Utilities/xml/docbook-4.5/dbgenent.mod delete mode 100644 Utilities/xml/docbook-4.5/dbhierx.mod delete mode 100644 Utilities/xml/docbook-4.5/dbnotnx.mod delete mode 100644 Utilities/xml/docbook-4.5/dbpoolx.mod delete mode 100644 Utilities/xml/docbook-4.5/docbook.cat delete mode 100644 Utilities/xml/docbook-4.5/docbookx.dtd delete mode 100644 Utilities/xml/docbook-4.5/ent/README delete mode 100644 Utilities/xml/docbook-4.5/ent/isoamsa.ent delete mode 100644 Utilities/xml/docbook-4.5/ent/isoamsb.ent delete mode 100644 Utilities/xml/docbook-4.5/ent/isoamsc.ent delete mode 100644 Utilities/xml/docbook-4.5/ent/isoamsn.ent delete mode 100644 Utilities/xml/docbook-4.5/ent/isoamso.ent delete mode 100644 Utilities/xml/docbook-4.5/ent/isoamsr.ent delete mode 100644 Utilities/xml/docbook-4.5/ent/isobox.ent delete mode 100644 Utilities/xml/docbook-4.5/ent/isocyr1.ent delete mode 100644 Utilities/xml/docbook-4.5/ent/isocyr2.ent delete mode 100644 Utilities/xml/docbook-4.5/ent/isodia.ent delete mode 100644 Utilities/xml/docbook-4.5/ent/isogrk1.ent delete mode 100644 Utilities/xml/docbook-4.5/ent/isogrk2.ent delete mode 100644 Utilities/xml/docbook-4.5/ent/isogrk3.ent delete mode 100644 Utilities/xml/docbook-4.5/ent/isogrk4.ent delete mode 100644 Utilities/xml/docbook-4.5/ent/isolat1.ent delete mode 100644 Utilities/xml/docbook-4.5/ent/isolat2.ent delete mode 100644 Utilities/xml/docbook-4.5/ent/isonum.ent delete mode 100644 Utilities/xml/docbook-4.5/ent/isopub.ent delete mode 100644 Utilities/xml/docbook-4.5/ent/isotech.ent delete mode 100644 Utilities/xml/docbook-4.5/htmltblx.mod delete mode 100644 Utilities/xml/docbook-4.5/soextblx.dtd delete mode 100644 Utilities/xml/xhtml1/xhtml-lat1.ent delete mode 100644 Utilities/xml/xhtml1/xhtml-special.ent delete mode 100644 Utilities/xml/xhtml1/xhtml-symbol.ent delete mode 100644 Utilities/xml/xhtml1/xhtml1-strict.dtd diff --git a/Utilities/CMakeLists.txt b/Utilities/CMakeLists.txt index 89c4951..8e9d009 100644 --- a/Utilities/CMakeLists.txt +++ b/Utilities/CMakeLists.txt @@ -130,34 +130,3 @@ install(FILES # Drive documentation generation. add_custom_target(documentation ALL DEPENDS ${DOC_FILES} ${CMake_BINARY_DIR}/Docs/cmake.txt ) - -# Documentation testing. -if(BUILD_TESTING) - find_package(LibXml2 QUIET) - if(NOT DEFINED LIBXML2_XMLLINT_EXECUTABLE) - find_program(LIBXML2_XMLLINT_EXECUTABLE xmllint) - endif() - mark_as_advanced(LIBXML2_XMLLINT_EXECUTABLE) - if(LIBXML2_XMLLINT_EXECUTABLE) - execute_process(COMMAND ${LIBXML2_XMLLINT_EXECUTABLE} --help - OUTPUT_VARIABLE _help ERROR_VARIABLE _err) - if("${_help}" MATCHES "--path" AND "${_help}" MATCHES "--nonet") - # We provide DTDs in the 'xml' directory so that xmllint can run without - # network access. Note that xmllints's --path option accepts a - # space-separated list of url-encoded paths. - set(_dtd_dir "${CMAKE_CURRENT_SOURCE_DIR}/xml") - string(REPLACE " " "%20" _dtd_dir "${_dtd_dir}") - string(REPLACE ":" "%3A" _dtd_dir "${_dtd_dir}") - add_test(CMake.HTML - ${LIBXML2_XMLLINT_EXECUTABLE} --valid --noout --nonet - --path ${_dtd_dir}/xhtml1 - ${HTML_FILES} - ) - add_test(CMake.DocBook - ${LIBXML2_XMLLINT_EXECUTABLE} --valid --noout --nonet - --path ${_dtd_dir}/docbook-4.5 - ${DOCBOOK_FILES} - ) - endif() - endif() -endif() diff --git a/Utilities/xml/.gitattributes b/Utilities/xml/.gitattributes deleted file mode 100644 index 562b12e..0000000 --- a/Utilities/xml/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -* -whitespace diff --git a/Utilities/xml/docbook-4.5/ChangeLog b/Utilities/xml/docbook-4.5/ChangeLog deleted file mode 100644 index 06f59ce..0000000 --- a/Utilities/xml/docbook-4.5/ChangeLog +++ /dev/null @@ -1,106 +0,0 @@ -2006-10-03 13:23 nwalsh - - * trunk/docbook/sgml/catalog.xml, trunk/docbook/sgml/docbook.cat, - trunk/docbook/sgml/docbook.dcl, trunk/docbook/sgml/docbook.dtd, - calstblx.dtd, catalog.xml, dbcentx.mod, dbgenent.mod, - dbhierx.mod, dbnotnx.mod, dbpoolx.mod, docbook.cat, - docbookx.dtd, htmltblx.mod: DocBook V4.5 released - -2006-06-02 11:28 nwalsh - - * calstblx.dtd, catalog.xml, dbcentx.mod, dbgenent.mod, - dbhierx.mod, dbnotnx.mod, dbpoolx.mod, docbook.cat, - docbookx.dtd, freshmeat.xsl, htmltblx.mod: Changed copyright - dates and version numbers - -2006-05-30 20:58 nwalsh - - * htmltblx.mod: Supply tag omission markers in SGML; suppress - xml:lang in SGML - -2006-03-07 13:11 nwalsh - - * trunk/docbook/sgml/catalog.xml, trunk/docbook/sgml/docbook.cat, - trunk/docbook/sgml/docbook.dcl, trunk/docbook/sgml/docbook.dtd, - calstblx.dtd, catalog.xml, dbcentx.mod, dbgenent.mod, - dbhierx.mod, dbnotnx.mod, dbpoolx.mod, docbook.cat, - docbookx.dtd, freshmeat.xsl, htmltblx.mod: Change version - numbers to 4.5CR2 - -2006-03-07 13:03 nwalsh - - * dbpoolx.mod: Allow citebiblioid anywhere the other citation - elements are allowed - -2006-02-16 21:12 nwalsh - - * calstblx.dtd, catalog.xml, dbcentx.mod, dbgenent.mod, - dbhierx.mod, dbnotnx.mod, dbpoolx.mod, docbook.cat, - docbookx.dtd, freshmeat.xsl, htmltblx.mod: DocBook V4.5 released - -2005-06-29 10:59 nwalsh - - * trunk/docbook/sgml/docbook.dtd, docbookx.dtd: DocBook V4.5CR1 - Released - -2005-06-29 10:58 nwalsh - - * trunk/docbook/sgml/catalog.xml, trunk/docbook/sgml/docbook.cat, - trunk/docbook/sgml/docbook.dcl, calstblx.dtd, catalog.xml, - dbcentx.mod, dbgenent.mod, dbhierx.mod, dbnotnx.mod, - dbpoolx.mod, docbook.cat, htmltblx.mod: Updated version number - -2005-06-29 10:53 nwalsh - - * freshmeat.xsl: Tweaked freshmeat changes - -2005-06-24 21:09 nwalsh - - * calstblx.dtd, dbhierx.mod, dbpoolx.mod, htmltblx.mod, - soextblx.dtd: Added doc: structured comments - -2005-05-05 11:41 nwalsh - - * trunk/docbook/sgml/docbook.dtd, docbookx.dtd: DocBook V4.5b1 - Released - -2005-05-05 11:40 nwalsh - - * trunk/docbook/sgml/catalog.xml, trunk/docbook/sgml/docbook.cat, - trunk/docbook/sgml/docbook.dcl, calstblx.dtd, catalog.xml, - dbcentx.mod, dbgenent.mod, dbhierx.mod, dbnotnx.mod, - dbpoolx.mod, docbook.cat, htmltblx.mod: Updated version number - -2005-05-05 11:37 nwalsh - - * freshmeat.xsl: Prepare for 4.5b1 - -2005-05-05 10:59 nwalsh - - * dbpoolx.mod: RFE 1055480: Make revnumber optional - -2005-05-05 10:54 nwalsh - - * dbpoolx.mod, htmltblx.mod: Allow common attributes on HTML table - elements - -2005-05-05 10:48 nwalsh - - * dbpoolx.mod: Added termdef - -2005-05-05 10:39 nwalsh - - * dbpoolx.mod: Added mathphrase - -2005-05-05 10:33 nwalsh - - * dbhierx.mod: RFE 1070458: Allow colophon in article - -2005-05-05 10:32 nwalsh - - * dbpoolx.mod: RFE 1070770: Allow procedure in example - -2005-05-05 10:21 nwalsh - - * dbpoolx.mod: Add isrn to list of biblioid class attribute values - diff --git a/Utilities/xml/docbook-4.5/README b/Utilities/xml/docbook-4.5/README deleted file mode 100644 index 6fc60c4..0000000 --- a/Utilities/xml/docbook-4.5/README +++ /dev/null @@ -1,8 +0,0 @@ -README for the DocBook XML DTD - -For more information about DocBook, please see - - http://www.oasis-open.org/docbook/ - -Please send all questions, comments, concerns, and bug reports to the -DocBook mailing list: docbook@lists.oasis-open.org diff --git a/Utilities/xml/docbook-4.5/calstblx.dtd b/Utilities/xml/docbook-4.5/calstblx.dtd deleted file mode 100644 index fac58d7..0000000 --- a/Utilities/xml/docbook-4.5/calstblx.dtd +++ /dev/null @@ -1,215 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/catalog.xml b/Utilities/xml/docbook-4.5/catalog.xml deleted file mode 100644 index f75c1d7..0000000 --- a/Utilities/xml/docbook-4.5/catalog.xml +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/dbcentx.mod b/Utilities/xml/docbook-4.5/dbcentx.mod deleted file mode 100644 index 60de99f..0000000 --- a/Utilities/xml/docbook-4.5/dbcentx.mod +++ /dev/null @@ -1,384 +0,0 @@ - - - - - - - - - - - - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - - - -]]> - -]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/dbgenent.mod b/Utilities/xml/docbook-4.5/dbgenent.mod deleted file mode 100644 index ff5ba90..0000000 --- a/Utilities/xml/docbook-4.5/dbgenent.mod +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/dbhierx.mod b/Utilities/xml/docbook-4.5/dbhierx.mod deleted file mode 100644 index 5f839f5..0000000 --- a/Utilities/xml/docbook-4.5/dbhierx.mod +++ /dev/null @@ -1,2193 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -%rdbhier; -]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -%rdbhier2; -]]> - - - - - - - - - - - - - - - - - - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> -]]> - - - - - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - -]]> -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - -]]> - - - -]]> - - - - - - - -]]> - - - -]]> - - - - - - - -]]> - - - -]]> - - - - - - - -]]> - - - -]]> - - - - - - - -]]> - - - -]]> - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - - - -]]> - - - -]]> - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - -]]> - - - - -]]> - - - - - -]]> - - - - -]]> - - - - - -]]> - -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> -]]> - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - - - - -]]> - - - - - - - -]]> -]]> - - - diff --git a/Utilities/xml/docbook-4.5/dbnotnx.mod b/Utilities/xml/docbook-4.5/dbnotnx.mod deleted file mode 100644 index 2416049..0000000 --- a/Utilities/xml/docbook-4.5/dbnotnx.mod +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/dbpoolx.mod b/Utilities/xml/docbook-4.5/dbpoolx.mod deleted file mode 100644 index 53b0704..0000000 --- a/Utilities/xml/docbook-4.5/dbpoolx.mod +++ /dev/null @@ -1,8701 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -%rdbpool; -]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> - - - - - -]]> - - - -]]> - - - - - -]]> - - - -]]> - - - - -]]> - - - -]]> - - - - - -]]> - - - -]]> - -]]> - - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> -]]> - - - - - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - - - -]]> - - - - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> -]]> - - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - - -]]> -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - - -]]> - - - -]]> - - -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> - - -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - - - - - -]]> - - - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - - - - -%htmltbl; -]]> - - - - - - - - - - - - - - - - - - - -]]> - - - - - - - - - - - - - - - - - - - - - - - - -]]> - -%tablemodel; - -]]> - - - - - - - - - - - - -]]> - - - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> - - - - -]]> -]]> - - - - - - - - - - - - - -]]> - - - -]]> - - -]]> - - - - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - - - -]]> - - - -]]> - ]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - - - -]]> - - - -]]> - ]]> - - -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - -]]> - - - -]]> - ]]> - - - ]]> - - - - -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - - - -]]> - - - -]]> - ]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - -]]> - - - -]]> - ]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> - -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - -]]> - - - -]]> - ]]> - - - - - - - - -]]> - - - -]]> - ]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> - ]]> - - -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - -]]> - - - - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - -]]> - - - -]]> -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> - - - - -]]> - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - - -]]> - - - -]]> -]]> - - - - - - - - - - -]]> - - - - - - - -]]> -]]> - - - - - - - - -]]> - - - - - - -]]> -]]> - - - - - - - - - - - -]]> - - - - - - - - - - -]]> -]]> - - - - - - - - - -]]> - - - - -]]> - - - - - -]]> - - - - -]]> - - - - - -]]> - - - - -]]> - -]]> - - - - - - - - -]]> - - - -]]> - - - - -]]> - - - -]]> -]]> -]]> - - - diff --git a/Utilities/xml/docbook-4.5/docbook.cat b/Utilities/xml/docbook-4.5/docbook.cat deleted file mode 100644 index 25ac4df..0000000 --- a/Utilities/xml/docbook-4.5/docbook.cat +++ /dev/null @@ -1,113 +0,0 @@ - -- ...................................................................... -- - -- Catalog data for DocBook XML V4.5 .................................... -- - -- File docbook.cat ..................................................... -- - - -- Please direct all questions, bug reports, or suggestions for - changes to the docbook@lists.oasis-open.org mailing list. For more - information, see http://www.oasis-open.org/. - -- - - -- This is the catalog data file for DocBook XML V4.5. It is provided as - a convenience in building your own catalog files. You need not use - the filenames listed here, and need not use the filename method of - identifying storage objects at all. See the documentation for - detailed information on the files associated with the DocBook DTD. - See SGML Open Technical Resolution 9401 for detailed information - on supplying and using catalog data. - -- - - -- ...................................................................... -- - -- DocBook driver file .................................................. -- - -PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" - "docbookx.dtd" - - -- ...................................................................... -- - -- DocBook modules ...................................................... -- - -PUBLIC "-//OASIS//DTD DocBook CALS Table Model V4.5//EN" - "calstblx.dtd" - -PUBLIC "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" - "htmltblx.mod" - -PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN" - "soextblx.dtd" - -PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.5//EN" - "dbpoolx.mod" - -PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.5//EN" - "dbhierx.mod" - -PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.5//EN" - "dbgenent.mod" - -PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.5//EN" - "dbnotnx.mod" - -PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.5//EN" - "dbcentx.mod" - - -- ...................................................................... -- - -- ISO entity sets ...................................................... -- - -PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" - "ent/isodia.ent" - -PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" - "ent/isonum.ent" - -PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN//XML" - "ent/isopub.ent" - -PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN//XML" - "ent/isotech.ent" - -PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" - "ent/isolat1.ent" - -PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" - "ent/isolat2.ent" - -PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN//XML" - "ent/isogrk1.ent" - -PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML" - "ent/isogrk2.ent" - -PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" - "ent/isogrk3.ent" - -PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML" - "ent/isogrk4.ent" - -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML" - "ent/isoamsa.ent" - -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML" - "ent/isoamsb.ent" - -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML" - "ent/isoamsc.ent" - -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML" - "ent/isoamsn.ent" - -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML" - "ent/isoamso.ent" - -PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" - "ent/isoamsr.ent" - -PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML" - "ent/isobox.ent" - -PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML" - "ent/isocyr1.ent" - -PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" - "ent/isocyr2.ent" - - -- End of catalog data for DocBook XML V4.5 ............................. -- - -- ...................................................................... -- diff --git a/Utilities/xml/docbook-4.5/docbookx.dtd b/Utilities/xml/docbook-4.5/docbookx.dtd deleted file mode 100644 index 8b43c59..0000000 --- a/Utilities/xml/docbook-4.5/docbookx.dtd +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - - - - - - - - - -]]> - - - - - - - - - -]]> -]]> - - - -]]> - - - -]]> - - - - - - -%dbnotn; -]]> - - - - - - - -]]> - -]]> -]]> - - -%dbcent; -]]> - - - - - - - - -%dbpool; -]]> - - - - - - -%rdbmods; -]]> - - - - - -%dbhier; -]]> - - - - - - -%dbgenent; -]]> - - - diff --git a/Utilities/xml/docbook-4.5/ent/README b/Utilities/xml/docbook-4.5/ent/README deleted file mode 100644 index c0da542..0000000 --- a/Utilities/xml/docbook-4.5/ent/README +++ /dev/null @@ -1,14 +0,0 @@ -XML Entity Declarations for Characters - -The character entity sets distributed with DocBook XML are direct -copies of the official entities located at - - http://www.w3.org/2003/entities/ - -They are distributed for historical compatibility and user convenience. -The DocBook Technical Committee no longer attempts to maintain these -definitions and will periodically update them from the W3C site if and -as they are updated there. - -Please direct all questions or comments about the entities to the -individuals or working groups who maintain the official sets. diff --git a/Utilities/xml/docbook-4.5/ent/isoamsa.ent b/Utilities/xml/docbook-4.5/ent/isoamsa.ent deleted file mode 100644 index dac3e62..0000000 --- a/Utilities/xml/docbook-4.5/ent/isoamsa.ent +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/ent/isoamsb.ent b/Utilities/xml/docbook-4.5/ent/isoamsb.ent deleted file mode 100644 index 4065b66..0000000 --- a/Utilities/xml/docbook-4.5/ent/isoamsb.ent +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/ent/isoamsc.ent b/Utilities/xml/docbook-4.5/ent/isoamsc.ent deleted file mode 100644 index 2fad417..0000000 --- a/Utilities/xml/docbook-4.5/ent/isoamsc.ent +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/ent/isoamsn.ent b/Utilities/xml/docbook-4.5/ent/isoamsn.ent deleted file mode 100644 index ddca8d1..0000000 --- a/Utilities/xml/docbook-4.5/ent/isoamsn.ent +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/ent/isoamso.ent b/Utilities/xml/docbook-4.5/ent/isoamso.ent deleted file mode 100644 index 278e4b4..0000000 --- a/Utilities/xml/docbook-4.5/ent/isoamso.ent +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/ent/isoamsr.ent b/Utilities/xml/docbook-4.5/ent/isoamsr.ent deleted file mode 100644 index 18e64bf..0000000 --- a/Utilities/xml/docbook-4.5/ent/isoamsr.ent +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/ent/isobox.ent b/Utilities/xml/docbook-4.5/ent/isobox.ent deleted file mode 100644 index 9ae27d4..0000000 --- a/Utilities/xml/docbook-4.5/ent/isobox.ent +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/ent/isocyr1.ent b/Utilities/xml/docbook-4.5/ent/isocyr1.ent deleted file mode 100644 index 364b6d8..0000000 --- a/Utilities/xml/docbook-4.5/ent/isocyr1.ent +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/ent/isocyr2.ent b/Utilities/xml/docbook-4.5/ent/isocyr2.ent deleted file mode 100644 index 6432d74..0000000 --- a/Utilities/xml/docbook-4.5/ent/isocyr2.ent +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/ent/isodia.ent b/Utilities/xml/docbook-4.5/ent/isodia.ent deleted file mode 100644 index b49c309..0000000 --- a/Utilities/xml/docbook-4.5/ent/isodia.ent +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/ent/isogrk1.ent b/Utilities/xml/docbook-4.5/ent/isogrk1.ent deleted file mode 100644 index 7826f81..0000000 --- a/Utilities/xml/docbook-4.5/ent/isogrk1.ent +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/ent/isogrk2.ent b/Utilities/xml/docbook-4.5/ent/isogrk2.ent deleted file mode 100644 index 726b7dd..0000000 --- a/Utilities/xml/docbook-4.5/ent/isogrk2.ent +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/ent/isogrk3.ent b/Utilities/xml/docbook-4.5/ent/isogrk3.ent deleted file mode 100644 index 28b5c27..0000000 --- a/Utilities/xml/docbook-4.5/ent/isogrk3.ent +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/ent/isogrk4.ent b/Utilities/xml/docbook-4.5/ent/isogrk4.ent deleted file mode 100644 index 27c6a51..0000000 --- a/Utilities/xml/docbook-4.5/ent/isogrk4.ent +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/ent/isolat1.ent b/Utilities/xml/docbook-4.5/ent/isolat1.ent deleted file mode 100644 index 381bd09..0000000 --- a/Utilities/xml/docbook-4.5/ent/isolat1.ent +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/ent/isolat2.ent b/Utilities/xml/docbook-4.5/ent/isolat2.ent deleted file mode 100644 index e91ffdb..0000000 --- a/Utilities/xml/docbook-4.5/ent/isolat2.ent +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/ent/isonum.ent b/Utilities/xml/docbook-4.5/ent/isonum.ent deleted file mode 100644 index 884c0c4..0000000 --- a/Utilities/xml/docbook-4.5/ent/isonum.ent +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/ent/isopub.ent b/Utilities/xml/docbook-4.5/ent/isopub.ent deleted file mode 100644 index a117878..0000000 --- a/Utilities/xml/docbook-4.5/ent/isopub.ent +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/ent/isotech.ent b/Utilities/xml/docbook-4.5/ent/isotech.ent deleted file mode 100644 index 07e8100..0000000 --- a/Utilities/xml/docbook-4.5/ent/isotech.ent +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/htmltblx.mod b/Utilities/xml/docbook-4.5/htmltblx.mod deleted file mode 100644 index cdaefed..0000000 --- a/Utilities/xml/docbook-4.5/htmltblx.mod +++ /dev/null @@ -1,245 +0,0 @@ - - - - - - - - - - - - - - - - -]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/docbook-4.5/soextblx.dtd b/Utilities/xml/docbook-4.5/soextblx.dtd deleted file mode 100644 index 4a92e11..0000000 --- a/Utilities/xml/docbook-4.5/soextblx.dtd +++ /dev/null @@ -1,321 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/xhtml1/xhtml-lat1.ent b/Utilities/xml/xhtml1/xhtml-lat1.ent deleted file mode 100644 index ffee223..0000000 --- a/Utilities/xml/xhtml1/xhtml-lat1.ent +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/xhtml1/xhtml-special.ent b/Utilities/xml/xhtml1/xhtml-special.ent deleted file mode 100644 index 3a83fb6..0000000 --- a/Utilities/xml/xhtml1/xhtml-special.ent +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/xhtml1/xhtml-symbol.ent b/Utilities/xml/xhtml1/xhtml-symbol.ent deleted file mode 100644 index d0c77ee..0000000 --- a/Utilities/xml/xhtml1/xhtml-symbol.ent +++ /dev/null @@ -1,237 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Utilities/xml/xhtml1/xhtml1-strict.dtd b/Utilities/xml/xhtml1/xhtml1-strict.dtd deleted file mode 100644 index e48fbea..0000000 --- a/Utilities/xml/xhtml1/xhtml1-strict.dtd +++ /dev/null @@ -1,977 +0,0 @@ - - - - - -%HTMLlat1; - - -%HTMLsymbol; - - -%HTMLspecial; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit v0.12 From 09be0bb0494dcf35f80f74f442e05e6b39736e73 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 7 Oct 2013 14:06:04 -0400 Subject: Set IDE folder for CMake 'documentation' target only if it exists The documentation target will be come optional, so do not reference it when it does not exist. --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e36daee..eb515d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -573,7 +573,9 @@ if(BUILD_TESTING) CMAKE_SET_TARGET_FOLDER(CMakeLibTests "Tests") endif() CMAKE_SET_TARGET_FOLDER(cmw9xcom "Utilities/Win9xCompat") -CMAKE_SET_TARGET_FOLDER(documentation "Documentation") +if(TARGET documentation) + CMAKE_SET_TARGET_FOLDER(documentation "Documentation") +endif() # add a test add_test(SystemInformationNew "${CMAKE_CMAKE_COMMAND}" -- cgit v0.12 From 678aaad1336b9581889d7d219a2778b0b070a560 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 13 Sep 2013 16:08:16 -0400 Subject: Drop documentation generation during build Drop the 'documentation' build target. We will no longer use the executables to generate their own documentation. New infrastructure will be introduced later to generate documentation. --- Utilities/CMakeLists.txt | 120 ----------------------------------------------- 1 file changed, 120 deletions(-) diff --git a/Utilities/CMakeLists.txt b/Utilities/CMakeLists.txt index 8e9d009..5c78e0b 100644 --- a/Utilities/CMakeLists.txt +++ b/Utilities/CMakeLists.txt @@ -10,123 +10,3 @@ # See the License for more information. #============================================================================= subdirs(Doxygen KWStyle) - -make_directory(${CMake_BINARY_DIR}/Docs) - -# Add a documentation target. -set(DOC_FILES "") - -set(MAN_FILES - ${CMake_BINARY_DIR}/Docs/cmake.1 - ${CMake_BINARY_DIR}/Docs/cmakecommands.1 - ${CMake_BINARY_DIR}/Docs/cmakecompat.1 - ${CMake_BINARY_DIR}/Docs/cmakeprops.1 - ${CMake_BINARY_DIR}/Docs/cmakepolicies.1 - ${CMake_BINARY_DIR}/Docs/cmakevars.1 - ${CMake_BINARY_DIR}/Docs/cmakemodules.1 - ) -set(TEXT_FILES - ${CMake_BINARY_DIR}/Docs/cmake.txt - ${CMake_BINARY_DIR}/Docs/cmake-policies.txt - ${CMake_BINARY_DIR}/Docs/cmake-properties.txt - ${CMake_BINARY_DIR}/Docs/cmake-variables.txt - ${CMake_BINARY_DIR}/Docs/cmake-modules.txt - ${CMake_BINARY_DIR}/Docs/cmake-commands.txt - ${CMake_BINARY_DIR}/Docs/cmake-compatcommands.txt - ) -set(HTML_FILES - ${CMake_BINARY_DIR}/Docs/cmake.html - ${CMake_BINARY_DIR}/Docs/cmake-policies.html - ${CMake_BINARY_DIR}/Docs/cmake-properties.html - ${CMake_BINARY_DIR}/Docs/cmake-variables.html - ${CMake_BINARY_DIR}/Docs/cmake-modules.html - ${CMake_BINARY_DIR}/Docs/cmake-commands.html - ${CMake_BINARY_DIR}/Docs/cmake-compatcommands.html - ) -set(DOCBOOK_FILES - ${CMake_BINARY_DIR}/Docs/cmake.docbook - ) - -macro(ADD_DOCS target dependency) - # only generate the documentation if the target is actually built - if(${target}) - add_custom_command( - OUTPUT ${CMake_BINARY_DIR}/Docs/${target}.txt - ${${target}-PATH} # Possibly set PATH, see below. - COMMAND $ - ARGS --help-full ${CMake_BINARY_DIR}/Docs/${target}.txt - --help-full ${CMake_BINARY_DIR}/Docs/${target}.html - --help-full ${CMake_BINARY_DIR}/Docs/${target}.1 - --help-full ${CMake_BINARY_DIR}/Docs/${target}.docbook - DEPENDS ${target} - MAIN_DEPENDENCY ${dependency} - ) - set(DOC_FILES ${DOC_FILES} ${CMake_BINARY_DIR}/Docs/${target}.txt) - list(APPEND MAN_FILES ${CMake_BINARY_DIR}/Docs/${target}.1) - list(APPEND TEXT_FILES ${CMake_BINARY_DIR}/Docs/${target}.txt) - list(APPEND HTML_FILES ${CMake_BINARY_DIR}/Docs/${target}.html) - list(APPEND DOCBOOK_FILES ${CMake_BINARY_DIR}/Docs/${target}.docbook) - endif() -endmacro() - -# Help cmake-gui find the Qt DLLs on Windows. -if(TARGET cmake-gui) - get_property(Qt_BIN_DIR TARGET cmake-gui PROPERTY Qt_BIN_DIR) - set(WIN_SHELL_GENS "Visual Studio|NMake|MinGW|Watcom|Borland") - if(Qt_BIN_DIR AND "${CMAKE_GENERATOR}" MATCHES "${WIN_SHELL_GENS}" - AND NOT CMAKE_NO_AUTO_QT_ENV) - # Tell the macro to set the path before running cmake-gui. - string(REPLACE ";" "\\;" _PATH "PATH=${Qt_BIN_DIR};%PATH%") - set(cmake-gui-PATH COMMAND set "${_PATH}") - endif() -endif() - -# add the docs for the executables -ADD_DOCS(ctest ${CMake_SOURCE_DIR}/Utilities/Doxygen/authors.txt) -ADD_DOCS(cpack ${CMake_SOURCE_DIR}/Utilities/Doxygen/authors.txt) -ADD_DOCS(ccmake ${CMake_SOURCE_DIR}/Utilities/Doxygen/authors.txt) -ADD_DOCS(CMakeSetup ${CMake_SOURCE_DIR}/Utilities/Doxygen/doxyfile.in) -ADD_DOCS(cmake-gui ${CMake_SOURCE_DIR}/Utilities/Doxygen/doxyfile.in) - -# add the documentation for cmake itself - -add_custom_command( - OUTPUT ${CMake_BINARY_DIR}/Docs/cmake.txt - COMMAND $ - ARGS --copyright ${CMake_BINARY_DIR}/Docs/Copyright.txt - --help-full ${CMake_BINARY_DIR}/Docs/cmake.txt - --help-full ${CMake_BINARY_DIR}/Docs/cmake.html - --help-full ${CMake_BINARY_DIR}/Docs/cmake.1 - --help-full ${CMake_BINARY_DIR}/Docs/cmake.docbook - --help-policies ${CMake_BINARY_DIR}/Docs/cmake-policies.txt - --help-policies ${CMake_BINARY_DIR}/Docs/cmake-policies.html - --help-policies ${CMake_BINARY_DIR}/Docs/cmakepolicies.1 - --help-properties ${CMake_BINARY_DIR}/Docs/cmake-properties.txt - --help-properties ${CMake_BINARY_DIR}/Docs/cmake-properties.html - --help-properties ${CMake_BINARY_DIR}/Docs/cmakeprops.1 - --help-variables ${CMake_BINARY_DIR}/Docs/cmake-variables.txt - --help-variables ${CMake_BINARY_DIR}/Docs/cmake-variables.html - --help-variables ${CMake_BINARY_DIR}/Docs/cmakevars.1 - --help-modules ${CMake_BINARY_DIR}/Docs/cmake-modules.txt - --help-modules ${CMake_BINARY_DIR}/Docs/cmake-modules.html - --help-modules ${CMake_BINARY_DIR}/Docs/cmakemodules.1 - --help-commands ${CMake_BINARY_DIR}/Docs/cmake-commands.txt - --help-commands ${CMake_BINARY_DIR}/Docs/cmake-commands.html - --help-commands ${CMake_BINARY_DIR}/Docs/cmakecommands.1 - --help-compatcommands ${CMake_BINARY_DIR}/Docs/cmake-compatcommands.txt - --help-compatcommands ${CMake_BINARY_DIR}/Docs/cmake-compatcommands.html - --help-compatcommands ${CMake_BINARY_DIR}/Docs/cmakecompat.1 - DEPENDS cmake - MAIN_DEPENDENCY ${CMake_SOURCE_DIR}/Utilities/Doxygen/authors.txt - ) - -install(FILES ${MAN_FILES} DESTINATION ${CMAKE_MAN_DIR}/man1) -install(FILES - ${TEXT_FILES} - ${HTML_FILES} - ${DOCBOOK_FILES} - DESTINATION ${CMAKE_DOC_DIR} - ) - -# Drive documentation generation. -add_custom_target(documentation ALL DEPENDS ${DOC_FILES} ${CMake_BINARY_DIR}/Docs/cmake.txt ) -- cgit v0.12 From 277bd1db98194fe7b48627add4442e9b7a8207a7 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 16 Sep 2013 14:28:51 -0400 Subject: Drop CMAKE_STRICT mode With our modern development workflow it is less likely a property will be added to C++ code without documentation. This mode only existed to support the DocTest which had very limited coverage of the properties anyway. --- CMakeLists.txt | 4 -- Source/cmConfigure.cmake.h.in | 1 - Source/cmMakefile.cxx | 15 ------ Source/cmPropertyMap.cxx | 37 -------------- Source/cmake.cxx | 111 ------------------------------------------ Source/cmake.h | 4 -- Tests/CMakeLists.txt | 3 -- Tests/DocTest/CMakeLists.txt | 7 --- Tests/DocTest/DocTest.cxx | 33 ------------- 9 files changed, 215 deletions(-) delete mode 100644 Tests/DocTest/CMakeLists.txt delete mode 100644 Tests/DocTest/DocTest.cxx diff --git a/CMakeLists.txt b/CMakeLists.txt index eb515d7..620b5d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -536,10 +536,6 @@ configure_file( "${CMAKE_CURRENT_BINARY_DIR}/DartLocal.conf" COPYONLY) -option(CMAKE_STRICT - "Perform strict testing to record property and variable access. Can be used to report any undefined properties or variables" OFF) -mark_as_advanced(CMAKE_STRICT) - if(NOT CMake_VERSION_IS_RELEASE) if("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" AND NOT "${CMAKE_C_COMPILER_VERSION}" VERSION_LESS 4.2) diff --git a/Source/cmConfigure.cmake.h.in b/Source/cmConfigure.cmake.h.in index ab53b1d..348f5d3 100644 --- a/Source/cmConfigure.cmake.h.in +++ b/Source/cmConfigure.cmake.h.in @@ -16,7 +16,6 @@ #cmakedefine HAVE_ENVIRON_NOT_REQUIRE_PROTOTYPE #cmakedefine HAVE_UNSETENV #cmakedefine CMAKE_USE_ELF_PARSER -#cmakedefine CMAKE_STRICT #define CMAKE_ROOT_DIR "${CMake_SOURCE_DIR}" #define CMAKE_BUILD_DIR "${CMake_BINARY_DIR}" #define CMAKE_DATA_DIR "/@CMAKE_DATA_DIR@" diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 40e55c2..063d560 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1778,14 +1778,6 @@ void cmMakefile::AddDefinition(const char* name, const char* value) return; } -#ifdef CMAKE_STRICT - if (this->GetCMakeInstance()) - { - this->GetCMakeInstance()-> - RecordPropertyAccess(name,cmProperty::VARIABLE); - } -#endif - this->Internal->VarStack.top().Set(name, value); if (this->Internal->VarUsageStack.size() && this->VariableInitialized(name)) @@ -2448,13 +2440,6 @@ bool cmMakefile::IsDefinitionSet(const char* name) const const char* cmMakefile::GetDefinition(const char* name) const { -#ifdef CMAKE_STRICT - if (this->GetCMakeInstance()) - { - this->GetCMakeInstance()-> - RecordPropertyAccess(name,cmProperty::VARIABLE); - } -#endif if (this->WarnUnused) { this->Internal->VarUsageStack.top().insert(name); diff --git a/Source/cmPropertyMap.cxx b/Source/cmPropertyMap.cxx index 78f378a..e94e3e9 100644 --- a/Source/cmPropertyMap.cxx +++ b/Source/cmPropertyMap.cxx @@ -40,19 +40,7 @@ void cmPropertyMap::SetProperty(const char *name, const char *value, this->erase(name); return; } -#ifdef CMAKE_STRICT - if (!this->CMakeInstance) - { - cmSystemTools::Error("CMakeInstance not set on a property map!"); - abort(); - } - else - { - this->CMakeInstance->RecordPropertyAccess(name,scope); - } -#else (void)scope; -#endif cmProperty *prop = this->GetOrCreateProperty(name); prop->Set(name,value); @@ -66,19 +54,7 @@ void cmPropertyMap::AppendProperty(const char* name, const char* value, { return; } -#ifdef CMAKE_STRICT - if (!this->CMakeInstance) - { - cmSystemTools::Error("CMakeInstance not set on a property map!"); - abort(); - } - else - { - this->CMakeInstance->RecordPropertyAccess(name,scope); - } -#else (void)scope; -#endif cmProperty *prop = this->GetOrCreateProperty(name); prop->Append(name,value,asString); @@ -95,19 +71,6 @@ const char *cmPropertyMap return 0; } - // has the property been defined? -#ifdef CMAKE_STRICT - if (!this->CMakeInstance) - { - cmSystemTools::Error("CMakeInstance not set on a property map!"); - abort(); - } - else - { - this->CMakeInstance->RecordPropertyAccess(name,scope); - } -#endif - cmPropertyMap::const_iterator it = this->find(name); if (it == this->end()) { diff --git a/Source/cmake.cxx b/Source/cmake.cxx index d2961c0..c34c369 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -1865,11 +1865,6 @@ int cmake::Generate() { return -1; } - if (this->GetProperty("REPORT_UNDEFINED_PROPERTIES")) - { - this->ReportUndefinedPropertyAccesses - (this->GetProperty("REPORT_UNDEFINED_PROPERTIES")); - } // Save the cache again after a successful Generate so that any internal // variables created during Generate are saved. (Specifically target GUIDs // for the Visual Studio and Xcode generators.) @@ -2646,112 +2641,6 @@ cmPropertyDefinition *cmake return 0; } -void cmake::RecordPropertyAccess(const char *name, - cmProperty::ScopeType scope) -{ - this->AccessedProperties.insert - (std::pair(name,scope)); -} - -void cmake::ReportUndefinedPropertyAccesses(const char *filename) -{ - if(!this->GlobalGenerator) - { return; } - FILE *progFile = fopen(filename,"w"); - if(!progFile) - { return; } - - // what are the enabled languages? - std::vector enLangs; - this->GlobalGenerator->GetEnabledLanguages(enLangs); - - // Common configuration names. - // TODO: Compute current configuration(s). - std::vector enConfigs; - enConfigs.push_back(""); - enConfigs.push_back("DEBUG"); - enConfigs.push_back("RELEASE"); - enConfigs.push_back("MINSIZEREL"); - enConfigs.push_back("RELWITHDEBINFO"); - - // take all the defined properties and add definitions for all the enabled - // languages - std::set > aliasedProperties; - std::map::iterator i; - i = this->PropertyDefinitions.begin(); - for (;i != this->PropertyDefinitions.end(); ++i) - { - cmPropertyDefinitionMap::iterator j; - for (j = i->second.begin(); j != i->second.end(); ++j) - { - // TODO: What if both and appear? - if (j->first.find("") != std::string::npos) - { - std::vector::const_iterator k; - for (k = enConfigs.begin(); k != enConfigs.end(); ++k) - { - std::string tmp = j->first; - cmSystemTools::ReplaceString(tmp, "", k->c_str()); - // add alias - aliasedProperties.insert - (std::pair(tmp,i->first)); - } - } - if (j->first.find("") != std::string::npos) - { - std::vector::const_iterator k; - for (k = enLangs.begin(); k != enLangs.end(); ++k) - { - std::string tmp = j->first; - cmSystemTools::ReplaceString(tmp, "", k->c_str()); - // add alias - aliasedProperties.insert - (std::pair(tmp,i->first)); - } - } - } - } - - std::set >::const_iterator ap; - ap = this->AccessedProperties.begin(); - for (;ap != this->AccessedProperties.end(); ++ap) - { - if (!this->IsPropertyDefined(ap->first.c_str(),ap->second) && - aliasedProperties.find(std::pair - (ap->first,ap->second)) == - aliasedProperties.end()) - { - const char *scopeStr = ""; - switch (ap->second) - { - case cmProperty::TARGET: - scopeStr = "TARGET"; - break; - case cmProperty::SOURCE_FILE: - scopeStr = "SOURCE_FILE"; - break; - case cmProperty::DIRECTORY: - scopeStr = "DIRECTORY"; - break; - case cmProperty::TEST: - scopeStr = "TEST"; - break; - case cmProperty::VARIABLE: - scopeStr = "VARIABLE"; - break; - case cmProperty::CACHED_VARIABLE: - scopeStr = "CACHED_VARIABLE"; - break; - default: - scopeStr = "unknown"; - break; - } - fprintf(progFile, "%s with scope %s\n", ap->first.c_str(), scopeStr); - } - } - fclose(progFile); -} - bool cmake::IsPropertyDefined(const char *name, cmProperty::ScopeType scope) { return this->PropertyDefinitions[scope].IsPropertyDefined(name); diff --git a/Source/cmake.h b/Source/cmake.h index d33ba34..7dc3ccc 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -358,10 +358,6 @@ class cmake debugging configurations.*/ std::vector const& GetDebugConfigs(); - // record accesses of properties and variables - void RecordPropertyAccess(const char *name, cmProperty::ScopeType scope); - void ReportUndefinedPropertyAccesses(const char *filename); - // Define the properties static void DefineProperties(cmake *cm); diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 0e0455c..2f6a456 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -508,9 +508,6 @@ if(BUILD_TESTING) list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/SubProject") endif() - if (CMAKE_STRICT) - ADD_TEST_MACRO(DocTest DocTest) - endif () # macro to add a test that will build a nightly release # of CMake for given platform using the release scripts macro(ADD_NIGHTLY_BUILD_TEST name script) diff --git a/Tests/DocTest/CMakeLists.txt b/Tests/DocTest/CMakeLists.txt deleted file mode 100644 index 837328e..0000000 --- a/Tests/DocTest/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -cmake_minimum_required (VERSION 2.6) -project (DocTest) - -add_executable (DocTest DocTest.cxx) - -set_property(GLOBAL PROPERTY REPORT_UNDEFINED_PROPERTIES - "${CMAKE_CURRENT_BINARY_DIR}/UndefinedProperties.txt") diff --git a/Tests/DocTest/DocTest.cxx b/Tests/DocTest/DocTest.cxx deleted file mode 100644 index a8a62ab..0000000 --- a/Tests/DocTest/DocTest.cxx +++ /dev/null @@ -1,33 +0,0 @@ -#include -#include -#include - -int main () -{ - int result = 0; - - // parse the dart test file - std::ifstream fin("UndefinedProperties.txt"); - if(!fin) - { - fprintf(stderr,"failed to find undefined properties file"); - return 1; - } - - char buffer[1024]; - while ( fin ) - { - buffer[0] = 0; - fin.getline(buffer, 1023); - buffer[1023] = 0; - std::string line = buffer; - if(line.size() && line.find("with scope VARIABLE") == std::string::npos) - { - fprintf(stderr, "%s\n", line.c_str()); - result = 1; - } - } - fin.close(); - - return result; -} -- cgit v0.12 From 946f0efb7cc15476b54dc57ca5daa785f3f9a937 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 9 Oct 2013 08:23:50 -0400 Subject: Drop definition of internal property The property __CMAKE_DELETE_CACHE_CHANGE_VARS_ is not meant for public exposure. --- Source/cmake.cxx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Source/cmake.cxx b/Source/cmake.cxx index c34c369..f45f56f 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -2485,11 +2485,6 @@ void cmake::DefineProperties(cmake *cm) "package has been found is determined using the _FOUND variables."); cm->DefineProperty( - "__CMAKE_DELETE_CACHE_CHANGE_VARS_", cmProperty::GLOBAL, - "Internal property", - "Used to detect compiler changes, Do not set."); - - cm->DefineProperty( "DEBUG_CONFIGURATIONS", cmProperty::GLOBAL, "Specify which configurations are for debugging.", "The value must be a semi-colon separated list of configuration names. " -- cgit v0.12 From 0d0fec152443fa3f63af8e68e3b2784b6523d85d Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 27 Sep 2013 10:58:30 -0400 Subject: Drop CPack module documentation markup extraction This will be replaced by alternative markup later. --- Source/CPack/cpack.cxx | 21 --- Source/cmDocumentation.cxx | 327 --------------------------------------------- Source/cmDocumentation.h | 38 ------ 3 files changed, 386 deletions(-) diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx index b188918..7d6a279 100644 --- a/Source/CPack/cpack.cxx +++ b/Source/CPack/cpack.cxx @@ -541,27 +541,6 @@ int main (int argc, char *argv[]) std::vector commands; - std::string docedFile; - std::string docPath; - cmDocumentation::documentedModulesList_t docedModList; - - docedFile = globalMF->GetModulesFile("CPack.cmake"); - if (docedFile.length()!=0) - { - docPath = cmSystemTools::GetFilenamePath(docedFile.c_str()); - doc.getDocumentedModulesListInDir(docPath,"CPack*.cmake",docedModList); - } - - // parse the files for documentation. - cmDocumentation::documentedModulesList_t::iterator docedIt; - for (docedIt = docedModList.begin(); - docedIt!= docedModList.end(); ++docedIt) - { - doc.GetStructuredDocFromFile( - (docedIt->first).c_str(), - commands,&cminst); - } - std::map propDocs; cminst.GetPropertiesDocumentation(propDocs); doc.SetSections(propDocs); diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx index 9cb99ee..b0643b0 100644 --- a/Source/cmDocumentation.cxx +++ b/Source/cmDocumentation.cxx @@ -502,8 +502,6 @@ bool cmDocumentation::CreateSingleModule(const char* fname, { if(line.size() && line[0] == '#') { - /* line beginnings with ## are mark-up ignore them */ - if (line.size()>=2 && line[1] == '#') continue; // blank line if(line.size() <= 2) { @@ -750,331 +748,6 @@ void cmDocumentation::addAutomaticVariableSections(const std::string& section) this->VariableSections.push_back(section); } } -//---------------------------------------------------------------------------- -int cmDocumentation::getDocumentedModulesListInDir( - std::string path, - std::string globExpr, - documentedModulesList_t& docedModuleList) -{ - cmsys::Glob gl; - std::string findExpr; - std::vector files; - std::string line; - documentedModuleSectionPair_t docPair; - int nbDocumentedModules = 0; - - findExpr = path + "/" + globExpr; - if (gl.FindFiles(findExpr)) - { - files = gl.GetFiles(); - for (std::vector::iterator itf=files.begin(); - itf!=files.end();++itf) - { - std::ifstream fin((*itf).c_str()); - // file access trouble ignore it (ignore this kind of error) - if (!fin) continue; - /* read first line in order to get doc section */ - if (cmSystemTools::GetLineFromStream(fin, line)) - { - /* Doc section indicates that - * this file has structured doc in it. - */ - if (line.find("##section")!=std::string::npos) - { - // ok found one more documented module - ++nbDocumentedModules; - docPair.first = *itf; - // 10 is the size of '##section' + 1 - docPair.second = line.substr(10,std::string::npos); - docedModuleList.push_back(docPair); - } - // No else if no section is found (undocumented module) - } - // No else cannot read first line (ignore this kind of error) - line = ""; - } - } - if (nbDocumentedModules>0) - { - return 0; - } - else - { - return 1; - } -} - -//---------------------------------------------------------------------------- -static void trim(std::string& s) -{ - std::string::size_type pos = s.find_last_not_of(' '); - if(pos != std::string::npos) - { - s.erase(pos + 1); - pos = s.find_first_not_of(' '); - if(pos != std::string::npos) s.erase(0, pos); - } - else - { - s.erase(s.begin(), s.end()); - } -} - -int cmDocumentation::GetStructuredDocFromFile( - const char* fname, - std::vector& commands, - cmake* cm) -{ - enum sdoce { - SDOC_NONE, SDOC_MODULE, SDOC_MACRO, SDOC_FUNCTION, SDOC_VARIABLE, - SDOC_SECTION, - SDOC_UNKNOWN}; - int nbDocItemFound = 0; - int docCtxIdx = 0; - std::vector docContextStack(60); - docContextStack[docCtxIdx]=SDOC_NONE; - cmDocumentationEntry e; - std::ifstream fin(fname); - if(!fin) - { - return nbDocItemFound; - } - std::string section; - std::string name; - std::string full; - std::string brief; - std::string line; - bool newCtx = false; /* we've just entered ## context */ - bool inBrief = false; /* we are currently parsing brief desc. */ - bool inFullFirstParagraph = false; /* we are currently parsing full - desc. first paragraph */ - brief = ""; - full = ""; - bool newParagraph = true; - while ( fin && cmSystemTools::GetLineFromStream(fin, line) ) - { - if(line.size() && line[0] == '#') - { - /* handle structured doc context */ - if ((line.size()>=2) && line[1]=='#') - { - /* markup word is following '##' stopping at first space - * Some markup word like 'section' may have more characters - * following but we don't handle those here. - */ - std::string mkword = line.substr(2,line.find(' ',2)-2); - if (mkword=="macro") - { - docCtxIdx++; - docContextStack[docCtxIdx]=SDOC_MACRO; - newCtx = true; - } - else if (mkword=="variable") - { - docCtxIdx++; - docContextStack[docCtxIdx]=SDOC_VARIABLE; - newCtx = true; - } - else if (mkword=="function") - { - docCtxIdx++; - docContextStack[docCtxIdx]=SDOC_FUNCTION; - newCtx = true; - } - else if (mkword=="module") - { - docCtxIdx++; - docContextStack[docCtxIdx]=SDOC_MODULE; - newCtx = true; - } - else if (mkword=="section") - { - docCtxIdx++; - docContextStack[docCtxIdx]=SDOC_SECTION; - // 10 is the size of '##section' + 1 - section = line.substr(10,std::string::npos); - /* drop the rest of the line */ - line = ""; - newCtx = true; - } - else if (mkword.substr(0,3)=="end") - { - switch (docContextStack[docCtxIdx]) { - case SDOC_MACRO: - /* for now MACRO and FUNCTION are handled in the same way */ - case SDOC_FUNCTION: - commands.push_back(cmDocumentationEntry(name.c_str(), - brief.c_str(),full.c_str())); - break; - case SDOC_VARIABLE: - this->addAutomaticVariableSections(section); - cm->DefineProperty - (name.c_str(), cmProperty::VARIABLE, - brief.c_str(), - full.c_str(),false, - section.c_str()); - break; - case SDOC_MODULE: - /* not implemented */ - break; - case SDOC_SECTION: - /* not implemented */ - break; - default: - /* ignore other cases */ - break; - } - docCtxIdx--; - newCtx = false; - ++nbDocItemFound; - } - else - { - // error out unhandled context - return nbDocItemFound; - } - /* context is set go to next doc line */ - continue; - } - - // Now parse the text attached to the context - - // The first line after the context mark-up contains:: - // name - brief until. (brief is dot terminated or - // followed by a blank line) - if (newCtx) - { - // no brief (for easy variable definition) - if (line.find("-")==std::string::npos) - { - name = line.substr(1,std::string::npos); - trim(name); - brief = ""; - inBrief = false; - full = ""; - } - // here we have a name and brief beginning - else - { - name = line.substr(1,line.find("-")-1); - trim(name); - // we are parsing the brief context - brief = line.substr(line.find("-")+1,std::string::npos); - trim(brief); - // Brief may already be terminated on the first line - if (brief.find('.')!=std::string::npos) - { - inBrief = false; - full = brief.substr(brief.find('.')+1,std::string::npos); - trim(full); - inFullFirstParagraph = true; - brief = brief.substr(0,brief.find('.')); - } - // brief is continued on following lines - else - { - inBrief = true; - full = ""; - } - } - newCtx = false; - continue; - } - // blank line - if(line.size() <= 2) - { - if (inBrief) { - inBrief = false; - full = ""; - } else { - if (full.length()>0) - { - full += "\n"; - } - // the first paragraph of full has ended - inFullFirstParagraph = false; - } - newParagraph = true; - } - // brief is terminated by '.' - else if (inBrief && (line.find('.')!=std::string::npos)) - { - /* the brief just ended */ - inBrief = false; - std::string endBrief = line.substr(1,line.find('.')); - trim(endBrief); - trim(brief); - brief += " " + endBrief; - full += line.substr(line.find('.')+1,std::string::npos); - trim(full); - inFullFirstParagraph = true; - } - // we handle full text or multi-line brief. - else - { - std::string* text; - if (inBrief) - { - text = &brief; - } - else - { - text = &full; - } - // two spaces - if(line[1] == ' ' && line[2] == ' ') - { - // there is no "full first paragraph at all." - if (line[3] == ' ') - { - inFullFirstParagraph = false; - } - - if(!newParagraph && !inFullFirstParagraph) - { - *text += "\n"; - newParagraph = true; - } - // Skip #, and leave space for pre-formatted - if (inFullFirstParagraph) - { - std::string temp = line.c_str()+1; - trim(temp); - *text += " " + temp; - } - else - { - *text += line.c_str()+1; - *text += "\n"; - } - } - else if(line[1] == ' ') - { - if(!newParagraph) - { - *text += " "; - } - newParagraph = false; - // skip # and space - *text += line.c_str()+2; - } - else - { - if(!newParagraph) - { - *text += " "; - } - newParagraph = false; - // skip # - *text += line.c_str()+1; - } - } - } - /* next line is not the first context line */ - newCtx = false; - } - return nbDocItemFound; -} //---------------------------------------------------------------------------- bool cmDocumentation::CheckOptions(int argc, const char* const* argv, diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h index 218f44d..68ddbb8 100644 --- a/Source/cmDocumentation.h +++ b/Source/cmDocumentation.h @@ -151,44 +151,6 @@ public: /** Add automatic variables sections */ void addAutomaticVariableSections(const std::string& section); - /** - * Retrieve the list of documented module located in - * path which match the globing expression globExpr. - * @param[in] path directory where to start the search - * we will recurse into it. - * @param[in] globExpr the globing expression used to - * match the file in path. - * @param[out] docModuleList the list of obtained pairs (may be empty) - * @return 0 on success 1 on error or empty list - */ - int getDocumentedModulesListInDir( - std::string path, - std::string globExpr, - documentedModulesList_t& docModuleList); - - /** - * Get the documentation of macros, functions and variable documented - * with CMake structured documentation in a CMake script. - * (in fact it may be in any file which follow the structured doc format) - * Structured documentation begin with - * ## (double sharp) in column 1 & 2 immediately followed - * by a markup. Those ## are ignored by the legacy module - * documentation parser @see CreateSingleModule. - * Current markup are ##section, ##module, - * ##macro, ##function, ##variable and ##end. - * ##end is closing either of the previous ones. - * @param[in] fname the script file name to be parsed for documentation - * @param[in,out] commands the vector of command/macros documentation - * entry found in the script file. - * @param[in,out] cm the cmake object instance to which variable - * documentation will be attached - * (using @see cmake::DefineProperty) - * @return the number of documented items (command and variable) - * found in the file. - */ - int GetStructuredDocFromFile(const char* fname, - std::vector& commands, - cmake* cm); private: void SetForm(Form f, int manSection); void SetDocName(const char* docname); -- cgit v0.12 From f85405f5515ed5cc20ffe97c485d7dfef6ffc288 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 12 Sep 2013 10:05:46 -0400 Subject: Add reStructuredText (RST) documentation formatter Temporarily add a RST formatter to convert builtin documentation to .rst source files. This will be removed shortly after we use it to convert documentation. Teach the RST formatter to: * Output preformatted blocks as reStructuredText "::" literal blocks. * Output option lists as bullet lists with option names enclosed in reStructuredText ``literal`` quoting. * Output individual documentation objects (commands, variables, etc.) in separate .rst files organized in directories by type. Replace references to cmVersion::GetCMakeVersion() in builtin documentation with the literal placeholder "|release|" that will be defined as a substitution later. --- Source/CMakeLists.txt | 1 + Source/cmDocumentation.cxx | 8 +++ Source/cmDocumentation.h | 2 + Source/cmDocumentationFormatter.cxx | 28 ++++++++- Source/cmDocumentationFormatter.h | 2 +- Source/cmDocumentationFormatterRST.cxx | 107 +++++++++++++++++++++++++++++++++ Source/cmDocumentationFormatterRST.h | 34 +++++++++++ Source/cmPolicies.cxx | 2 +- 8 files changed, 180 insertions(+), 4 deletions(-) create mode 100644 Source/cmDocumentationFormatterRST.cxx create mode 100644 Source/cmDocumentationFormatterRST.h diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 9b81e8b..5178c0a 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -162,6 +162,7 @@ set(SRCS cmDocumentationFormatterHTML.cxx cmDocumentationFormatterDocbook.cxx cmDocumentationFormatterMan.cxx + cmDocumentationFormatterRST.cxx cmDocumentationFormatterText.cxx cmDocumentationFormatterUsage.cxx cmDocumentationSection.cxx diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx index b0643b0..83be32d 100644 --- a/Source/cmDocumentation.cxx +++ b/Source/cmDocumentation.cxx @@ -654,6 +654,11 @@ cmDocumentation::Form cmDocumentation::GetFormFromFilename( return cmDocumentation::ManForm; } + if (ext == ".RST") + { + return cmDocumentation::RSTForm; + } + return cmDocumentation::TextForm; } @@ -1580,6 +1585,9 @@ void cmDocumentation::SetForm(Form f, int manSection) this->ManFormatter.SetManSection(manSection); this->CurrentFormatter = &this->ManFormatter; break; + case RSTForm: + this->CurrentFormatter = &this->RSTFormatter; + break; case TextForm: this->CurrentFormatter = &this->TextFormatter; break; diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h index 68ddbb8..151c242 100644 --- a/Source/cmDocumentation.h +++ b/Source/cmDocumentation.h @@ -18,6 +18,7 @@ #include "cmDocumentationFormatterHTML.h" #include "cmDocumentationFormatterDocbook.h" #include "cmDocumentationFormatterMan.h" +#include "cmDocumentationFormatterRST.h" #include "cmDocumentationFormatterText.h" #include "cmDocumentationFormatterUsage.h" #include "cmDocumentationSection.h" @@ -222,6 +223,7 @@ private: cmDocumentationFormatterHTML HTMLFormatter; cmDocumentationFormatterDocbook DocbookFormatter; cmDocumentationFormatterMan ManFormatter; + cmDocumentationFormatterRST RSTFormatter; cmDocumentationFormatterText TextFormatter; cmDocumentationFormatterUsage UsageFormatter; diff --git a/Source/cmDocumentationFormatter.cxx b/Source/cmDocumentationFormatter.cxx index 9f01949..a547176 100644 --- a/Source/cmDocumentationFormatter.cxx +++ b/Source/cmDocumentationFormatter.cxx @@ -81,7 +81,7 @@ cmDocumentationFormatter::ComputeSectionLinkPrefix(std::string const& name) { if(name.find("Global") != name.npos) { - return "prop_global"; + return "prop_gbl"; } else if(name.find("Direct") != name.npos) { @@ -99,10 +99,34 @@ cmDocumentationFormatter::ComputeSectionLinkPrefix(std::string const& name) { return "prop_sf"; } + else if(name.find("Cache") != name.npos) + { + return "prop_cache"; + } return "property"; } else if(name.find("Variable") != name.npos) { + if(name.find("Information") != name.npos) + { + return "var_info"; + } + else if(name.find("Behavior") != name.npos) + { + return "var_cmake"; + } + else if(name.find("Describe") != name.npos) + { + return "var_sys"; + } + else if(name.find("Control") != name.npos) + { + return "var_build"; + } + else if(name.find("Languages") != name.npos) + { + return "var_lang"; + } return "variable"; } else if(name.find("Polic") != name.npos) @@ -128,7 +152,7 @@ cmDocumentationFormatter::ComputeSectionLinkPrefix(std::string const& name) } else if(name.find("Generators") != name.npos) { - return "gen"; + return "generator"; } else if(name.find("Options") != name.npos) { diff --git a/Source/cmDocumentationFormatter.h b/Source/cmDocumentationFormatter.h index d8ce613..9278297 100644 --- a/Source/cmDocumentationFormatter.h +++ b/Source/cmDocumentationFormatter.h @@ -31,7 +31,7 @@ public: CompatCommands, Copyright, Version, Policies, SinglePolicy }; /** Forms of documentation output. */ - enum Form { TextForm, HTMLForm, ManForm, UsageForm, DocbookForm }; + enum Form { TextForm, HTMLForm, RSTForm, ManForm, UsageForm, DocbookForm }; }; class cmDocumentationSection; diff --git a/Source/cmDocumentationFormatterRST.cxx b/Source/cmDocumentationFormatterRST.cxx new file mode 100644 index 0000000..86d1fd0 --- /dev/null +++ b/Source/cmDocumentationFormatterRST.cxx @@ -0,0 +1,107 @@ +/*============================================================================ + CMake - Cross Platform Makefile Generator + Copyright 2000-2009 Kitware, Inc., Insight Software Consortium + + Distributed under the OSI-approved BSD License (the "License"); + see accompanying file Copyright.txt for details. + + This software is distributed WITHOUT ANY WARRANTY; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the License for more information. +============================================================================*/ +#include "cmDocumentationFormatterRST.h" +#include "cmDocumentationSection.h" +#include "cmVersion.h" + +#include "cmSystemTools.h" + +cmDocumentationFormatterRST::cmDocumentationFormatterRST() +:cmDocumentationFormatterText() +{ +} + +static std::string rstFileName(std::string fn) +{ + cmSystemTools::ReplaceString(fn, "<", ""); + cmSystemTools::ReplaceString(fn, ">", ""); + return fn; +} + +void cmDocumentationFormatterRST +::PrintSection(std::ostream& os, + const cmDocumentationSection §ion, + const char* name) +{ + std::string prefix = this->ComputeSectionLinkPrefix(name); + std::vector const& entries = section.GetEntries(); + this->TextWidth = 70; + + for(std::vector::const_iterator op = entries.begin(); + op != entries.end();) + { + if(op->Name.size()) + { + for(;op != entries.end() && op->Name.size(); ++op) + { + if(prefix == "opt" || prefix == "see") + { + os << "\n"; + os << "* ``" << op->Name << "``: " << op->Brief << "\n"; + this->TextIndent = " "; + if(op->Full.size()) + { + os << "\n"; + this->PrintFormatted(os, op->Full.c_str()); + } + this->TextIndent = ""; + } + else + { + cmSystemTools::MakeDirectory(prefix.c_str()); + std::string fname = prefix + "/" + rstFileName(op->Name) + ".rst"; + if(cmSystemTools::FileExists(fname.c_str())) + { + cmSystemTools::Error("Duplicate file name: ", fname.c_str()); + continue; + } + std::ofstream of(fname.c_str()); + of << op->Name << "\n"; + for(size_t i = 0; i < op->Name.size(); ++i) + { + of << "-"; + } + of << "\n\n" << op->Brief << "\n"; + if(op->Full.size()) + { + of << "\n"; + this->PrintFormatted(of, op->Full.c_str()); + } + } + } + } + else + { + this->PrintFormatted(os, op->Brief.c_str()); + os << "\n"; + ++op; + } + } +} + +void cmDocumentationFormatterRST::PrintPreformatted(std::ostream& os, + const char* text) +{ + os << this->TextIndent << "::\n\n"; + bool newline = true; + for(const char* c = text; *c; ++c) + { + if (newline) + { + os << this->TextIndent; + newline = false; + } + os << *c; + newline = (*c == '\n'); + } + os << "\n"; +} diff --git a/Source/cmDocumentationFormatterRST.h b/Source/cmDocumentationFormatterRST.h new file mode 100644 index 0000000..c0d2e91 --- /dev/null +++ b/Source/cmDocumentationFormatterRST.h @@ -0,0 +1,34 @@ +/*============================================================================ + CMake - Cross Platform Makefile Generator + Copyright 2000-2009 Kitware, Inc., Insight Software Consortium + + Distributed under the OSI-approved BSD License (the "License"); + see accompanying file Copyright.txt for details. + + This software is distributed WITHOUT ANY WARRANTY; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the License for more information. +============================================================================*/ +#ifndef _cmDocumentationFormatterRST_h +#define _cmDocumentationFormatterRST_h + +#include "cmStandardIncludes.h" + +#include "cmDocumentationFormatterText.h" + +/** Class to print the documentation as reStructuredText. */ +class cmDocumentationFormatterRST : public cmDocumentationFormatterText +{ +public: + cmDocumentationFormatterRST(); + + virtual cmDocumentationEnums::Form GetForm() const + { return cmDocumentationEnums::RSTForm;} + + virtual void PrintSection(std::ostream& os, + const cmDocumentationSection& section, + const char* name); + virtual void PrintPreformatted(std::ostream& os, const char* text); +}; + +#endif diff --git a/Source/cmPolicies.cxx b/Source/cmPolicies.cxx index d07645c..0731fc2 100644 --- a/Source/cmPolicies.cxx +++ b/Source/cmPolicies.cxx @@ -949,7 +949,7 @@ void cmPolicies::GetDocumentation(std::vector& v) if(i->first != cmPolicies::CMP0000) { full << " " - << "CMake version " << cmVersion::GetCMakeVersion() << " "; + << "CMake version |release| "; // add in some more text here based on status switch (i->second->Status) { -- cgit v0.12 From 81759c77af28f367c71e71973d985dc1d7a7c87c Mon Sep 17 00:00:00 2001 From: Kitware Robot Date: Tue, 15 Oct 2013 11:04:26 -0400 Subject: Add Help/generator/*.rst for Windows- and OS X-only generators Run "cmake --help-full cmake.1.rst" by hand on Windows and OS X. Copy the generator/*.rst documents for generators unique to those platforms into Help/generator. --- Help/generator/Borland Makefiles.rst | 4 ++++ Help/generator/CodeBlocks - MinGW Makefiles.rst | 11 +++++++++++ Help/generator/CodeBlocks - NMake Makefiles.rst | 11 +++++++++++ Help/generator/Eclipse CDT4 - MinGW Makefiles.rst | 11 +++++++++++ Help/generator/Eclipse CDT4 - NMake Makefiles.rst | 11 +++++++++++ Help/generator/MSYS Makefiles.rst | 7 +++++++ Help/generator/MinGW Makefiles.rst | 7 +++++++ Help/generator/NMake Makefiles JOM.rst | 4 ++++ Help/generator/NMake Makefiles.rst | 4 ++++ Help/generator/Sublime Text 2 - MinGW Makefiles.rst | 11 +++++++++++ Help/generator/Sublime Text 2 - NMake Makefiles.rst | 11 +++++++++++ Help/generator/Visual Studio 10.rst | 9 +++++++++ Help/generator/Visual Studio 11.rst | 9 +++++++++ Help/generator/Visual Studio 12.rst | 9 +++++++++ Help/generator/Visual Studio 6.rst | 4 ++++ Help/generator/Visual Studio 7 .NET 2003.rst | 4 ++++ Help/generator/Visual Studio 7.rst | 4 ++++ Help/generator/Visual Studio 8 2005.rst | 8 ++++++++ Help/generator/Visual Studio 9 2008.rst | 9 +++++++++ Help/generator/Watcom WMake.rst | 4 ++++ Help/generator/Xcode.rst | 4 ++++ 21 files changed, 156 insertions(+) create mode 100644 Help/generator/Borland Makefiles.rst create mode 100644 Help/generator/CodeBlocks - MinGW Makefiles.rst create mode 100644 Help/generator/CodeBlocks - NMake Makefiles.rst create mode 100644 Help/generator/Eclipse CDT4 - MinGW Makefiles.rst create mode 100644 Help/generator/Eclipse CDT4 - NMake Makefiles.rst create mode 100644 Help/generator/MSYS Makefiles.rst create mode 100644 Help/generator/MinGW Makefiles.rst create mode 100644 Help/generator/NMake Makefiles JOM.rst create mode 100644 Help/generator/NMake Makefiles.rst create mode 100644 Help/generator/Sublime Text 2 - MinGW Makefiles.rst create mode 100644 Help/generator/Sublime Text 2 - NMake Makefiles.rst create mode 100644 Help/generator/Visual Studio 10.rst create mode 100644 Help/generator/Visual Studio 11.rst create mode 100644 Help/generator/Visual Studio 12.rst create mode 100644 Help/generator/Visual Studio 6.rst create mode 100644 Help/generator/Visual Studio 7 .NET 2003.rst create mode 100644 Help/generator/Visual Studio 7.rst create mode 100644 Help/generator/Visual Studio 8 2005.rst create mode 100644 Help/generator/Visual Studio 9 2008.rst create mode 100644 Help/generator/Watcom WMake.rst create mode 100644 Help/generator/Xcode.rst diff --git a/Help/generator/Borland Makefiles.rst b/Help/generator/Borland Makefiles.rst new file mode 100644 index 0000000..c00d00a --- /dev/null +++ b/Help/generator/Borland Makefiles.rst @@ -0,0 +1,4 @@ +Borland Makefiles +----------------- + +Generates Borland makefiles. diff --git a/Help/generator/CodeBlocks - MinGW Makefiles.rst b/Help/generator/CodeBlocks - MinGW Makefiles.rst new file mode 100644 index 0000000..f54eb11 --- /dev/null +++ b/Help/generator/CodeBlocks - MinGW Makefiles.rst @@ -0,0 +1,11 @@ +CodeBlocks - MinGW Makefiles +---------------------------- + +Generates CodeBlocks project files. + +Project files for CodeBlocks will be created in the top directory and +in every subdirectory which features a CMakeLists.txt file containing +a PROJECT() call. Additionally a hierarchy of makefiles is generated +into the build tree. The appropriate make program can build the +project through the default make target. A "make install" target is +also provided. diff --git a/Help/generator/CodeBlocks - NMake Makefiles.rst b/Help/generator/CodeBlocks - NMake Makefiles.rst new file mode 100644 index 0000000..c7f944a --- /dev/null +++ b/Help/generator/CodeBlocks - NMake Makefiles.rst @@ -0,0 +1,11 @@ +CodeBlocks - NMake Makefiles +---------------------------- + +Generates CodeBlocks project files. + +Project files for CodeBlocks will be created in the top directory and +in every subdirectory which features a CMakeLists.txt file containing +a PROJECT() call. Additionally a hierarchy of makefiles is generated +into the build tree. The appropriate make program can build the +project through the default make target. A "make install" target is +also provided. diff --git a/Help/generator/Eclipse CDT4 - MinGW Makefiles.rst b/Help/generator/Eclipse CDT4 - MinGW Makefiles.rst new file mode 100644 index 0000000..9e7a26e --- /dev/null +++ b/Help/generator/Eclipse CDT4 - MinGW Makefiles.rst @@ -0,0 +1,11 @@ +Eclipse CDT4 - MinGW Makefiles +------------------------------ + +Generates Eclipse CDT 4.0 project files. + +Project files for Eclipse will be created in the top directory. In +out of source builds, a linked resource to the top level source +directory will be created. Additionally a hierarchy of makefiles is +generated into the build tree. The appropriate make program can build +the project through the default make target. A "make install" target +is also provided. diff --git a/Help/generator/Eclipse CDT4 - NMake Makefiles.rst b/Help/generator/Eclipse CDT4 - NMake Makefiles.rst new file mode 100644 index 0000000..b5133ad --- /dev/null +++ b/Help/generator/Eclipse CDT4 - NMake Makefiles.rst @@ -0,0 +1,11 @@ +Eclipse CDT4 - NMake Makefiles +------------------------------ + +Generates Eclipse CDT 4.0 project files. + +Project files for Eclipse will be created in the top directory. In +out of source builds, a linked resource to the top level source +directory will be created. Additionally a hierarchy of makefiles is +generated into the build tree. The appropriate make program can build +the project through the default make target. A "make install" target +is also provided. diff --git a/Help/generator/MSYS Makefiles.rst b/Help/generator/MSYS Makefiles.rst new file mode 100644 index 0000000..0b89126 --- /dev/null +++ b/Help/generator/MSYS Makefiles.rst @@ -0,0 +1,7 @@ +MSYS Makefiles +-------------- + +Generates MSYS makefiles. + +The makefiles use /bin/sh as the shell. They require msys to be +installed on the machine. diff --git a/Help/generator/MinGW Makefiles.rst b/Help/generator/MinGW Makefiles.rst new file mode 100644 index 0000000..ed4ccdd --- /dev/null +++ b/Help/generator/MinGW Makefiles.rst @@ -0,0 +1,7 @@ +MinGW Makefiles +--------------- + +Generates a make file for use with mingw32-make. + +The makefiles generated use cmd.exe as the shell. They do not require +msys or a unix shell. diff --git a/Help/generator/NMake Makefiles JOM.rst b/Help/generator/NMake Makefiles JOM.rst new file mode 100644 index 0000000..3a8744c --- /dev/null +++ b/Help/generator/NMake Makefiles JOM.rst @@ -0,0 +1,4 @@ +NMake Makefiles JOM +------------------- + +Generates JOM makefiles. diff --git a/Help/generator/NMake Makefiles.rst b/Help/generator/NMake Makefiles.rst new file mode 100644 index 0000000..89f2479 --- /dev/null +++ b/Help/generator/NMake Makefiles.rst @@ -0,0 +1,4 @@ +NMake Makefiles +--------------- + +Generates NMake makefiles. diff --git a/Help/generator/Sublime Text 2 - MinGW Makefiles.rst b/Help/generator/Sublime Text 2 - MinGW Makefiles.rst new file mode 100644 index 0000000..6e2ed02 --- /dev/null +++ b/Help/generator/Sublime Text 2 - MinGW Makefiles.rst @@ -0,0 +1,11 @@ +Sublime Text 2 - MinGW Makefiles +-------------------------------- + +Generates Sublime Text 2 project files. + +Project files for Sublime Text 2 will be created in the top directory +and in every subdirectory which features a CMakeLists.txt file +containing a PROJECT() call. Additionally Makefiles (or build.ninja +files) are generated into the build tree. The appropriate make +program can build the project through the default make target. A +"make install" target is also provided. diff --git a/Help/generator/Sublime Text 2 - NMake Makefiles.rst b/Help/generator/Sublime Text 2 - NMake Makefiles.rst new file mode 100644 index 0000000..5e02fd4 --- /dev/null +++ b/Help/generator/Sublime Text 2 - NMake Makefiles.rst @@ -0,0 +1,11 @@ +Sublime Text 2 - NMake Makefiles +-------------------------------- + +Generates Sublime Text 2 project files. + +Project files for Sublime Text 2 will be created in the top directory +and in every subdirectory which features a CMakeLists.txt file +containing a PROJECT() call. Additionally Makefiles (or build.ninja +files) are generated into the build tree. The appropriate make +program can build the project through the default make target. A +"make install" target is also provided. diff --git a/Help/generator/Visual Studio 10.rst b/Help/generator/Visual Studio 10.rst new file mode 100644 index 0000000..9ea7970 --- /dev/null +++ b/Help/generator/Visual Studio 10.rst @@ -0,0 +1,9 @@ +Visual Studio 10 +---------------- + +Generates Visual Studio 10 (2010) project files. + +It is possible to append a space followed by the platform name to +create project files for a specific target platform. E.g. "Visual +Studio 10 Win64" will create project files for the x64 processor; +"Visual Studio 10 IA64" for Itanium. diff --git a/Help/generator/Visual Studio 11.rst b/Help/generator/Visual Studio 11.rst new file mode 100644 index 0000000..4115c8d --- /dev/null +++ b/Help/generator/Visual Studio 11.rst @@ -0,0 +1,9 @@ +Visual Studio 11 +---------------- + +Generates Visual Studio 11 (2012) project files. + +It is possible to append a space followed by the platform name to +create project files for a specific target platform. E.g. "Visual +Studio 11 Win64" will create project files for the x64 processor; +"Visual Studio 11 ARM" for ARM. diff --git a/Help/generator/Visual Studio 12.rst b/Help/generator/Visual Studio 12.rst new file mode 100644 index 0000000..51bcab7 --- /dev/null +++ b/Help/generator/Visual Studio 12.rst @@ -0,0 +1,9 @@ +Visual Studio 12 +---------------- + +Generates Visual Studio 12 (2013) project files. + +It is possible to append a space followed by the platform name to +create project files for a specific target platform. E.g. "Visual +Studio 12 Win64" will create project files for the x64 processor; +"Visual Studio 12 ARM" for ARM. diff --git a/Help/generator/Visual Studio 6.rst b/Help/generator/Visual Studio 6.rst new file mode 100644 index 0000000..d619354 --- /dev/null +++ b/Help/generator/Visual Studio 6.rst @@ -0,0 +1,4 @@ +Visual Studio 6 +--------------- + +Generates Visual Studio 6 project files. diff --git a/Help/generator/Visual Studio 7 .NET 2003.rst b/Help/generator/Visual Studio 7 .NET 2003.rst new file mode 100644 index 0000000..2034140 --- /dev/null +++ b/Help/generator/Visual Studio 7 .NET 2003.rst @@ -0,0 +1,4 @@ +Visual Studio 7 .NET 2003 +------------------------- + +Generates Visual Studio .NET 2003 project files. diff --git a/Help/generator/Visual Studio 7.rst b/Help/generator/Visual Studio 7.rst new file mode 100644 index 0000000..d0eb719 --- /dev/null +++ b/Help/generator/Visual Studio 7.rst @@ -0,0 +1,4 @@ +Visual Studio 7 +--------------- + +Generates Visual Studio .NET 2002 project files. diff --git a/Help/generator/Visual Studio 8 2005.rst b/Help/generator/Visual Studio 8 2005.rst new file mode 100644 index 0000000..d7b6de2 --- /dev/null +++ b/Help/generator/Visual Studio 8 2005.rst @@ -0,0 +1,8 @@ +Visual Studio 8 2005 +-------------------- + +Generates Visual Studio 8 2005 project files. + +It is possible to append a space followed by the platform name to +create project files for a specific target platform. E.g. "Visual +Studio 8 2005 Win64" will create project files for the x64 processor. diff --git a/Help/generator/Visual Studio 9 2008.rst b/Help/generator/Visual Studio 9 2008.rst new file mode 100644 index 0000000..ade9fd5 --- /dev/null +++ b/Help/generator/Visual Studio 9 2008.rst @@ -0,0 +1,9 @@ +Visual Studio 9 2008 +-------------------- + +Generates Visual Studio 9 2008 project files. + +It is possible to append a space followed by the platform name to +create project files for a specific target platform. E.g. "Visual +Studio 9 2008 Win64" will create project files for the x64 processor; +"Visual Studio 9 2008 IA64" for Itanium. diff --git a/Help/generator/Watcom WMake.rst b/Help/generator/Watcom WMake.rst new file mode 100644 index 0000000..09bdc3d --- /dev/null +++ b/Help/generator/Watcom WMake.rst @@ -0,0 +1,4 @@ +Watcom WMake +------------ + +Generates Watcom WMake makefiles. diff --git a/Help/generator/Xcode.rst b/Help/generator/Xcode.rst new file mode 100644 index 0000000..d8a6790 --- /dev/null +++ b/Help/generator/Xcode.rst @@ -0,0 +1,4 @@ +Xcode +----- + +Generate Xcode project files. -- cgit v0.12 From e94958e99c4dec26c86ce8b76d744c04ba960675 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 15 Oct 2013 11:17:19 -0400 Subject: Add bash script to convert builtin help to reStructuredText Create a convert-help.bash script to extract builtin documentation as reStructuredText sources in a new Help directory. Run each executable with the --help-full option targeting a .rst file to extract the documentation. Generate Sphinx "toctree" directives to point each man page at the corresponding documents it should contain. Organize cmake-commands(7), cmake-properties(7), and cmake-variables(7) man pages into sections similar to those generated by --help-properties and --help-variables output previously. --- convert-help.bash | 306 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 306 insertions(+) create mode 100755 convert-help.bash diff --git a/convert-help.bash b/convert-help.bash new file mode 100755 index 0000000..7781eb8 --- /dev/null +++ b/convert-help.bash @@ -0,0 +1,306 @@ +#!/usr/bin/env bash + +if test $# -ne 1; then + echo 1>&2 'Specify cmake executable directory' + exit 1 +fi && +bin="$1" && + +# Extract .rst documentation and generate man section 1 pages +mkdir -p Help/manual && +cd Help && +mkdir tmp && cd tmp && +"$bin"/cmake --help-full ../manual/cmake.1.rst && +tar c * | (cd .. && tar x) && +cd .. && rm -rf tmp && +sed -i '1 i\ +cmake(1)\ +********\ + +' manual/cmake.1.rst && +mkdir tmp && cd tmp && +"$bin"/ctest --help-full ../manual/ctest.1.rst && +mv command/ctest_*.rst ../command && +cd .. && rm -rf tmp && +sed -i '1 i\ +ctest(1)\ +********\ + +' manual/ctest.1.rst && +mkdir tmp && cd tmp && +"$bin"/cpack --help-full ../manual/cpack.1.rst && +mv variable ../var_cpack && +cd .. && rm -rf tmp && +sed -i '1 i\ +cpack(1)\ +********\ + +' manual/cpack.1.rst && +mkdir tmp && cd tmp && +"$bin"/ccmake --help-full ../manual/ccmake.1.rst && +cd .. && rm -rf tmp && +sed -i '1 i\ +ccmake(1)\ +*********\ + +' manual/ccmake.1.rst && +mkdir tmp && cd tmp && +"$bin"/cmake-gui --help-full ../manual/cmake-gui.1.rst && +cd .. && rm -rf tmp && +sed -i '1 i\ +cmake-gui(1)\ +************\ + +' manual/cmake-gui.1.rst && + +# Remove trailing whitespace and blank lines +find . -name '*.rst' | +while read f; do + sed -e 's/[ \t]*$//' -i "$f" && + sed -e ':a' -e '/^\n*$/ {$d;N;ba;}' -i "$f" +done + +# Generate man section 7 pages +{ +deprecated_commands=$( +cat < tmp && +ls command/*.rst |sort|sed 's|^| /|;s|\.rst$||' | +grep -v /command/ctest_ | grep -v -x -F -f tmp && +rm tmp && +cat < manual/cmake-commands.7.rst && +{ +cat < manual/cmake-generators.7.rst && +{ +cat < manual/cmake-modules.7.rst && +{ +cat < manual/cmake-policies.7.rst && +{ +cat < manual/cmake-properties.7.rst && +{ +cat < manual/cmake-variables.7.rst && +mkdir variable && +mv var_*/* variable && +rmdir var_* && +cd .. && + +# Move module help back into .cmake module file comments +(cd Help/module && ls *.rst) | +while read m; do + dm="Help/module/$m" && + cm="Modules/${m%.rst}.cmake" && + { + echo '#.rst:' && + sed -e ' + /^./ s/^/# / + /^$/ c # + s/ *$// + ' "$dm" && + echo '' && + sed -e '1,/^$/d' "$cm" + } >"$cm.new" && + mv "$cm.new" "$cm" && + echo ".. cmake-module:: ../../$cm" > "$dm" +done -- cgit v0.12 From f051814ed0e63badbfd68049354f36259dbf4b49 Mon Sep 17 00:00:00 2001 From: Kitware Robot Date: Tue, 15 Oct 2013 11:17:36 -0400 Subject: Convert builtin help to reStructuredText source files Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it. --- Help/command/add_compile_options.rst | 89 +++ Help/command/add_custom_command.rst | 206 +++++ Help/command/add_custom_target.rst | 45 ++ Help/command/add_definitions.rst | 19 + Help/command/add_dependencies.rst | 19 + Help/command/add_executable.rst | 73 ++ Help/command/add_library.rst | 120 +++ Help/command/add_subdirectory.rst | 36 + Help/command/add_test.rst | 117 +++ Help/command/aux_source_directory.rst | 24 + Help/command/break.rst | 10 + Help/command/build_command.rst | 37 + Help/command/build_name.rst | 12 + Help/command/cmake_host_system_information.rst | 25 + Help/command/cmake_minimum_required.rst | 30 + Help/command/cmake_policy.rst | 78 ++ Help/command/configure_file.rst | 46 ++ Help/command/create_test_sourcelist.rst | 30 + Help/command/ctest_build.rst | 24 + Help/command/ctest_configure.rst | 21 + Help/command/ctest_coverage.rst | 20 + Help/command/ctest_empty_binary_directory.rst | 12 + Help/command/ctest_memcheck.rst | 28 + Help/command/ctest_read_custom_files.rst | 11 + Help/command/ctest_run_script.rst | 15 + Help/command/ctest_sleep.rst | 16 + Help/command/ctest_start.rst | 16 + Help/command/ctest_submit.rst | 34 + Help/command/ctest_test.rst | 33 + Help/command/ctest_update.rst | 13 + Help/command/ctest_upload.rst | 11 + Help/command/define_property.rst | 45 ++ Help/command/else.rst | 10 + Help/command/elseif.rst | 10 + Help/command/enable_language.rst | 22 + Help/command/enable_testing.rst | 13 + Help/command/endforeach.rst | 10 + Help/command/endfunction.rst | 10 + Help/command/endif.rst | 10 + Help/command/endmacro.rst | 10 + Help/command/endwhile.rst | 10 + Help/command/exec_program.rst | 24 + Help/command/execute_process.rst | 48 ++ Help/command/export.rst | 44 ++ Help/command/export_library_dependencies.rst | 26 + Help/command/file.rst | 213 ++++++ Help/command/find_file.rst | 154 ++++ Help/command/find_library.rst | 171 +++++ Help/command/find_package.rst | 406 ++++++++++ Help/command/find_path.rst | 160 ++++ Help/command/find_program.rst | 151 ++++ Help/command/fltk_wrap_ui.rst | 14 + Help/command/foreach.rst | 46 ++ Help/command/function.rst | 31 + Help/command/get_cmake_property.rst | 15 + Help/command/get_directory_property.rst | 24 + Help/command/get_filename_component.rst | 37 + Help/command/get_property.rst | 49 ++ Help/command/get_source_file_property.rst | 16 + Help/command/get_target_property.rst | 18 + Help/command/get_test_property.rst | 15 + Help/command/if.rst | 238 ++++++ Help/command/include.rst | 25 + Help/command/include_directories.rst | 30 + Help/command/include_external_msproject.rst | 23 + Help/command/include_regular_expression.rst | 18 + Help/command/install.rst | 316 ++++++++ Help/command/install_files.rst | 39 + Help/command/install_programs.rst | 33 + Help/command/install_targets.rst | 17 + Help/command/link_directories.rst | 19 + Help/command/link_libraries.rst | 16 + Help/command/list.rst | 60 ++ Help/command/load_cache.rst | 27 + Help/command/load_command.rst | 21 + Help/command/macro.rst | 33 + Help/command/make_directory.rst | 12 + Help/command/mark_as_advanced.rst | 19 + Help/command/math.rst | 13 + Help/command/message.rst | 33 + Help/command/option.rst | 15 + Help/command/output_required_files.rst | 17 + Help/command/project.rst | 27 + Help/command/qt_wrap_cpp.rst | 12 + Help/command/qt_wrap_ui.rst | 14 + Help/command/remove.rst | 12 + Help/command/remove_definitions.rst | 11 + Help/command/return.rst | 18 + Help/command/separate_arguments.rst | 31 + Help/command/set.rst | 116 +++ Help/command/set_directory_properties.rst | 15 + Help/command/set_property.rst | 43 ++ Help/command/set_source_files_properties.rst | 15 + Help/command/set_target_properties.rst | 104 +++ Help/command/set_tests_properties.rst | 36 + Help/command/site_name.rst | 8 + Help/command/source_group.rst | 28 + Help/command/string.rst | 152 ++++ Help/command/subdir_depends.rst | 11 + Help/command/subdirs.rst | 24 + Help/command/target_compile_definitions.rst | 96 +++ Help/command/target_compile_options.rst | 98 +++ Help/command/target_include_directories.rst | 108 +++ Help/command/target_link_libraries.rst | 215 ++++++ Help/command/try_compile.rst | 71 ++ Help/command/try_run.rst | 52 ++ Help/command/unset.rst | 25 + Help/command/use_mangled_mesa.rst | 13 + Help/command/utility_source.rst | 22 + Help/command/variable_requires.rst | 20 + Help/command/variable_watch.rst | 13 + Help/command/while.rst | 17 + Help/command/write_file.rst | 20 + Help/generator/CodeBlocks - Ninja.rst | 11 + Help/generator/CodeBlocks - Unix Makefiles.rst | 11 + Help/generator/Eclipse CDT4 - Ninja.rst | 11 + Help/generator/Eclipse CDT4 - Unix Makefiles.rst | 11 + Help/generator/KDevelop3 - Unix Makefiles.rst | 13 + Help/generator/KDevelop3.rst | 13 + Help/generator/Ninja.rst | 8 + Help/generator/Sublime Text 2 - Ninja.rst | 11 + Help/generator/Sublime Text 2 - Unix Makefiles.rst | 11 + Help/generator/Unix Makefiles.rst | 8 + Help/manual/ccmake.1.rst | 173 +++++ Help/manual/cmake-commands.7.rst | 141 ++++ Help/manual/cmake-generators.7.rst | 42 ++ Help/manual/cmake-gui.1.rst | 138 ++++ Help/manual/cmake-modules.7.rst | 230 ++++++ Help/manual/cmake-policies.7.rst | 38 + Help/manual/cmake-properties.7.rst | 262 +++++++ Help/manual/cmake-variables.7.rst | 254 +++++++ Help/manual/cmake.1.rst | 441 +++++++++++ Help/manual/cpack.1.rst | 210 ++++++ Help/manual/ctest.1.rst | 419 ++++++++++ Help/module/AddFileDependencies.rst | 1 + Help/module/BundleUtilities.rst | 1 + Help/module/CMakeAddFortranSubdirectory.rst | 1 + Help/module/CMakeBackwardCompatibilityCXX.rst | 1 + Help/module/CMakeDependentOption.rst | 1 + Help/module/CMakeDetermineVSServicePack.rst | 1 + Help/module/CMakeExpandImportedTargets.rst | 1 + Help/module/CMakeFindFrameworks.rst | 1 + Help/module/CMakeFindPackageMode.rst | 1 + Help/module/CMakeForceCompiler.rst | 1 + Help/module/CMakeGraphVizOptions.rst | 1 + Help/module/CMakePackageConfigHelpers.rst | 1 + Help/module/CMakeParseArguments.rst | 1 + Help/module/CMakePrintHelpers.rst | 1 + Help/module/CMakePrintSystemInformation.rst | 1 + Help/module/CMakePushCheckState.rst | 1 + Help/module/CMakeVerifyManifest.rst | 1 + Help/module/CPack.rst | 1 + Help/module/CPackBundle.rst | 1 + Help/module/CPackComponent.rst | 1 + Help/module/CPackCygwin.rst | 1 + Help/module/CPackDMG.rst | 1 + Help/module/CPackDeb.rst | 1 + Help/module/CPackNSIS.rst | 1 + Help/module/CPackPackageMaker.rst | 1 + Help/module/CPackRPM.rst | 1 + Help/module/CPackWIX.rst | 1 + Help/module/CTest.rst | 1 + Help/module/CTestScriptMode.rst | 1 + Help/module/CTestUseLaunchers.rst | 1 + Help/module/CheckCCompilerFlag.rst | 1 + Help/module/CheckCSourceCompiles.rst | 1 + Help/module/CheckCSourceRuns.rst | 1 + Help/module/CheckCXXCompilerFlag.rst | 1 + Help/module/CheckCXXSourceCompiles.rst | 1 + Help/module/CheckCXXSourceRuns.rst | 1 + Help/module/CheckCXXSymbolExists.rst | 1 + Help/module/CheckFortranFunctionExists.rst | 1 + Help/module/CheckFunctionExists.rst | 1 + Help/module/CheckIncludeFile.rst | 1 + Help/module/CheckIncludeFileCXX.rst | 1 + Help/module/CheckIncludeFiles.rst | 1 + Help/module/CheckLanguage.rst | 1 + Help/module/CheckLibraryExists.rst | 1 + Help/module/CheckPrototypeDefinition.rst | 1 + Help/module/CheckStructHasMember.rst | 1 + Help/module/CheckSymbolExists.rst | 1 + Help/module/CheckTypeSize.rst | 1 + Help/module/CheckVariableExists.rst | 1 + Help/module/Dart.rst | 1 + Help/module/DeployQt4.rst | 1 + Help/module/Documentation.rst | 1 + Help/module/ExternalData.rst | 1 + Help/module/ExternalProject.rst | 1 + Help/module/FeatureSummary.rst | 1 + Help/module/FindALSA.rst | 1 + Help/module/FindASPELL.rst | 1 + Help/module/FindAVIFile.rst | 1 + Help/module/FindArmadillo.rst | 1 + Help/module/FindBISON.rst | 1 + Help/module/FindBLAS.rst | 1 + Help/module/FindBZip2.rst | 1 + Help/module/FindBoost.rst | 1 + Help/module/FindBullet.rst | 1 + Help/module/FindCABLE.rst | 1 + Help/module/FindCUDA.rst | 1 + Help/module/FindCURL.rst | 1 + Help/module/FindCVS.rst | 1 + Help/module/FindCoin3D.rst | 1 + Help/module/FindCups.rst | 1 + Help/module/FindCurses.rst | 1 + Help/module/FindCxxTest.rst | 1 + Help/module/FindCygwin.rst | 1 + Help/module/FindDCMTK.rst | 1 + Help/module/FindDart.rst | 1 + Help/module/FindDevIL.rst | 1 + Help/module/FindDoxygen.rst | 1 + Help/module/FindEXPAT.rst | 1 + Help/module/FindFLEX.rst | 1 + Help/module/FindFLTK.rst | 1 + Help/module/FindFLTK2.rst | 1 + Help/module/FindFreetype.rst | 1 + Help/module/FindGCCXML.rst | 1 + Help/module/FindGDAL.rst | 1 + Help/module/FindGIF.rst | 1 + Help/module/FindGLEW.rst | 1 + Help/module/FindGLUT.rst | 1 + Help/module/FindGTK.rst | 1 + Help/module/FindGTK2.rst | 1 + Help/module/FindGTest.rst | 1 + Help/module/FindGettext.rst | 1 + Help/module/FindGit.rst | 1 + Help/module/FindGnuTLS.rst | 1 + Help/module/FindGnuplot.rst | 1 + Help/module/FindHDF5.rst | 1 + Help/module/FindHSPELL.rst | 1 + Help/module/FindHTMLHelp.rst | 1 + Help/module/FindHg.rst | 1 + Help/module/FindITK.rst | 1 + Help/module/FindIcotool.rst | 1 + Help/module/FindImageMagick.rst | 1 + Help/module/FindJNI.rst | 1 + Help/module/FindJPEG.rst | 1 + Help/module/FindJasper.rst | 1 + Help/module/FindJava.rst | 1 + Help/module/FindKDE3.rst | 1 + Help/module/FindKDE4.rst | 1 + Help/module/FindLAPACK.rst | 1 + Help/module/FindLATEX.rst | 1 + Help/module/FindLibArchive.rst | 1 + Help/module/FindLibLZMA.rst | 1 + Help/module/FindLibXml2.rst | 1 + Help/module/FindLibXslt.rst | 1 + Help/module/FindLua.rst | 1 + Help/module/FindLua50.rst | 1 + Help/module/FindLua51.rst | 1 + Help/module/FindMFC.rst | 1 + Help/module/FindMPEG.rst | 1 + Help/module/FindMPEG2.rst | 1 + Help/module/FindMPI.rst | 1 + Help/module/FindMatlab.rst | 1 + Help/module/FindMotif.rst | 1 + Help/module/FindOpenAL.rst | 1 + Help/module/FindOpenGL.rst | 1 + Help/module/FindOpenMP.rst | 1 + Help/module/FindOpenSSL.rst | 1 + Help/module/FindOpenSceneGraph.rst | 1 + Help/module/FindOpenThreads.rst | 1 + Help/module/FindPHP4.rst | 1 + Help/module/FindPNG.rst | 1 + Help/module/FindPackageHandleStandardArgs.rst | 1 + Help/module/FindPackageMessage.rst | 1 + Help/module/FindPerl.rst | 1 + Help/module/FindPerlLibs.rst | 1 + Help/module/FindPhysFS.rst | 1 + Help/module/FindPike.rst | 1 + Help/module/FindPkgConfig.rst | 1 + Help/module/FindPostgreSQL.rst | 1 + Help/module/FindProducer.rst | 1 + Help/module/FindProtobuf.rst | 1 + Help/module/FindPythonInterp.rst | 1 + Help/module/FindPythonLibs.rst | 1 + Help/module/FindQt.rst | 1 + Help/module/FindQt3.rst | 1 + Help/module/FindQt4.rst | 1 + Help/module/FindQuickTime.rst | 1 + Help/module/FindRTI.rst | 1 + Help/module/FindRuby.rst | 1 + Help/module/FindSDL.rst | 1 + Help/module/FindSDL_image.rst | 1 + Help/module/FindSDL_mixer.rst | 1 + Help/module/FindSDL_net.rst | 1 + Help/module/FindSDL_sound.rst | 1 + Help/module/FindSDL_ttf.rst | 1 + Help/module/FindSWIG.rst | 1 + Help/module/FindSelfPackers.rst | 1 + Help/module/FindSquish.rst | 1 + Help/module/FindSubversion.rst | 1 + Help/module/FindTCL.rst | 1 + Help/module/FindTIFF.rst | 1 + Help/module/FindTclStub.rst | 1 + Help/module/FindTclsh.rst | 1 + Help/module/FindThreads.rst | 1 + Help/module/FindUnixCommands.rst | 1 + Help/module/FindVTK.rst | 1 + Help/module/FindWget.rst | 1 + Help/module/FindWish.rst | 1 + Help/module/FindX11.rst | 1 + Help/module/FindXMLRPC.rst | 1 + Help/module/FindZLIB.rst | 1 + Help/module/Findosg.rst | 1 + Help/module/FindosgAnimation.rst | 1 + Help/module/FindosgDB.rst | 1 + Help/module/FindosgFX.rst | 1 + Help/module/FindosgGA.rst | 1 + Help/module/FindosgIntrospection.rst | 1 + Help/module/FindosgManipulator.rst | 1 + Help/module/FindosgParticle.rst | 1 + Help/module/FindosgPresentation.rst | 1 + Help/module/FindosgProducer.rst | 1 + Help/module/FindosgQt.rst | 1 + Help/module/FindosgShadow.rst | 1 + Help/module/FindosgSim.rst | 1 + Help/module/FindosgTerrain.rst | 1 + Help/module/FindosgText.rst | 1 + Help/module/FindosgUtil.rst | 1 + Help/module/FindosgViewer.rst | 1 + Help/module/FindosgVolume.rst | 1 + Help/module/FindosgWidget.rst | 1 + Help/module/Findosg_functions.rst | 1 + Help/module/FindwxWidgets.rst | 1 + Help/module/FindwxWindows.rst | 1 + Help/module/FortranCInterface.rst | 1 + Help/module/GNUInstallDirs.rst | 1 + Help/module/GenerateExportHeader.rst | 1 + Help/module/GetPrerequisites.rst | 1 + Help/module/InstallRequiredSystemLibraries.rst | 1 + Help/module/MacroAddFileDependencies.rst | 1 + Help/module/ProcessorCount.rst | 1 + Help/module/Qt4ConfigDependentSettings.rst | 1 + Help/module/Qt4Macros.rst | 1 + Help/module/SelectLibraryConfigurations.rst | 1 + Help/module/SquishTestScript.rst | 1 + Help/module/TestBigEndian.rst | 1 + Help/module/TestCXXAcceptsFlag.rst | 1 + Help/module/TestForANSIForScope.rst | 1 + Help/module/TestForANSIStreamHeaders.rst | 1 + Help/module/TestForSSTREAM.rst | 1 + Help/module/TestForSTDNamespace.rst | 1 + Help/module/UseEcos.rst | 1 + Help/module/UseJava.rst | 1 + Help/module/UseJavaClassFilelist.rst | 1 + Help/module/UseJavaSymlinks.rst | 1 + Help/module/UsePkgConfig.rst | 1 + Help/module/UseQt4.rst | 1 + Help/module/UseSWIG.rst | 1 + Help/module/Use_wxWindows.rst | 1 + Help/module/UsewxWidgets.rst | 1 + Help/module/WriteBasicConfigVersionFile.rst | 1 + Help/policy/CMP0000.rst | 30 + Help/policy/CMP0001.rst | 19 + Help/policy/CMP0002.rst | 26 + Help/policy/CMP0003.rst | 102 +++ Help/policy/CMP0004.rst | 23 + Help/policy/CMP0005.rst | 24 + Help/policy/CMP0006.rst | 22 + Help/policy/CMP0007.rst | 15 + Help/policy/CMP0008.rst | 32 + Help/policy/CMP0009.rst | 19 + Help/policy/CMP0010.rst | 15 + Help/policy/CMP0011.rst | 22 + Help/policy/CMP0012.rst | 25 + Help/policy/CMP0013.rst | 19 + Help/policy/CMP0014.rst | 15 + Help/policy/CMP0015.rst | 17 + Help/policy/CMP0016.rst | 13 + Help/policy/CMP0017.rst | 19 + Help/policy/CMP0018.rst | 32 + Help/policy/CMP0019.rst | 20 + Help/policy/CMP0020.rst | 25 + Help/policy/CMP0021.rst | 18 + Help/policy/CMP0022.rst | 33 + Help/policy/CMP0023.rst | 33 + Help/policy/CMP0024.rst | 22 + Help/policy/CMP0025.rst | 21 + Help/policy/CMP0026.rst | 25 + Help/prop_cache/ADVANCED.rst | 8 + Help/prop_cache/HELPSTRING.rst | 7 + Help/prop_cache/MODIFIED.rst | 7 + Help/prop_cache/STRINGS.rst | 9 + Help/prop_cache/TYPE.rst | 21 + Help/prop_cache/VALUE.rst | 7 + Help/prop_dir/ADDITIONAL_MAKE_CLEAN_FILES.rst | 7 + Help/prop_dir/CACHE_VARIABLES.rst | 7 + Help/prop_dir/CLEAN_NO_CUSTOM.rst | 7 + Help/prop_dir/COMPILE_DEFINITIONS.rst | 39 + Help/prop_dir/COMPILE_DEFINITIONS_CONFIG.rst | 8 + Help/prop_dir/COMPILE_OPTIONS.rst | 86 +++ Help/prop_dir/DEFINITIONS.rst | 8 + Help/prop_dir/EXCLUDE_FROM_ALL.rst | 9 + .../IMPLICIT_DEPENDS_INCLUDE_TRANSFORM.rst | 34 + Help/prop_dir/INCLUDE_DIRECTORIES.rst | 18 + Help/prop_dir/INCLUDE_REGULAR_EXPRESSION.rst | 8 + Help/prop_dir/INTERPROCEDURAL_OPTIMIZATION.rst | 7 + .../INTERPROCEDURAL_OPTIMIZATION_CONFIG.rst | 8 + Help/prop_dir/LINK_DIRECTORIES.rst | 8 + Help/prop_dir/LISTFILE_STACK.rst | 9 + Help/prop_dir/MACROS.rst | 8 + Help/prop_dir/PARENT_DIRECTORY.rst | 8 + Help/prop_dir/RULE_LAUNCH_COMPILE.rst | 7 + Help/prop_dir/RULE_LAUNCH_CUSTOM.rst | 7 + Help/prop_dir/RULE_LAUNCH_LINK.rst | 7 + Help/prop_dir/TEST_INCLUDE_FILE.rst | 7 + Help/prop_dir/VARIABLES.rst | 7 + Help/prop_dir/VS_GLOBAL_SECTION_POST_section.rst | 29 + Help/prop_dir/VS_GLOBAL_SECTION_PRE_section.rst | 22 + Help/prop_gbl/ALLOW_DUPLICATE_CUSTOM_TARGETS.rst | 19 + Help/prop_gbl/AUTOMOC_TARGETS_FOLDER.rst | 8 + Help/prop_gbl/DEBUG_CONFIGURATIONS.rst | 14 + Help/prop_gbl/DISABLED_FEATURES.rst | 11 + Help/prop_gbl/ENABLED_FEATURES.rst | 11 + Help/prop_gbl/ENABLED_LANGUAGES.rst | 6 + Help/prop_gbl/FIND_LIBRARY_USE_LIB64_PATHS.rst | 9 + .../FIND_LIBRARY_USE_OPENBSD_VERSIONING.rst | 9 + Help/prop_gbl/GLOBAL_DEPENDS_DEBUG_MODE.rst | 8 + Help/prop_gbl/GLOBAL_DEPENDS_NO_CYCLES.rst | 10 + Help/prop_gbl/IN_TRY_COMPILE.rst | 6 + Help/prop_gbl/PACKAGES_FOUND.rst | 7 + Help/prop_gbl/PACKAGES_NOT_FOUND.rst | 7 + Help/prop_gbl/PREDEFINED_TARGETS_FOLDER.rst | 9 + Help/prop_gbl/REPORT_UNDEFINED_PROPERTIES.rst | 8 + Help/prop_gbl/RULE_LAUNCH_COMPILE.rst | 9 + Help/prop_gbl/RULE_LAUNCH_CUSTOM.rst | 9 + Help/prop_gbl/RULE_LAUNCH_LINK.rst | 9 + Help/prop_gbl/RULE_MESSAGES.rst | 13 + .../TARGET_ARCHIVES_MAY_BE_SHARED_LIBS.rst | 7 + Help/prop_gbl/TARGET_SUPPORTS_SHARED_LIBS.rst | 9 + Help/prop_gbl/USE_FOLDERS.rst | 9 + Help/prop_sf/ABSTRACT.rst | 9 + Help/prop_sf/COMPILE_DEFINITIONS.rst | 39 + Help/prop_sf/COMPILE_DEFINITIONS_CONFIG.rst | 8 + Help/prop_sf/COMPILE_FLAGS.rst | 8 + Help/prop_sf/EXTERNAL_OBJECT.rst | 8 + Help/prop_sf/Fortran_FORMAT.rst | 9 + Help/prop_sf/GENERATED.rst | 8 + Help/prop_sf/HEADER_FILE_ONLY.rst | 9 + Help/prop_sf/KEEP_EXTENSION.rst | 9 + Help/prop_sf/LABELS.rst | 8 + Help/prop_sf/LANGUAGE.rst | 10 + Help/prop_sf/LOCATION.rst | 7 + Help/prop_sf/MACOSX_PACKAGE_LOCATION.rst | 19 + Help/prop_sf/OBJECT_DEPENDS.rst | 18 + Help/prop_sf/OBJECT_OUTPUTS.rst | 9 + Help/prop_sf/SYMBOLIC.rst | 8 + Help/prop_sf/WRAP_EXCLUDE.rst | 10 + Help/prop_test/ATTACHED_FILES.rst | 7 + Help/prop_test/ATTACHED_FILES_ON_FAIL.rst | 7 + Help/prop_test/COST.rst | 7 + Help/prop_test/DEPENDS.rst | 6 + Help/prop_test/ENVIRONMENT.rst | 9 + Help/prop_test/FAIL_REGULAR_EXPRESSION.rst | 8 + Help/prop_test/LABELS.rst | 6 + Help/prop_test/MEASUREMENT.rst | 8 + Help/prop_test/PASS_REGULAR_EXPRESSION.rst | 8 + Help/prop_test/PROCESSORS.rst | 8 + Help/prop_test/REQUIRED_FILES.rst | 7 + Help/prop_test/RESOURCE_LOCK.rst | 7 + Help/prop_test/RUN_SERIAL.rst | 8 + Help/prop_test/TIMEOUT.rst | 9 + Help/prop_test/WILL_FAIL.rst | 7 + Help/prop_test/WORKING_DIRECTORY.rst | 7 + Help/prop_tgt/ALIASED_TARGET.rst | 7 + Help/prop_tgt/ARCHIVE_OUTPUT_DIRECTORY.rst | 18 + Help/prop_tgt/ARCHIVE_OUTPUT_DIRECTORY_CONFIG.rst | 11 + Help/prop_tgt/ARCHIVE_OUTPUT_NAME.rst | 15 + Help/prop_tgt/ARCHIVE_OUTPUT_NAME_CONFIG.rst | 6 + Help/prop_tgt/AUTOMOC.rst | 31 + Help/prop_tgt/AUTOMOC_MOC_OPTIONS.rst | 12 + Help/prop_tgt/BUILD_WITH_INSTALL_RPATH.rst | 11 + Help/prop_tgt/BUNDLE.rst | 9 + Help/prop_tgt/BUNDLE_EXTENSION.rst | 7 + Help/prop_tgt/COMPATIBLE_INTERFACE_BOOL.rst | 17 + Help/prop_tgt/COMPATIBLE_INTERFACE_STRING.rst | 15 + Help/prop_tgt/COMPILE_DEFINITIONS.rst | 114 +++ Help/prop_tgt/COMPILE_DEFINITIONS_CONFIG.rst | 6 + Help/prop_tgt/COMPILE_FLAGS.rst | 11 + Help/prop_tgt/COMPILE_OPTIONS.rst | 86 +++ Help/prop_tgt/CONFIG_OUTPUT_NAME.rst | 7 + Help/prop_tgt/CONFIG_POSTFIX.rst | 10 + Help/prop_tgt/DEBUG_POSTFIX.rst | 7 + Help/prop_tgt/DEFINE_SYMBOL.rst | 11 + Help/prop_tgt/ENABLE_EXPORTS.rst | 19 + Help/prop_tgt/EXCLUDE_FROM_ALL.rst | 10 + Help/prop_tgt/EXCLUDE_FROM_DEFAULT_BUILD.rst | 8 + .../prop_tgt/EXCLUDE_FROM_DEFAULT_BUILD_CONFIG.rst | 9 + Help/prop_tgt/EXPORT_NAME.rst | 8 + Help/prop_tgt/EchoString.rst | 7 + Help/prop_tgt/FOLDER.rst | 10 + Help/prop_tgt/FRAMEWORK.rst | 9 + Help/prop_tgt/Fortran_FORMAT.rst | 11 + Help/prop_tgt/Fortran_MODULE_DIRECTORY.rst | 17 + Help/prop_tgt/GENERATOR_FILE_NAME.rst | 9 + Help/prop_tgt/GNUtoMS.rst | 17 + Help/prop_tgt/HAS_CXX.rst | 7 + .../IMPLICIT_DEPENDS_INCLUDE_TRANSFORM.rst | 32 + Help/prop_tgt/IMPORTED.rst | 8 + Help/prop_tgt/IMPORTED_CONFIGURATIONS.rst | 11 + Help/prop_tgt/IMPORTED_IMPLIB.rst | 7 + Help/prop_tgt/IMPORTED_IMPLIB_CONFIG.rst | 7 + .../prop_tgt/IMPORTED_LINK_DEPENDENT_LIBRARIES.rst | 14 + .../IMPORTED_LINK_DEPENDENT_LIBRARIES_CONFIG.rst | 8 + .../prop_tgt/IMPORTED_LINK_INTERFACE_LANGUAGES.rst | 14 + .../IMPORTED_LINK_INTERFACE_LANGUAGES_CONFIG.rst | 8 + .../prop_tgt/IMPORTED_LINK_INTERFACE_LIBRARIES.rst | 16 + .../IMPORTED_LINK_INTERFACE_LIBRARIES_CONFIG.rst | 13 + .../IMPORTED_LINK_INTERFACE_MULTIPLICITY.rst | 6 + ...IMPORTED_LINK_INTERFACE_MULTIPLICITY_CONFIG.rst | 7 + Help/prop_tgt/IMPORTED_LOCATION.rst | 21 + Help/prop_tgt/IMPORTED_LOCATION_CONFIG.rst | 7 + Help/prop_tgt/IMPORTED_NO_SONAME.rst | 9 + Help/prop_tgt/IMPORTED_NO_SONAME_CONFIG.rst | 7 + Help/prop_tgt/IMPORTED_SONAME.rst | 8 + Help/prop_tgt/IMPORTED_SONAME_CONFIG.rst | 7 + Help/prop_tgt/IMPORT_PREFIX.rst | 9 + Help/prop_tgt/IMPORT_SUFFIX.rst | 9 + Help/prop_tgt/INCLUDE_DIRECTORIES.rst | 94 +++ Help/prop_tgt/INSTALL_NAME_DIR.rst | 8 + Help/prop_tgt/INSTALL_RPATH.rst | 9 + Help/prop_tgt/INSTALL_RPATH_USE_LINK_PATH.rst | 10 + Help/prop_tgt/INTERFACE_COMPILE_DEFINITIONS.rst | 85 +++ Help/prop_tgt/INTERFACE_COMPILE_OPTIONS.rst | 85 +++ Help/prop_tgt/INTERFACE_INCLUDE_DIRECTORIES.rst | 85 +++ Help/prop_tgt/INTERFACE_LINK_LIBRARIES.rst | 88 +++ .../INTERFACE_POSITION_INDEPENDENT_CODE.rst | 15 + .../INTERFACE_SYSTEM_INCLUDE_DIRECTORIES.rst | 84 +++ Help/prop_tgt/INTERPROCEDURAL_OPTIMIZATION.rst | 7 + .../INTERPROCEDURAL_OPTIMIZATION_CONFIG.rst | 8 + Help/prop_tgt/LABELS.rst | 6 + Help/prop_tgt/LANG_VISIBILITY_PRESET.rst | 10 + Help/prop_tgt/LIBRARY_OUTPUT_DIRECTORY.rst | 18 + Help/prop_tgt/LIBRARY_OUTPUT_DIRECTORY_CONFIG.rst | 11 + Help/prop_tgt/LIBRARY_OUTPUT_NAME.rst | 15 + Help/prop_tgt/LIBRARY_OUTPUT_NAME_CONFIG.rst | 6 + Help/prop_tgt/LINKER_LANGUAGE.rst | 14 + Help/prop_tgt/LINK_DEPENDS.rst | 12 + Help/prop_tgt/LINK_DEPENDS_NO_SHARED.rst | 14 + Help/prop_tgt/LINK_FLAGS.rst | 8 + Help/prop_tgt/LINK_FLAGS_CONFIG.rst | 6 + Help/prop_tgt/LINK_INTERFACE_LIBRARIES.rst | 22 + Help/prop_tgt/LINK_INTERFACE_LIBRARIES_CONFIG.rst | 13 + Help/prop_tgt/LINK_INTERFACE_MULTIPLICITY.rst | 12 + .../LINK_INTERFACE_MULTIPLICITY_CONFIG.rst | 8 + Help/prop_tgt/LINK_LIBRARIES.rst | 89 +++ Help/prop_tgt/LINK_SEARCH_END_STATIC.rst | 14 + Help/prop_tgt/LINK_SEARCH_START_STATIC.rst | 14 + Help/prop_tgt/LOCATION.rst | 27 + Help/prop_tgt/LOCATION_CONFIG.rst | 20 + Help/prop_tgt/MACOSX_BUNDLE.rst | 12 + Help/prop_tgt/MACOSX_BUNDLE_INFO_PLIST.rst | 29 + Help/prop_tgt/MACOSX_FRAMEWORK_INFO_PLIST.rst | 25 + Help/prop_tgt/MACOSX_RPATH.rst | 10 + Help/prop_tgt/MAP_IMPORTED_CONFIG_CONFIG.rst | 19 + Help/prop_tgt/NAME.rst | 6 + Help/prop_tgt/NO_SONAME.rst | 14 + Help/prop_tgt/NO_SYSTEM_FROM_IMPORTED.rst | 11 + Help/prop_tgt/OSX_ARCHITECTURES.rst | 11 + Help/prop_tgt/OSX_ARCHITECTURES_CONFIG.rst | 7 + Help/prop_tgt/OUTPUT_NAME.rst | 8 + Help/prop_tgt/OUTPUT_NAME_CONFIG.rst | 6 + Help/prop_tgt/PDB_NAME.rst | 10 + Help/prop_tgt/PDB_NAME_CONFIG.rst | 8 + Help/prop_tgt/PDB_OUTPUT_DIRECTORY.rst | 11 + Help/prop_tgt/PDB_OUTPUT_DIRECTORY_CONFIG.rst | 13 + Help/prop_tgt/POSITION_INDEPENDENT_CODE.rst | 11 + Help/prop_tgt/POST_INSTALL_SCRIPT.rst | 9 + Help/prop_tgt/PREFIX.rst | 7 + Help/prop_tgt/PRE_INSTALL_SCRIPT.rst | 9 + Help/prop_tgt/PRIVATE_HEADER.rst | 11 + Help/prop_tgt/PROJECT_LABEL.rst | 7 + Help/prop_tgt/PUBLIC_HEADER.rst | 11 + Help/prop_tgt/RESOURCE.rst | 11 + Help/prop_tgt/RULE_LAUNCH_COMPILE.rst | 7 + Help/prop_tgt/RULE_LAUNCH_CUSTOM.rst | 7 + Help/prop_tgt/RULE_LAUNCH_LINK.rst | 7 + Help/prop_tgt/RUNTIME_OUTPUT_DIRECTORY.rst | 18 + Help/prop_tgt/RUNTIME_OUTPUT_DIRECTORY_CONFIG.rst | 11 + Help/prop_tgt/RUNTIME_OUTPUT_NAME.rst | 15 + Help/prop_tgt/RUNTIME_OUTPUT_NAME_CONFIG.rst | 6 + Help/prop_tgt/SKIP_BUILD_RPATH.rst | 9 + Help/prop_tgt/SOURCES.rst | 7 + Help/prop_tgt/SOVERSION.rst | 14 + Help/prop_tgt/STATIC_LIBRARY_FLAGS.rst | 6 + Help/prop_tgt/STATIC_LIBRARY_FLAGS_CONFIG.rst | 6 + Help/prop_tgt/SUFFIX.rst | 7 + Help/prop_tgt/TYPE.rst | 8 + Help/prop_tgt/VERSION.rst | 16 + Help/prop_tgt/VISIBILITY_INLINES_HIDDEN.rst | 11 + Help/prop_tgt/VS_DOTNET_REFERENCES.rst | 7 + .../VS_DOTNET_TARGET_FRAMEWORK_VERSION.rst | 7 + Help/prop_tgt/VS_GLOBAL_KEYWORD.rst | 9 + Help/prop_tgt/VS_GLOBAL_PROJECT_TYPES.rst | 15 + Help/prop_tgt/VS_GLOBAL_ROOTNAMESPACE.rst | 7 + Help/prop_tgt/VS_GLOBAL_variable.rst | 10 + Help/prop_tgt/VS_KEYWORD.rst | 7 + Help/prop_tgt/VS_SCC_AUXPATH.rst | 7 + Help/prop_tgt/VS_SCC_LOCALPATH.rst | 7 + Help/prop_tgt/VS_SCC_PROJECTNAME.rst | 7 + Help/prop_tgt/VS_SCC_PROVIDER.rst | 7 + Help/prop_tgt/VS_WINRT_EXTENSIONS.rst | 6 + Help/prop_tgt/VS_WINRT_REFERENCES.rst | 7 + Help/prop_tgt/WIN32_EXECUTABLE.rst | 12 + Help/prop_tgt/XCODE_ATTRIBUTE_an-attribute.rst | 7 + Help/variable/APPLE.rst | 6 + Help/variable/BORLAND.rst | 6 + Help/variable/BUILD_SHARED_LIBS.rst | 10 + Help/variable/CMAKE_ABSOLUTE_DESTINATION_FILES.rst | 9 + Help/variable/CMAKE_AR.rst | 7 + Help/variable/CMAKE_ARCHIVE_OUTPUT_DIRECTORY.rst | 8 + Help/variable/CMAKE_ARGC.rst | 7 + Help/variable/CMAKE_ARGV0.rst | 9 + Help/variable/CMAKE_AUTOMOC.rst | 7 + Help/variable/CMAKE_AUTOMOC_MOC_OPTIONS.rst | 8 + Help/variable/CMAKE_AUTOMOC_RELAXED_MODE.rst | 13 + Help/variable/CMAKE_BACKWARDS_COMPATIBILITY.rst | 11 + Help/variable/CMAKE_BINARY_DIR.rst | 8 + Help/variable/CMAKE_BUILD_TOOL.rst | 11 + Help/variable/CMAKE_BUILD_TYPE.rst | 19 + Help/variable/CMAKE_BUILD_WITH_INSTALL_RPATH.rst | 11 + Help/variable/CMAKE_CACHEFILE_DIR.rst | 7 + Help/variable/CMAKE_CACHE_MAJOR_VERSION.rst | 8 + Help/variable/CMAKE_CACHE_MINOR_VERSION.rst | 8 + Help/variable/CMAKE_CACHE_PATCH_VERSION.rst | 8 + Help/variable/CMAKE_CFG_INTDIR.rst | 45 ++ Help/variable/CMAKE_CL_64.rst | 6 + Help/variable/CMAKE_COLOR_MAKEFILE.rst | 7 + Help/variable/CMAKE_COMMAND.rst | 8 + Help/variable/CMAKE_COMPILER_2005.rst | 6 + Help/variable/CMAKE_COMPILER_IS_GNULANG.rst | 15 + Help/variable/CMAKE_CONFIGURATION_TYPES.rst | 10 + Help/variable/CMAKE_CONFIG_POSTFIX.rst | 7 + Help/variable/CMAKE_CROSSCOMPILING.rst | 8 + Help/variable/CMAKE_CTEST_COMMAND.rst | 8 + Help/variable/CMAKE_CURRENT_BINARY_DIR.rst | 10 + Help/variable/CMAKE_CURRENT_LIST_DIR.rst | 17 + Help/variable/CMAKE_CURRENT_LIST_FILE.rst | 15 + Help/variable/CMAKE_CURRENT_LIST_LINE.rst | 7 + Help/variable/CMAKE_CURRENT_SOURCE_DIR.rst | 7 + Help/variable/CMAKE_DEBUG_POSTFIX.rst | 7 + Help/variable/CMAKE_DEBUG_TARGET_PROPERTIES.rst | 11 + .../CMAKE_DISABLE_FIND_PACKAGE_PackageName.rst | 15 + Help/variable/CMAKE_DL_LIBS.rst | 7 + Help/variable/CMAKE_EDIT_COMMAND.rst | 7 + Help/variable/CMAKE_ERROR_DEPRECATED.rst | 8 + ...CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION.rst | 9 + Help/variable/CMAKE_EXECUTABLE_SUFFIX.rst | 9 + Help/variable/CMAKE_EXE_LINKER_FLAGS.rst | 6 + Help/variable/CMAKE_EXE_LINKER_FLAGS_CONFIG.rst | 7 + Help/variable/CMAKE_EXTRA_GENERATOR.rst | 9 + .../CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES.rst | 9 + Help/variable/CMAKE_FIND_LIBRARY_PREFIXES.rst | 9 + Help/variable/CMAKE_FIND_LIBRARY_SUFFIXES.rst | 9 + .../variable/CMAKE_FIND_PACKAGE_WARN_NO_MODULE.rst | 19 + Help/variable/CMAKE_Fortran_FORMAT.rst | 7 + Help/variable/CMAKE_Fortran_MODDIR_DEFAULT.rst | 8 + Help/variable/CMAKE_Fortran_MODDIR_FLAG.rst | 7 + Help/variable/CMAKE_Fortran_MODOUT_FLAG.rst | 7 + Help/variable/CMAKE_Fortran_MODULE_DIRECTORY.rst | 8 + Help/variable/CMAKE_GENERATOR.rst | 7 + Help/variable/CMAKE_GENERATOR_TOOLSET.rst | 9 + Help/variable/CMAKE_GNUtoMS.rst | 8 + Help/variable/CMAKE_HOME_DIRECTORY.rst | 6 + Help/variable/CMAKE_HOST_APPLE.rst | 6 + Help/variable/CMAKE_HOST_SYSTEM.rst | 7 + Help/variable/CMAKE_HOST_SYSTEM_NAME.rst | 7 + Help/variable/CMAKE_HOST_SYSTEM_PROCESSOR.rst | 7 + Help/variable/CMAKE_HOST_SYSTEM_VERSION.rst | 7 + Help/variable/CMAKE_HOST_UNIX.rst | 7 + Help/variable/CMAKE_HOST_WIN32.rst | 6 + Help/variable/CMAKE_IGNORE_PATH.rst | 17 + Help/variable/CMAKE_IMPORT_LIBRARY_PREFIX.rst | 9 + Help/variable/CMAKE_IMPORT_LIBRARY_SUFFIX.rst | 9 + Help/variable/CMAKE_INCLUDE_CURRENT_DIR.rst | 13 + .../CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE.rst | 10 + Help/variable/CMAKE_INCLUDE_PATH.rst | 10 + .../CMAKE_INSTALL_DEFAULT_COMPONENT_NAME.rst | 9 + Help/variable/CMAKE_INSTALL_NAME_DIR.rst | 8 + Help/variable/CMAKE_INSTALL_PREFIX.rst | 29 + Help/variable/CMAKE_INSTALL_RPATH.rst | 8 + .../variable/CMAKE_INSTALL_RPATH_USE_LINK_PATH.rst | 9 + Help/variable/CMAKE_INTERNAL_PLATFORM_ABI.rst | 6 + Help/variable/CMAKE_LANG_ARCHIVE_APPEND.rst | 9 + Help/variable/CMAKE_LANG_ARCHIVE_CREATE.rst | 9 + Help/variable/CMAKE_LANG_ARCHIVE_FINISH.rst | 9 + Help/variable/CMAKE_LANG_COMPILER.rst | 7 + Help/variable/CMAKE_LANG_COMPILER_ABI.rst | 6 + Help/variable/CMAKE_LANG_COMPILER_ID.rst | 33 + Help/variable/CMAKE_LANG_COMPILER_LOADED.rst | 7 + Help/variable/CMAKE_LANG_COMPILER_VERSION.rst | 8 + Help/variable/CMAKE_LANG_COMPILE_OBJECT.rst | 7 + Help/variable/CMAKE_LANG_CREATE_SHARED_LIBRARY.rst | 7 + Help/variable/CMAKE_LANG_CREATE_SHARED_MODULE.rst | 7 + Help/variable/CMAKE_LANG_CREATE_STATIC_LIBRARY.rst | 7 + Help/variable/CMAKE_LANG_FLAGS.rst | 6 + Help/variable/CMAKE_LANG_FLAGS_DEBUG.rst | 6 + Help/variable/CMAKE_LANG_FLAGS_MINSIZEREL.rst | 7 + Help/variable/CMAKE_LANG_FLAGS_RELEASE.rst | 6 + Help/variable/CMAKE_LANG_FLAGS_RELWITHDEBINFO.rst | 7 + Help/variable/CMAKE_LANG_IGNORE_EXTENSIONS.rst | 7 + .../CMAKE_LANG_IMPLICIT_INCLUDE_DIRECTORIES.rst | 9 + .../CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES.rst | 17 + ...KE_LANG_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES.rst | 8 + .../CMAKE_LANG_IMPLICIT_LINK_LIBRARIES.rst | 10 + Help/variable/CMAKE_LANG_LIBRARY_ARCHITECTURE.rst | 8 + Help/variable/CMAKE_LANG_LINKER_PREFERENCE.rst | 11 + .../CMAKE_LANG_LINKER_PREFERENCE_PROPAGATES.rst | 9 + Help/variable/CMAKE_LANG_LINK_EXECUTABLE.rst | 6 + Help/variable/CMAKE_LANG_OUTPUT_EXTENSION.rst | 7 + Help/variable/CMAKE_LANG_PLATFORM_ID.rst | 6 + Help/variable/CMAKE_LANG_SIMULATE_ID.rst | 9 + Help/variable/CMAKE_LANG_SIMULATE_VERSION.rst | 9 + Help/variable/CMAKE_LANG_SIZEOF_DATA_PTR.rst | 7 + .../variable/CMAKE_LANG_SOURCE_FILE_EXTENSIONS.rst | 6 + Help/variable/CMAKE_LANG_VISIBILITY_PRESET.rst | 8 + Help/variable/CMAKE_LIBRARY_ARCHITECTURE.rst | 7 + Help/variable/CMAKE_LIBRARY_ARCHITECTURE_REGEX.rst | 7 + Help/variable/CMAKE_LIBRARY_OUTPUT_DIRECTORY.rst | 8 + Help/variable/CMAKE_LIBRARY_PATH.rst | 10 + Help/variable/CMAKE_LIBRARY_PATH_FLAG.rst | 7 + Help/variable/CMAKE_LINK_DEF_FILE_FLAG.rst | 7 + Help/variable/CMAKE_LINK_DEPENDS_NO_SHARED.rst | 8 + Help/variable/CMAKE_LINK_INTERFACE_LIBRARIES.rst | 8 + Help/variable/CMAKE_LINK_LIBRARY_FILE_FLAG.rst | 7 + Help/variable/CMAKE_LINK_LIBRARY_FLAG.rst | 7 + Help/variable/CMAKE_LINK_LIBRARY_SUFFIX.rst | 6 + Help/variable/CMAKE_MACOSX_BUNDLE.rst | 7 + Help/variable/CMAKE_MAJOR_VERSION.rst | 6 + Help/variable/CMAKE_MAKE_PROGRAM.rst | 7 + Help/variable/CMAKE_MAP_IMPORTED_CONFIG_CONFIG.rst | 8 + Help/variable/CMAKE_MFC_FLAG.rst | 16 + Help/variable/CMAKE_MINIMUM_REQUIRED_VERSION.rst | 7 + Help/variable/CMAKE_MINOR_VERSION.rst | 6 + Help/variable/CMAKE_MODULE_LINKER_FLAGS.rst | 6 + Help/variable/CMAKE_MODULE_LINKER_FLAGS_CONFIG.rst | 6 + Help/variable/CMAKE_MODULE_PATH.rst | 8 + Help/variable/CMAKE_NOT_USING_CONFIG_FLAGS.rst | 7 + Help/variable/CMAKE_NO_BUILTIN_CHRPATH.rst | 10 + Help/variable/CMAKE_NO_SYSTEM_FROM_IMPORTED.rst | 8 + Help/variable/CMAKE_OBJECT_PATH_MAX.rst | 16 + Help/variable/CMAKE_PARENT_LIST_FILE.rst | 9 + Help/variable/CMAKE_PATCH_VERSION.rst | 6 + Help/variable/CMAKE_PDB_OUTPUT_DIRECTORY.rst | 8 + Help/variable/CMAKE_POLICY_DEFAULT_CMPNNNN.rst | 16 + Help/variable/CMAKE_POSITION_INDEPENDENT_CODE.rst | 8 + Help/variable/CMAKE_PREFIX_PATH.rst | 13 + Help/variable/CMAKE_PROGRAM_PATH.rst | 10 + Help/variable/CMAKE_PROJECT_NAME.rst | 7 + Help/variable/CMAKE_RANLIB.rst | 7 + Help/variable/CMAKE_ROOT.rst | 8 + Help/variable/CMAKE_RUNTIME_OUTPUT_DIRECTORY.rst | 8 + Help/variable/CMAKE_SCRIPT_MODE_FILE.rst | 8 + Help/variable/CMAKE_SHARED_LIBRARY_PREFIX.rst | 8 + Help/variable/CMAKE_SHARED_LIBRARY_SUFFIX.rst | 9 + Help/variable/CMAKE_SHARED_LINKER_FLAGS.rst | 6 + Help/variable/CMAKE_SHARED_LINKER_FLAGS_CONFIG.rst | 7 + Help/variable/CMAKE_SHARED_MODULE_PREFIX.rst | 8 + Help/variable/CMAKE_SHARED_MODULE_SUFFIX.rst | 9 + Help/variable/CMAKE_SIZEOF_VOID_P.rst | 8 + Help/variable/CMAKE_SKIP_BUILD_RPATH.rst | 10 + .../variable/CMAKE_SKIP_INSTALL_ALL_DEPENDENCY.rst | 11 + Help/variable/CMAKE_SKIP_INSTALL_RPATH.rst | 14 + Help/variable/CMAKE_SKIP_RPATH.rst | 10 + Help/variable/CMAKE_SOURCE_DIR.rst | 8 + Help/variable/CMAKE_STANDARD_LIBRARIES.rst | 7 + Help/variable/CMAKE_STATIC_LIBRARY_PREFIX.rst | 8 + Help/variable/CMAKE_STATIC_LIBRARY_SUFFIX.rst | 9 + Help/variable/CMAKE_STATIC_LINKER_FLAGS.rst | 6 + Help/variable/CMAKE_STATIC_LINKER_FLAGS_CONFIG.rst | 7 + Help/variable/CMAKE_SYSTEM.rst | 9 + Help/variable/CMAKE_SYSTEM_IGNORE_PATH.rst | 15 + Help/variable/CMAKE_SYSTEM_INCLUDE_PATH.rst | 11 + Help/variable/CMAKE_SYSTEM_LIBRARY_PATH.rst | 11 + Help/variable/CMAKE_SYSTEM_NAME.rst | 9 + Help/variable/CMAKE_SYSTEM_PREFIX_PATH.rst | 16 + Help/variable/CMAKE_SYSTEM_PROCESSOR.rst | 8 + Help/variable/CMAKE_SYSTEM_PROGRAM_PATH.rst | 11 + Help/variable/CMAKE_SYSTEM_VERSION.rst | 8 + Help/variable/CMAKE_TRY_COMPILE_CONFIGURATION.rst | 9 + Help/variable/CMAKE_TWEAK_VERSION.rst | 8 + Help/variable/CMAKE_USER_MAKE_RULES_OVERRIDE.rst | 23 + .../CMAKE_USER_MAKE_RULES_OVERRIDE_LANG.rst | 7 + Help/variable/CMAKE_USE_RELATIVE_PATHS.rst | 10 + Help/variable/CMAKE_VERBOSE_MAKEFILE.rst | 8 + Help/variable/CMAKE_VERSION.rst | 10 + Help/variable/CMAKE_VISIBILITY_INLINES_HIDDEN.rst | 8 + Help/variable/CMAKE_VS_PLATFORM_TOOLSET.rst | 10 + Help/variable/CMAKE_WARN_DEPRECATED.rst | 7 + .../CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION.rst | 8 + Help/variable/CMAKE_WIN32_EXECUTABLE.rst | 7 + Help/variable/CMAKE_XCODE_PLATFORM_TOOLSET.rst | 9 + Help/variable/CPACK_ABSOLUTE_DESTINATION_FILES.rst | 10 + .../CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY.rst | 8 + ...CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION.rst | 10 + Help/variable/CPACK_INCLUDE_TOPLEVEL_DIRECTORY.rst | 19 + Help/variable/CPACK_INSTALL_SCRIPT.rst | 8 + Help/variable/CPACK_PACKAGING_INSTALL_PREFIX.rst | 13 + Help/variable/CPACK_SET_DESTDIR.rst | 30 + .../CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION.rst | 8 + Help/variable/CYGWIN.rst | 6 + Help/variable/ENV.rst | 7 + Help/variable/EXECUTABLE_OUTPUT_PATH.rst | 8 + Help/variable/LIBRARY_OUTPUT_PATH.rst | 9 + Help/variable/MSVC.rst | 6 + Help/variable/MSVC10.rst | 6 + Help/variable/MSVC11.rst | 6 + Help/variable/MSVC12.rst | 6 + Help/variable/MSVC60.rst | 6 + Help/variable/MSVC70.rst | 6 + Help/variable/MSVC71.rst | 6 + Help/variable/MSVC80.rst | 6 + Help/variable/MSVC90.rst | 6 + Help/variable/MSVC_IDE.rst | 7 + Help/variable/MSVC_VERSION.rst | 17 + Help/variable/PROJECT-NAME_BINARY_DIR.rst | 8 + Help/variable/PROJECT-NAME_SOURCE_DIR.rst | 8 + Help/variable/PROJECT_BINARY_DIR.rst | 6 + Help/variable/PROJECT_NAME.rst | 6 + Help/variable/PROJECT_SOURCE_DIR.rst | 6 + Help/variable/UNIX.rst | 7 + Help/variable/WIN32.rst | 6 + Help/variable/XCODE_VERSION.rst | 7 + Modules/AddFileDependencies.cmake | 8 +- Modules/BundleUtilities.cmake | 275 ++++--- Modules/CMakeAddFortranSubdirectory.cmake | 60 +- Modules/CMakeBackwardCompatibilityCXX.cmake | 21 +- Modules/CMakeDependentOption.cmake | 30 +- Modules/CMakeDetermineVSServicePack.cmake | 40 +- Modules/CMakeExpandImportedTargets.cmake | 39 +- Modules/CMakeFindFrameworks.cmake | 6 +- Modules/CMakeFindPackageMode.cmake | 27 +- Modules/CMakeForceCompiler.cmake | 47 +- Modules/CMakeGraphVizOptions.cmake | 177 +++-- Modules/CMakePackageConfigHelpers.cmake | 282 ++++--- Modules/CMakeParseArguments.cmake | 100 ++- Modules/CMakePrintHelpers.cmake | 55 +- Modules/CMakePrintSystemInformation.cmake | 12 +- Modules/CMakePushCheckState.cmake | 55 +- Modules/CMakeVerifyManifest.cmake | 23 +- Modules/CPack.cmake | 587 ++++++++------ Modules/CPackBundle.cmake | 80 +- Modules/CPackComponent.cmake | 550 +++++++------- Modules/CPackCygwin.cmake | 52 +- Modules/CPackDMG.cmake | 144 ++-- Modules/CPackDeb.cmake | 373 +++++---- Modules/CPackNSIS.cmake | 343 +++++---- Modules/CPackPackageMaker.cmake | 50 +- Modules/CPackRPM.cmake | 575 ++++++++------ Modules/CPackWIX.cmake | 155 ++-- Modules/CTest.cmake | 89 ++- Modules/CTestScriptMode.cmake | 6 + Modules/CTestUseLaunchers.cmake | 32 +- Modules/CheckCCompilerFlag.cmake | 28 +- Modules/CheckCSourceCompiles.cmake | 31 +- Modules/CheckCSourceRuns.cmake | 31 +- Modules/CheckCXXCompilerFlag.cmake | 28 +- Modules/CheckCXXSourceCompiles.cmake | 31 +- Modules/CheckCXXSourceRuns.cmake | 31 +- Modules/CheckCXXSymbolExists.cmake | 42 +- Modules/CheckFortranFunctionExists.cmake | 25 +- Modules/CheckFunctionExists.cmake | 25 +- Modules/CheckIncludeFile.cmake | 32 +- Modules/CheckIncludeFileCXX.cmake | 36 +- Modules/CheckIncludeFiles.cmake | 28 +- Modules/CheckLanguage.cmake | 31 +- Modules/CheckLibraryExists.cmake | 31 +- Modules/CheckPrototypeDefinition.cmake | 49 +- Modules/CheckStructHasMember.cmake | 47 +- Modules/CheckSymbolExists.cmake | 39 +- Modules/CheckTypeSize.cmake | 83 +- Modules/CheckVariableExists.cmake | 33 +- Modules/Dart.cmake | 24 +- Modules/DeployQt4.cmake | 111 ++- Modules/Documentation.cmake | 11 +- Modules/ExternalData.cmake | 280 ++++--- Modules/ExternalProject.cmake | 299 ++++---- Modules/FeatureSummary.cmake | 363 +++++---- Modules/FindALSA.cmake | 26 +- Modules/FindASPELL.cmake | 19 +- Modules/FindAVIFile.cmake | 25 +- Modules/FindArmadillo.cmake | 38 +- Modules/FindBISON.cmake | 80 +- Modules/FindBLAS.cmake | 60 +- Modules/FindBZip2.cmake | 19 +- Modules/FindBoost.cmake | 270 ++++--- Modules/FindBullet.cmake | 37 +- Modules/FindCABLE.cmake | 24 +- Modules/FindCUDA.cmake | 730 +++++++++++------- Modules/FindCURL.cmake | 17 +- Modules/FindCVS.cmake | 25 +- Modules/FindCoin3D.cmake | 19 +- Modules/FindCups.cmake | 21 +- Modules/FindCurses.cmake | 32 +- Modules/FindCxxTest.cmake | 196 +++-- Modules/FindCygwin.cmake | 5 +- Modules/FindDCMTK.cmake | 5 +- Modules/FindDart.cmake | 10 +- Modules/FindDevIL.cmake | 41 +- Modules/FindDoxygen.cmake | 31 +- Modules/FindEXPAT.cmake | 15 +- Modules/FindFLEX.cmake | 109 ++- Modules/FindFLTK.cmake | 65 +- Modules/FindFLTK2.cmake | 30 +- Modules/FindFreetype.cmake | 31 +- Modules/FindGCCXML.cmake | 13 +- Modules/FindGDAL.cmake | 20 +- Modules/FindGIF.cmake | 21 +- Modules/FindGLEW.cmake | 16 +- Modules/FindGLUT.cmake | 25 +- Modules/FindGTK.cmake | 17 +- Modules/FindGTK2.cmake | 112 ++- Modules/FindGTest.cmake | 110 ++- Modules/FindGettext.cmake | 69 +- Modules/FindGit.cmake | 27 +- Modules/FindGnuTLS.cmake | 18 +- Modules/FindGnuplot.cmake | 18 +- Modules/FindHDF5.cmake | 89 ++- Modules/FindHSPELL.cmake | 27 +- Modules/FindHTMLHelp.cmake | 15 +- Modules/FindHg.cmake | 27 +- Modules/FindITK.cmake | 6 +- Modules/FindIcotool.cmake | 19 +- Modules/FindImageMagick.cmake | 104 ++- Modules/FindJNI.cmake | 28 +- Modules/FindJPEG.cmake | 25 +- Modules/FindJasper.cmake | 17 +- Modules/FindJava.cmake | 71 +- Modules/FindKDE3.cmake | 152 ++-- Modules/FindKDE4.cmake | 27 +- Modules/FindLAPACK.cmake | 52 +- Modules/FindLATEX.cmake | 24 +- Modules/FindLibArchive.cmake | 17 +- Modules/FindLibLZMA.cmake | 29 +- Modules/FindLibXml2.cmake | 21 +- Modules/FindLibXslt.cmake | 30 +- Modules/FindLua.cmake | 44 +- Modules/FindLua50.cmake | 36 +- Modules/FindLua51.cmake | 38 +- Modules/FindMFC.cmake | 17 +- Modules/FindMPEG.cmake | 24 +- Modules/FindMPEG2.cmake | 24 +- Modules/FindMPI.cmake | 118 +-- Modules/FindMatlab.cmake | 20 +- Modules/FindMotif.cmake | 16 +- Modules/FindOpenAL.cmake | 22 +- Modules/FindOpenGL.cmake | 36 +- Modules/FindOpenMP.cmake | 25 +- Modules/FindOpenSSL.cmake | 24 +- Modules/FindOpenSceneGraph.cmake | 109 ++- Modules/FindOpenThreads.cmake | 30 +- Modules/FindPHP4.cmake | 18 +- Modules/FindPNG.cmake | 35 +- Modules/FindPackageHandleStandardArgs.cmake | 160 ++-- Modules/FindPackageMessage.cmake | 36 +- Modules/FindPerl.cmake | 15 +- Modules/FindPerlLibs.cmake | 50 +- Modules/FindPhysFS.cmake | 19 +- Modules/FindPike.cmake | 18 +- Modules/FindPkgConfig.cmake | 158 ++-- Modules/FindPostgreSQL.cmake | 20 +- Modules/FindProducer.cmake | 41 +- Modules/FindProtobuf.cmake | 139 +++- Modules/FindPythonInterp.cmake | 38 +- Modules/FindPythonLibs.cmake | 45 +- Modules/FindQt.cmake | 40 +- Modules/FindQt3.cmake | 40 +- Modules/FindQt4.cmake | 840 ++++++++++++--------- Modules/FindQuickTime.cmake | 14 +- Modules/FindRTI.cmake | 37 +- Modules/FindRuby.cmake | 35 +- Modules/FindSDL.cmake | 89 ++- Modules/FindSDL_image.cmake | 38 +- Modules/FindSDL_mixer.cmake | 38 +- Modules/FindSDL_net.cmake | 38 +- Modules/FindSDL_sound.cmake | 111 +-- Modules/FindSDL_ttf.cmake | 38 +- Modules/FindSWIG.cmake | 29 +- Modules/FindSelfPackers.cmake | 17 +- Modules/FindSquish.cmake | 135 ++-- Modules/FindSubversion.cmake | 77 +- Modules/FindTCL.cmake | 72 +- Modules/FindTIFF.cmake | 25 +- Modules/FindTclStub.cmake | 60 +- Modules/FindTclsh.cmake | 25 +- Modules/FindThreads.cmake | 26 +- Modules/FindUnixCommands.cmake | 8 +- Modules/FindVTK.cmake | 67 +- Modules/FindWget.cmake | 17 +- Modules/FindWish.cmake | 19 +- Modules/FindX11.cmake | 93 ++- Modules/FindXMLRPC.cmake | 34 +- Modules/FindZLIB.cmake | 48 +- Modules/Findosg.cmake | 60 +- Modules/FindosgAnimation.cmake | 52 +- Modules/FindosgDB.cmake | 52 +- Modules/FindosgFX.cmake | 52 +- Modules/FindosgGA.cmake | 52 +- Modules/FindosgIntrospection.cmake | 39 +- Modules/FindosgManipulator.cmake | 39 +- Modules/FindosgParticle.cmake | 44 +- Modules/FindosgPresentation.cmake | 43 +- Modules/FindosgProducer.cmake | 44 +- Modules/FindosgQt.cmake | 57 +- Modules/FindosgShadow.cmake | 52 +- Modules/FindosgSim.cmake | 52 +- Modules/FindosgTerrain.cmake | 52 +- Modules/FindosgText.cmake | 52 +- Modules/FindosgUtil.cmake | 52 +- Modules/FindosgViewer.cmake | 52 +- Modules/FindosgVolume.cmake | 52 +- Modules/FindosgWidget.cmake | 57 +- Modules/Findosg_functions.cmake | 8 +- Modules/FindwxWidgets.cmake | 143 ++-- Modules/FindwxWindows.cmake | 104 ++- Modules/FortranCInterface.cmake | 162 ++-- Modules/GNUInstallDirs.cmake | 69 +- Modules/GenerateExportHeader.cmake | 248 +++--- Modules/GetPrerequisites.cmake | 205 +++-- Modules/InstallRequiredSystemLibraries.cmake | 49 +- Modules/MacroAddFileDependencies.cmake | 18 +- Modules/ProcessorCount.cmake | 49 +- Modules/Qt4ConfigDependentSettings.cmake | 6 + Modules/Qt4Macros.cmake | 6 + Modules/SelectLibraryConfigurations.cmake | 36 +- Modules/SquishTestScript.cmake | 19 +- Modules/TestBigEndian.cmake | 13 +- Modules/TestCXXAcceptsFlag.cmake | 16 +- Modules/TestForANSIForScope.cmake | 14 +- Modules/TestForANSIStreamHeaders.cmake | 14 +- Modules/TestForSSTREAM.cmake | 11 +- Modules/TestForSTDNamespace.cmake | 11 +- Modules/UseEcos.cmake | 35 +- Modules/UseJava.cmake | 402 ++++++---- Modules/UseJavaClassFilelist.cmake | 12 +- Modules/UseJavaSymlinks.cmake | 8 +- Modules/UsePkgConfig.cmake | 18 +- Modules/UseQt4.cmake | 13 +- Modules/UseSWIG.cmake | 45 +- Modules/Use_wxWindows.cmake | 36 +- Modules/UsewxWidgets.cmake | 39 +- Modules/WriteBasicConfigVersionFile.cmake | 12 +- convert-help.bash | 306 -------- 1044 files changed, 23771 insertions(+), 6171 deletions(-) create mode 100644 Help/command/add_compile_options.rst create mode 100644 Help/command/add_custom_command.rst create mode 100644 Help/command/add_custom_target.rst create mode 100644 Help/command/add_definitions.rst create mode 100644 Help/command/add_dependencies.rst create mode 100644 Help/command/add_executable.rst create mode 100644 Help/command/add_library.rst create mode 100644 Help/command/add_subdirectory.rst create mode 100644 Help/command/add_test.rst create mode 100644 Help/command/aux_source_directory.rst create mode 100644 Help/command/break.rst create mode 100644 Help/command/build_command.rst create mode 100644 Help/command/build_name.rst create mode 100644 Help/command/cmake_host_system_information.rst create mode 100644 Help/command/cmake_minimum_required.rst create mode 100644 Help/command/cmake_policy.rst create mode 100644 Help/command/configure_file.rst create mode 100644 Help/command/create_test_sourcelist.rst create mode 100644 Help/command/ctest_build.rst create mode 100644 Help/command/ctest_configure.rst create mode 100644 Help/command/ctest_coverage.rst create mode 100644 Help/command/ctest_empty_binary_directory.rst create mode 100644 Help/command/ctest_memcheck.rst create mode 100644 Help/command/ctest_read_custom_files.rst create mode 100644 Help/command/ctest_run_script.rst create mode 100644 Help/command/ctest_sleep.rst create mode 100644 Help/command/ctest_start.rst create mode 100644 Help/command/ctest_submit.rst create mode 100644 Help/command/ctest_test.rst create mode 100644 Help/command/ctest_update.rst create mode 100644 Help/command/ctest_upload.rst create mode 100644 Help/command/define_property.rst create mode 100644 Help/command/else.rst create mode 100644 Help/command/elseif.rst create mode 100644 Help/command/enable_language.rst create mode 100644 Help/command/enable_testing.rst create mode 100644 Help/command/endforeach.rst create mode 100644 Help/command/endfunction.rst create mode 100644 Help/command/endif.rst create mode 100644 Help/command/endmacro.rst create mode 100644 Help/command/endwhile.rst create mode 100644 Help/command/exec_program.rst create mode 100644 Help/command/execute_process.rst create mode 100644 Help/command/export.rst create mode 100644 Help/command/export_library_dependencies.rst create mode 100644 Help/command/file.rst create mode 100644 Help/command/find_file.rst create mode 100644 Help/command/find_library.rst create mode 100644 Help/command/find_package.rst create mode 100644 Help/command/find_path.rst create mode 100644 Help/command/find_program.rst create mode 100644 Help/command/fltk_wrap_ui.rst create mode 100644 Help/command/foreach.rst create mode 100644 Help/command/function.rst create mode 100644 Help/command/get_cmake_property.rst create mode 100644 Help/command/get_directory_property.rst create mode 100644 Help/command/get_filename_component.rst create mode 100644 Help/command/get_property.rst create mode 100644 Help/command/get_source_file_property.rst create mode 100644 Help/command/get_target_property.rst create mode 100644 Help/command/get_test_property.rst create mode 100644 Help/command/if.rst create mode 100644 Help/command/include.rst create mode 100644 Help/command/include_directories.rst create mode 100644 Help/command/include_external_msproject.rst create mode 100644 Help/command/include_regular_expression.rst create mode 100644 Help/command/install.rst create mode 100644 Help/command/install_files.rst create mode 100644 Help/command/install_programs.rst create mode 100644 Help/command/install_targets.rst create mode 100644 Help/command/link_directories.rst create mode 100644 Help/command/link_libraries.rst create mode 100644 Help/command/list.rst create mode 100644 Help/command/load_cache.rst create mode 100644 Help/command/load_command.rst create mode 100644 Help/command/macro.rst create mode 100644 Help/command/make_directory.rst create mode 100644 Help/command/mark_as_advanced.rst create mode 100644 Help/command/math.rst create mode 100644 Help/command/message.rst create mode 100644 Help/command/option.rst create mode 100644 Help/command/output_required_files.rst create mode 100644 Help/command/project.rst create mode 100644 Help/command/qt_wrap_cpp.rst create mode 100644 Help/command/qt_wrap_ui.rst create mode 100644 Help/command/remove.rst create mode 100644 Help/command/remove_definitions.rst create mode 100644 Help/command/return.rst create mode 100644 Help/command/separate_arguments.rst create mode 100644 Help/command/set.rst create mode 100644 Help/command/set_directory_properties.rst create mode 100644 Help/command/set_property.rst create mode 100644 Help/command/set_source_files_properties.rst create mode 100644 Help/command/set_target_properties.rst create mode 100644 Help/command/set_tests_properties.rst create mode 100644 Help/command/site_name.rst create mode 100644 Help/command/source_group.rst create mode 100644 Help/command/string.rst create mode 100644 Help/command/subdir_depends.rst create mode 100644 Help/command/subdirs.rst create mode 100644 Help/command/target_compile_definitions.rst create mode 100644 Help/command/target_compile_options.rst create mode 100644 Help/command/target_include_directories.rst create mode 100644 Help/command/target_link_libraries.rst create mode 100644 Help/command/try_compile.rst create mode 100644 Help/command/try_run.rst create mode 100644 Help/command/unset.rst create mode 100644 Help/command/use_mangled_mesa.rst create mode 100644 Help/command/utility_source.rst create mode 100644 Help/command/variable_requires.rst create mode 100644 Help/command/variable_watch.rst create mode 100644 Help/command/while.rst create mode 100644 Help/command/write_file.rst create mode 100644 Help/generator/CodeBlocks - Ninja.rst create mode 100644 Help/generator/CodeBlocks - Unix Makefiles.rst create mode 100644 Help/generator/Eclipse CDT4 - Ninja.rst create mode 100644 Help/generator/Eclipse CDT4 - Unix Makefiles.rst create mode 100644 Help/generator/KDevelop3 - Unix Makefiles.rst create mode 100644 Help/generator/KDevelop3.rst create mode 100644 Help/generator/Ninja.rst create mode 100644 Help/generator/Sublime Text 2 - Ninja.rst create mode 100644 Help/generator/Sublime Text 2 - Unix Makefiles.rst create mode 100644 Help/generator/Unix Makefiles.rst create mode 100644 Help/manual/ccmake.1.rst create mode 100644 Help/manual/cmake-commands.7.rst create mode 100644 Help/manual/cmake-generators.7.rst create mode 100644 Help/manual/cmake-gui.1.rst create mode 100644 Help/manual/cmake-modules.7.rst create mode 100644 Help/manual/cmake-policies.7.rst create mode 100644 Help/manual/cmake-properties.7.rst create mode 100644 Help/manual/cmake-variables.7.rst create mode 100644 Help/manual/cmake.1.rst create mode 100644 Help/manual/cpack.1.rst create mode 100644 Help/manual/ctest.1.rst create mode 100644 Help/module/AddFileDependencies.rst create mode 100644 Help/module/BundleUtilities.rst create mode 100644 Help/module/CMakeAddFortranSubdirectory.rst create mode 100644 Help/module/CMakeBackwardCompatibilityCXX.rst create mode 100644 Help/module/CMakeDependentOption.rst create mode 100644 Help/module/CMakeDetermineVSServicePack.rst create mode 100644 Help/module/CMakeExpandImportedTargets.rst create mode 100644 Help/module/CMakeFindFrameworks.rst create mode 100644 Help/module/CMakeFindPackageMode.rst create mode 100644 Help/module/CMakeForceCompiler.rst create mode 100644 Help/module/CMakeGraphVizOptions.rst create mode 100644 Help/module/CMakePackageConfigHelpers.rst create mode 100644 Help/module/CMakeParseArguments.rst create mode 100644 Help/module/CMakePrintHelpers.rst create mode 100644 Help/module/CMakePrintSystemInformation.rst create mode 100644 Help/module/CMakePushCheckState.rst create mode 100644 Help/module/CMakeVerifyManifest.rst create mode 100644 Help/module/CPack.rst create mode 100644 Help/module/CPackBundle.rst create mode 100644 Help/module/CPackComponent.rst create mode 100644 Help/module/CPackCygwin.rst create mode 100644 Help/module/CPackDMG.rst create mode 100644 Help/module/CPackDeb.rst create mode 100644 Help/module/CPackNSIS.rst create mode 100644 Help/module/CPackPackageMaker.rst create mode 100644 Help/module/CPackRPM.rst create mode 100644 Help/module/CPackWIX.rst create mode 100644 Help/module/CTest.rst create mode 100644 Help/module/CTestScriptMode.rst create mode 100644 Help/module/CTestUseLaunchers.rst create mode 100644 Help/module/CheckCCompilerFlag.rst create mode 100644 Help/module/CheckCSourceCompiles.rst create mode 100644 Help/module/CheckCSourceRuns.rst create mode 100644 Help/module/CheckCXXCompilerFlag.rst create mode 100644 Help/module/CheckCXXSourceCompiles.rst create mode 100644 Help/module/CheckCXXSourceRuns.rst create mode 100644 Help/module/CheckCXXSymbolExists.rst create mode 100644 Help/module/CheckFortranFunctionExists.rst create mode 100644 Help/module/CheckFunctionExists.rst create mode 100644 Help/module/CheckIncludeFile.rst create mode 100644 Help/module/CheckIncludeFileCXX.rst create mode 100644 Help/module/CheckIncludeFiles.rst create mode 100644 Help/module/CheckLanguage.rst create mode 100644 Help/module/CheckLibraryExists.rst create mode 100644 Help/module/CheckPrototypeDefinition.rst create mode 100644 Help/module/CheckStructHasMember.rst create mode 100644 Help/module/CheckSymbolExists.rst create mode 100644 Help/module/CheckTypeSize.rst create mode 100644 Help/module/CheckVariableExists.rst create mode 100644 Help/module/Dart.rst create mode 100644 Help/module/DeployQt4.rst create mode 100644 Help/module/Documentation.rst create mode 100644 Help/module/ExternalData.rst create mode 100644 Help/module/ExternalProject.rst create mode 100644 Help/module/FeatureSummary.rst create mode 100644 Help/module/FindALSA.rst create mode 100644 Help/module/FindASPELL.rst create mode 100644 Help/module/FindAVIFile.rst create mode 100644 Help/module/FindArmadillo.rst create mode 100644 Help/module/FindBISON.rst create mode 100644 Help/module/FindBLAS.rst create mode 100644 Help/module/FindBZip2.rst create mode 100644 Help/module/FindBoost.rst create mode 100644 Help/module/FindBullet.rst create mode 100644 Help/module/FindCABLE.rst create mode 100644 Help/module/FindCUDA.rst create mode 100644 Help/module/FindCURL.rst create mode 100644 Help/module/FindCVS.rst create mode 100644 Help/module/FindCoin3D.rst create mode 100644 Help/module/FindCups.rst create mode 100644 Help/module/FindCurses.rst create mode 100644 Help/module/FindCxxTest.rst create mode 100644 Help/module/FindCygwin.rst create mode 100644 Help/module/FindDCMTK.rst create mode 100644 Help/module/FindDart.rst create mode 100644 Help/module/FindDevIL.rst create mode 100644 Help/module/FindDoxygen.rst create mode 100644 Help/module/FindEXPAT.rst create mode 100644 Help/module/FindFLEX.rst create mode 100644 Help/module/FindFLTK.rst create mode 100644 Help/module/FindFLTK2.rst create mode 100644 Help/module/FindFreetype.rst create mode 100644 Help/module/FindGCCXML.rst create mode 100644 Help/module/FindGDAL.rst create mode 100644 Help/module/FindGIF.rst create mode 100644 Help/module/FindGLEW.rst create mode 100644 Help/module/FindGLUT.rst create mode 100644 Help/module/FindGTK.rst create mode 100644 Help/module/FindGTK2.rst create mode 100644 Help/module/FindGTest.rst create mode 100644 Help/module/FindGettext.rst create mode 100644 Help/module/FindGit.rst create mode 100644 Help/module/FindGnuTLS.rst create mode 100644 Help/module/FindGnuplot.rst create mode 100644 Help/module/FindHDF5.rst create mode 100644 Help/module/FindHSPELL.rst create mode 100644 Help/module/FindHTMLHelp.rst create mode 100644 Help/module/FindHg.rst create mode 100644 Help/module/FindITK.rst create mode 100644 Help/module/FindIcotool.rst create mode 100644 Help/module/FindImageMagick.rst create mode 100644 Help/module/FindJNI.rst create mode 100644 Help/module/FindJPEG.rst create mode 100644 Help/module/FindJasper.rst create mode 100644 Help/module/FindJava.rst create mode 100644 Help/module/FindKDE3.rst create mode 100644 Help/module/FindKDE4.rst create mode 100644 Help/module/FindLAPACK.rst create mode 100644 Help/module/FindLATEX.rst create mode 100644 Help/module/FindLibArchive.rst create mode 100644 Help/module/FindLibLZMA.rst create mode 100644 Help/module/FindLibXml2.rst create mode 100644 Help/module/FindLibXslt.rst create mode 100644 Help/module/FindLua.rst create mode 100644 Help/module/FindLua50.rst create mode 100644 Help/module/FindLua51.rst create mode 100644 Help/module/FindMFC.rst create mode 100644 Help/module/FindMPEG.rst create mode 100644 Help/module/FindMPEG2.rst create mode 100644 Help/module/FindMPI.rst create mode 100644 Help/module/FindMatlab.rst create mode 100644 Help/module/FindMotif.rst create mode 100644 Help/module/FindOpenAL.rst create mode 100644 Help/module/FindOpenGL.rst create mode 100644 Help/module/FindOpenMP.rst create mode 100644 Help/module/FindOpenSSL.rst create mode 100644 Help/module/FindOpenSceneGraph.rst create mode 100644 Help/module/FindOpenThreads.rst create mode 100644 Help/module/FindPHP4.rst create mode 100644 Help/module/FindPNG.rst create mode 100644 Help/module/FindPackageHandleStandardArgs.rst create mode 100644 Help/module/FindPackageMessage.rst create mode 100644 Help/module/FindPerl.rst create mode 100644 Help/module/FindPerlLibs.rst create mode 100644 Help/module/FindPhysFS.rst create mode 100644 Help/module/FindPike.rst create mode 100644 Help/module/FindPkgConfig.rst create mode 100644 Help/module/FindPostgreSQL.rst create mode 100644 Help/module/FindProducer.rst create mode 100644 Help/module/FindProtobuf.rst create mode 100644 Help/module/FindPythonInterp.rst create mode 100644 Help/module/FindPythonLibs.rst create mode 100644 Help/module/FindQt.rst create mode 100644 Help/module/FindQt3.rst create mode 100644 Help/module/FindQt4.rst create mode 100644 Help/module/FindQuickTime.rst create mode 100644 Help/module/FindRTI.rst create mode 100644 Help/module/FindRuby.rst create mode 100644 Help/module/FindSDL.rst create mode 100644 Help/module/FindSDL_image.rst create mode 100644 Help/module/FindSDL_mixer.rst create mode 100644 Help/module/FindSDL_net.rst create mode 100644 Help/module/FindSDL_sound.rst create mode 100644 Help/module/FindSDL_ttf.rst create mode 100644 Help/module/FindSWIG.rst create mode 100644 Help/module/FindSelfPackers.rst create mode 100644 Help/module/FindSquish.rst create mode 100644 Help/module/FindSubversion.rst create mode 100644 Help/module/FindTCL.rst create mode 100644 Help/module/FindTIFF.rst create mode 100644 Help/module/FindTclStub.rst create mode 100644 Help/module/FindTclsh.rst create mode 100644 Help/module/FindThreads.rst create mode 100644 Help/module/FindUnixCommands.rst create mode 100644 Help/module/FindVTK.rst create mode 100644 Help/module/FindWget.rst create mode 100644 Help/module/FindWish.rst create mode 100644 Help/module/FindX11.rst create mode 100644 Help/module/FindXMLRPC.rst create mode 100644 Help/module/FindZLIB.rst create mode 100644 Help/module/Findosg.rst create mode 100644 Help/module/FindosgAnimation.rst create mode 100644 Help/module/FindosgDB.rst create mode 100644 Help/module/FindosgFX.rst create mode 100644 Help/module/FindosgGA.rst create mode 100644 Help/module/FindosgIntrospection.rst create mode 100644 Help/module/FindosgManipulator.rst create mode 100644 Help/module/FindosgParticle.rst create mode 100644 Help/module/FindosgPresentation.rst create mode 100644 Help/module/FindosgProducer.rst create mode 100644 Help/module/FindosgQt.rst create mode 100644 Help/module/FindosgShadow.rst create mode 100644 Help/module/FindosgSim.rst create mode 100644 Help/module/FindosgTerrain.rst create mode 100644 Help/module/FindosgText.rst create mode 100644 Help/module/FindosgUtil.rst create mode 100644 Help/module/FindosgViewer.rst create mode 100644 Help/module/FindosgVolume.rst create mode 100644 Help/module/FindosgWidget.rst create mode 100644 Help/module/Findosg_functions.rst create mode 100644 Help/module/FindwxWidgets.rst create mode 100644 Help/module/FindwxWindows.rst create mode 100644 Help/module/FortranCInterface.rst create mode 100644 Help/module/GNUInstallDirs.rst create mode 100644 Help/module/GenerateExportHeader.rst create mode 100644 Help/module/GetPrerequisites.rst create mode 100644 Help/module/InstallRequiredSystemLibraries.rst create mode 100644 Help/module/MacroAddFileDependencies.rst create mode 100644 Help/module/ProcessorCount.rst create mode 100644 Help/module/Qt4ConfigDependentSettings.rst create mode 100644 Help/module/Qt4Macros.rst create mode 100644 Help/module/SelectLibraryConfigurations.rst create mode 100644 Help/module/SquishTestScript.rst create mode 100644 Help/module/TestBigEndian.rst create mode 100644 Help/module/TestCXXAcceptsFlag.rst create mode 100644 Help/module/TestForANSIForScope.rst create mode 100644 Help/module/TestForANSIStreamHeaders.rst create mode 100644 Help/module/TestForSSTREAM.rst create mode 100644 Help/module/TestForSTDNamespace.rst create mode 100644 Help/module/UseEcos.rst create mode 100644 Help/module/UseJava.rst create mode 100644 Help/module/UseJavaClassFilelist.rst create mode 100644 Help/module/UseJavaSymlinks.rst create mode 100644 Help/module/UsePkgConfig.rst create mode 100644 Help/module/UseQt4.rst create mode 100644 Help/module/UseSWIG.rst create mode 100644 Help/module/Use_wxWindows.rst create mode 100644 Help/module/UsewxWidgets.rst create mode 100644 Help/module/WriteBasicConfigVersionFile.rst create mode 100644 Help/policy/CMP0000.rst create mode 100644 Help/policy/CMP0001.rst create mode 100644 Help/policy/CMP0002.rst create mode 100644 Help/policy/CMP0003.rst create mode 100644 Help/policy/CMP0004.rst create mode 100644 Help/policy/CMP0005.rst create mode 100644 Help/policy/CMP0006.rst create mode 100644 Help/policy/CMP0007.rst create mode 100644 Help/policy/CMP0008.rst create mode 100644 Help/policy/CMP0009.rst create mode 100644 Help/policy/CMP0010.rst create mode 100644 Help/policy/CMP0011.rst create mode 100644 Help/policy/CMP0012.rst create mode 100644 Help/policy/CMP0013.rst create mode 100644 Help/policy/CMP0014.rst create mode 100644 Help/policy/CMP0015.rst create mode 100644 Help/policy/CMP0016.rst create mode 100644 Help/policy/CMP0017.rst create mode 100644 Help/policy/CMP0018.rst create mode 100644 Help/policy/CMP0019.rst create mode 100644 Help/policy/CMP0020.rst create mode 100644 Help/policy/CMP0021.rst create mode 100644 Help/policy/CMP0022.rst create mode 100644 Help/policy/CMP0023.rst create mode 100644 Help/policy/CMP0024.rst create mode 100644 Help/policy/CMP0025.rst create mode 100644 Help/policy/CMP0026.rst create mode 100644 Help/prop_cache/ADVANCED.rst create mode 100644 Help/prop_cache/HELPSTRING.rst create mode 100644 Help/prop_cache/MODIFIED.rst create mode 100644 Help/prop_cache/STRINGS.rst create mode 100644 Help/prop_cache/TYPE.rst create mode 100644 Help/prop_cache/VALUE.rst create mode 100644 Help/prop_dir/ADDITIONAL_MAKE_CLEAN_FILES.rst create mode 100644 Help/prop_dir/CACHE_VARIABLES.rst create mode 100644 Help/prop_dir/CLEAN_NO_CUSTOM.rst create mode 100644 Help/prop_dir/COMPILE_DEFINITIONS.rst create mode 100644 Help/prop_dir/COMPILE_DEFINITIONS_CONFIG.rst create mode 100644 Help/prop_dir/COMPILE_OPTIONS.rst create mode 100644 Help/prop_dir/DEFINITIONS.rst create mode 100644 Help/prop_dir/EXCLUDE_FROM_ALL.rst create mode 100644 Help/prop_dir/IMPLICIT_DEPENDS_INCLUDE_TRANSFORM.rst create mode 100644 Help/prop_dir/INCLUDE_DIRECTORIES.rst create mode 100644 Help/prop_dir/INCLUDE_REGULAR_EXPRESSION.rst create mode 100644 Help/prop_dir/INTERPROCEDURAL_OPTIMIZATION.rst create mode 100644 Help/prop_dir/INTERPROCEDURAL_OPTIMIZATION_CONFIG.rst create mode 100644 Help/prop_dir/LINK_DIRECTORIES.rst create mode 100644 Help/prop_dir/LISTFILE_STACK.rst create mode 100644 Help/prop_dir/MACROS.rst create mode 100644 Help/prop_dir/PARENT_DIRECTORY.rst create mode 100644 Help/prop_dir/RULE_LAUNCH_COMPILE.rst create mode 100644 Help/prop_dir/RULE_LAUNCH_CUSTOM.rst create mode 100644 Help/prop_dir/RULE_LAUNCH_LINK.rst create mode 100644 Help/prop_dir/TEST_INCLUDE_FILE.rst create mode 100644 Help/prop_dir/VARIABLES.rst create mode 100644 Help/prop_dir/VS_GLOBAL_SECTION_POST_section.rst create mode 100644 Help/prop_dir/VS_GLOBAL_SECTION_PRE_section.rst create mode 100644 Help/prop_gbl/ALLOW_DUPLICATE_CUSTOM_TARGETS.rst create mode 100644 Help/prop_gbl/AUTOMOC_TARGETS_FOLDER.rst create mode 100644 Help/prop_gbl/DEBUG_CONFIGURATIONS.rst create mode 100644 Help/prop_gbl/DISABLED_FEATURES.rst create mode 100644 Help/prop_gbl/ENABLED_FEATURES.rst create mode 100644 Help/prop_gbl/ENABLED_LANGUAGES.rst create mode 100644 Help/prop_gbl/FIND_LIBRARY_USE_LIB64_PATHS.rst create mode 100644 Help/prop_gbl/FIND_LIBRARY_USE_OPENBSD_VERSIONING.rst create mode 100644 Help/prop_gbl/GLOBAL_DEPENDS_DEBUG_MODE.rst create mode 100644 Help/prop_gbl/GLOBAL_DEPENDS_NO_CYCLES.rst create mode 100644 Help/prop_gbl/IN_TRY_COMPILE.rst create mode 100644 Help/prop_gbl/PACKAGES_FOUND.rst create mode 100644 Help/prop_gbl/PACKAGES_NOT_FOUND.rst create mode 100644 Help/prop_gbl/PREDEFINED_TARGETS_FOLDER.rst create mode 100644 Help/prop_gbl/REPORT_UNDEFINED_PROPERTIES.rst create mode 100644 Help/prop_gbl/RULE_LAUNCH_COMPILE.rst create mode 100644 Help/prop_gbl/RULE_LAUNCH_CUSTOM.rst create mode 100644 Help/prop_gbl/RULE_LAUNCH_LINK.rst create mode 100644 Help/prop_gbl/RULE_MESSAGES.rst create mode 100644 Help/prop_gbl/TARGET_ARCHIVES_MAY_BE_SHARED_LIBS.rst create mode 100644 Help/prop_gbl/TARGET_SUPPORTS_SHARED_LIBS.rst create mode 100644 Help/prop_gbl/USE_FOLDERS.rst create mode 100644 Help/prop_sf/ABSTRACT.rst create mode 100644 Help/prop_sf/COMPILE_DEFINITIONS.rst create mode 100644 Help/prop_sf/COMPILE_DEFINITIONS_CONFIG.rst create mode 100644 Help/prop_sf/COMPILE_FLAGS.rst create mode 100644 Help/prop_sf/EXTERNAL_OBJECT.rst create mode 100644 Help/prop_sf/Fortran_FORMAT.rst create mode 100644 Help/prop_sf/GENERATED.rst create mode 100644 Help/prop_sf/HEADER_FILE_ONLY.rst create mode 100644 Help/prop_sf/KEEP_EXTENSION.rst create mode 100644 Help/prop_sf/LABELS.rst create mode 100644 Help/prop_sf/LANGUAGE.rst create mode 100644 Help/prop_sf/LOCATION.rst create mode 100644 Help/prop_sf/MACOSX_PACKAGE_LOCATION.rst create mode 100644 Help/prop_sf/OBJECT_DEPENDS.rst create mode 100644 Help/prop_sf/OBJECT_OUTPUTS.rst create mode 100644 Help/prop_sf/SYMBOLIC.rst create mode 100644 Help/prop_sf/WRAP_EXCLUDE.rst create mode 100644 Help/prop_test/ATTACHED_FILES.rst create mode 100644 Help/prop_test/ATTACHED_FILES_ON_FAIL.rst create mode 100644 Help/prop_test/COST.rst create mode 100644 Help/prop_test/DEPENDS.rst create mode 100644 Help/prop_test/ENVIRONMENT.rst create mode 100644 Help/prop_test/FAIL_REGULAR_EXPRESSION.rst create mode 100644 Help/prop_test/LABELS.rst create mode 100644 Help/prop_test/MEASUREMENT.rst create mode 100644 Help/prop_test/PASS_REGULAR_EXPRESSION.rst create mode 100644 Help/prop_test/PROCESSORS.rst create mode 100644 Help/prop_test/REQUIRED_FILES.rst create mode 100644 Help/prop_test/RESOURCE_LOCK.rst create mode 100644 Help/prop_test/RUN_SERIAL.rst create mode 100644 Help/prop_test/TIMEOUT.rst create mode 100644 Help/prop_test/WILL_FAIL.rst create mode 100644 Help/prop_test/WORKING_DIRECTORY.rst create mode 100644 Help/prop_tgt/ALIASED_TARGET.rst create mode 100644 Help/prop_tgt/ARCHIVE_OUTPUT_DIRECTORY.rst create mode 100644 Help/prop_tgt/ARCHIVE_OUTPUT_DIRECTORY_CONFIG.rst create mode 100644 Help/prop_tgt/ARCHIVE_OUTPUT_NAME.rst create mode 100644 Help/prop_tgt/ARCHIVE_OUTPUT_NAME_CONFIG.rst create mode 100644 Help/prop_tgt/AUTOMOC.rst create mode 100644 Help/prop_tgt/AUTOMOC_MOC_OPTIONS.rst create mode 100644 Help/prop_tgt/BUILD_WITH_INSTALL_RPATH.rst create mode 100644 Help/prop_tgt/BUNDLE.rst create mode 100644 Help/prop_tgt/BUNDLE_EXTENSION.rst create mode 100644 Help/prop_tgt/COMPATIBLE_INTERFACE_BOOL.rst create mode 100644 Help/prop_tgt/COMPATIBLE_INTERFACE_STRING.rst create mode 100644 Help/prop_tgt/COMPILE_DEFINITIONS.rst create mode 100644 Help/prop_tgt/COMPILE_DEFINITIONS_CONFIG.rst create mode 100644 Help/prop_tgt/COMPILE_FLAGS.rst create mode 100644 Help/prop_tgt/COMPILE_OPTIONS.rst create mode 100644 Help/prop_tgt/CONFIG_OUTPUT_NAME.rst create mode 100644 Help/prop_tgt/CONFIG_POSTFIX.rst create mode 100644 Help/prop_tgt/DEBUG_POSTFIX.rst create mode 100644 Help/prop_tgt/DEFINE_SYMBOL.rst create mode 100644 Help/prop_tgt/ENABLE_EXPORTS.rst create mode 100644 Help/prop_tgt/EXCLUDE_FROM_ALL.rst create mode 100644 Help/prop_tgt/EXCLUDE_FROM_DEFAULT_BUILD.rst create mode 100644 Help/prop_tgt/EXCLUDE_FROM_DEFAULT_BUILD_CONFIG.rst create mode 100644 Help/prop_tgt/EXPORT_NAME.rst create mode 100644 Help/prop_tgt/EchoString.rst create mode 100644 Help/prop_tgt/FOLDER.rst create mode 100644 Help/prop_tgt/FRAMEWORK.rst create mode 100644 Help/prop_tgt/Fortran_FORMAT.rst create mode 100644 Help/prop_tgt/Fortran_MODULE_DIRECTORY.rst create mode 100644 Help/prop_tgt/GENERATOR_FILE_NAME.rst create mode 100644 Help/prop_tgt/GNUtoMS.rst create mode 100644 Help/prop_tgt/HAS_CXX.rst create mode 100644 Help/prop_tgt/IMPLICIT_DEPENDS_INCLUDE_TRANSFORM.rst create mode 100644 Help/prop_tgt/IMPORTED.rst create mode 100644 Help/prop_tgt/IMPORTED_CONFIGURATIONS.rst create mode 100644 Help/prop_tgt/IMPORTED_IMPLIB.rst create mode 100644 Help/prop_tgt/IMPORTED_IMPLIB_CONFIG.rst create mode 100644 Help/prop_tgt/IMPORTED_LINK_DEPENDENT_LIBRARIES.rst create mode 100644 Help/prop_tgt/IMPORTED_LINK_DEPENDENT_LIBRARIES_CONFIG.rst create mode 100644 Help/prop_tgt/IMPORTED_LINK_INTERFACE_LANGUAGES.rst create mode 100644 Help/prop_tgt/IMPORTED_LINK_INTERFACE_LANGUAGES_CONFIG.rst create mode 100644 Help/prop_tgt/IMPORTED_LINK_INTERFACE_LIBRARIES.rst create mode 100644 Help/prop_tgt/IMPORTED_LINK_INTERFACE_LIBRARIES_CONFIG.rst create mode 100644 Help/prop_tgt/IMPORTED_LINK_INTERFACE_MULTIPLICITY.rst create mode 100644 Help/prop_tgt/IMPORTED_LINK_INTERFACE_MULTIPLICITY_CONFIG.rst create mode 100644 Help/prop_tgt/IMPORTED_LOCATION.rst create mode 100644 Help/prop_tgt/IMPORTED_LOCATION_CONFIG.rst create mode 100644 Help/prop_tgt/IMPORTED_NO_SONAME.rst create mode 100644 Help/prop_tgt/IMPORTED_NO_SONAME_CONFIG.rst create mode 100644 Help/prop_tgt/IMPORTED_SONAME.rst create mode 100644 Help/prop_tgt/IMPORTED_SONAME_CONFIG.rst create mode 100644 Help/prop_tgt/IMPORT_PREFIX.rst create mode 100644 Help/prop_tgt/IMPORT_SUFFIX.rst create mode 100644 Help/prop_tgt/INCLUDE_DIRECTORIES.rst create mode 100644 Help/prop_tgt/INSTALL_NAME_DIR.rst create mode 100644 Help/prop_tgt/INSTALL_RPATH.rst create mode 100644 Help/prop_tgt/INSTALL_RPATH_USE_LINK_PATH.rst create mode 100644 Help/prop_tgt/INTERFACE_COMPILE_DEFINITIONS.rst create mode 100644 Help/prop_tgt/INTERFACE_COMPILE_OPTIONS.rst create mode 100644 Help/prop_tgt/INTERFACE_INCLUDE_DIRECTORIES.rst create mode 100644 Help/prop_tgt/INTERFACE_LINK_LIBRARIES.rst create mode 100644 Help/prop_tgt/INTERFACE_POSITION_INDEPENDENT_CODE.rst create mode 100644 Help/prop_tgt/INTERFACE_SYSTEM_INCLUDE_DIRECTORIES.rst create mode 100644 Help/prop_tgt/INTERPROCEDURAL_OPTIMIZATION.rst create mode 100644 Help/prop_tgt/INTERPROCEDURAL_OPTIMIZATION_CONFIG.rst create mode 100644 Help/prop_tgt/LABELS.rst create mode 100644 Help/prop_tgt/LANG_VISIBILITY_PRESET.rst create mode 100644 Help/prop_tgt/LIBRARY_OUTPUT_DIRECTORY.rst create mode 100644 Help/prop_tgt/LIBRARY_OUTPUT_DIRECTORY_CONFIG.rst create mode 100644 Help/prop_tgt/LIBRARY_OUTPUT_NAME.rst create mode 100644 Help/prop_tgt/LIBRARY_OUTPUT_NAME_CONFIG.rst create mode 100644 Help/prop_tgt/LINKER_LANGUAGE.rst create mode 100644 Help/prop_tgt/LINK_DEPENDS.rst create mode 100644 Help/prop_tgt/LINK_DEPENDS_NO_SHARED.rst create mode 100644 Help/prop_tgt/LINK_FLAGS.rst create mode 100644 Help/prop_tgt/LINK_FLAGS_CONFIG.rst create mode 100644 Help/prop_tgt/LINK_INTERFACE_LIBRARIES.rst create mode 100644 Help/prop_tgt/LINK_INTERFACE_LIBRARIES_CONFIG.rst create mode 100644 Help/prop_tgt/LINK_INTERFACE_MULTIPLICITY.rst create mode 100644 Help/prop_tgt/LINK_INTERFACE_MULTIPLICITY_CONFIG.rst create mode 100644 Help/prop_tgt/LINK_LIBRARIES.rst create mode 100644 Help/prop_tgt/LINK_SEARCH_END_STATIC.rst create mode 100644 Help/prop_tgt/LINK_SEARCH_START_STATIC.rst create mode 100644 Help/prop_tgt/LOCATION.rst create mode 100644 Help/prop_tgt/LOCATION_CONFIG.rst create mode 100644 Help/prop_tgt/MACOSX_BUNDLE.rst create mode 100644 Help/prop_tgt/MACOSX_BUNDLE_INFO_PLIST.rst create mode 100644 Help/prop_tgt/MACOSX_FRAMEWORK_INFO_PLIST.rst create mode 100644 Help/prop_tgt/MACOSX_RPATH.rst create mode 100644 Help/prop_tgt/MAP_IMPORTED_CONFIG_CONFIG.rst create mode 100644 Help/prop_tgt/NAME.rst create mode 100644 Help/prop_tgt/NO_SONAME.rst create mode 100644 Help/prop_tgt/NO_SYSTEM_FROM_IMPORTED.rst create mode 100644 Help/prop_tgt/OSX_ARCHITECTURES.rst create mode 100644 Help/prop_tgt/OSX_ARCHITECTURES_CONFIG.rst create mode 100644 Help/prop_tgt/OUTPUT_NAME.rst create mode 100644 Help/prop_tgt/OUTPUT_NAME_CONFIG.rst create mode 100644 Help/prop_tgt/PDB_NAME.rst create mode 100644 Help/prop_tgt/PDB_NAME_CONFIG.rst create mode 100644 Help/prop_tgt/PDB_OUTPUT_DIRECTORY.rst create mode 100644 Help/prop_tgt/PDB_OUTPUT_DIRECTORY_CONFIG.rst create mode 100644 Help/prop_tgt/POSITION_INDEPENDENT_CODE.rst create mode 100644 Help/prop_tgt/POST_INSTALL_SCRIPT.rst create mode 100644 Help/prop_tgt/PREFIX.rst create mode 100644 Help/prop_tgt/PRE_INSTALL_SCRIPT.rst create mode 100644 Help/prop_tgt/PRIVATE_HEADER.rst create mode 100644 Help/prop_tgt/PROJECT_LABEL.rst create mode 100644 Help/prop_tgt/PUBLIC_HEADER.rst create mode 100644 Help/prop_tgt/RESOURCE.rst create mode 100644 Help/prop_tgt/RULE_LAUNCH_COMPILE.rst create mode 100644 Help/prop_tgt/RULE_LAUNCH_CUSTOM.rst create mode 100644 Help/prop_tgt/RULE_LAUNCH_LINK.rst create mode 100644 Help/prop_tgt/RUNTIME_OUTPUT_DIRECTORY.rst create mode 100644 Help/prop_tgt/RUNTIME_OUTPUT_DIRECTORY_CONFIG.rst create mode 100644 Help/prop_tgt/RUNTIME_OUTPUT_NAME.rst create mode 100644 Help/prop_tgt/RUNTIME_OUTPUT_NAME_CONFIG.rst create mode 100644 Help/prop_tgt/SKIP_BUILD_RPATH.rst create mode 100644 Help/prop_tgt/SOURCES.rst create mode 100644 Help/prop_tgt/SOVERSION.rst create mode 100644 Help/prop_tgt/STATIC_LIBRARY_FLAGS.rst create mode 100644 Help/prop_tgt/STATIC_LIBRARY_FLAGS_CONFIG.rst create mode 100644 Help/prop_tgt/SUFFIX.rst create mode 100644 Help/prop_tgt/TYPE.rst create mode 100644 Help/prop_tgt/VERSION.rst create mode 100644 Help/prop_tgt/VISIBILITY_INLINES_HIDDEN.rst create mode 100644 Help/prop_tgt/VS_DOTNET_REFERENCES.rst create mode 100644 Help/prop_tgt/VS_DOTNET_TARGET_FRAMEWORK_VERSION.rst create mode 100644 Help/prop_tgt/VS_GLOBAL_KEYWORD.rst create mode 100644 Help/prop_tgt/VS_GLOBAL_PROJECT_TYPES.rst create mode 100644 Help/prop_tgt/VS_GLOBAL_ROOTNAMESPACE.rst create mode 100644 Help/prop_tgt/VS_GLOBAL_variable.rst create mode 100644 Help/prop_tgt/VS_KEYWORD.rst create mode 100644 Help/prop_tgt/VS_SCC_AUXPATH.rst create mode 100644 Help/prop_tgt/VS_SCC_LOCALPATH.rst create mode 100644 Help/prop_tgt/VS_SCC_PROJECTNAME.rst create mode 100644 Help/prop_tgt/VS_SCC_PROVIDER.rst create mode 100644 Help/prop_tgt/VS_WINRT_EXTENSIONS.rst create mode 100644 Help/prop_tgt/VS_WINRT_REFERENCES.rst create mode 100644 Help/prop_tgt/WIN32_EXECUTABLE.rst create mode 100644 Help/prop_tgt/XCODE_ATTRIBUTE_an-attribute.rst create mode 100644 Help/variable/APPLE.rst create mode 100644 Help/variable/BORLAND.rst create mode 100644 Help/variable/BUILD_SHARED_LIBS.rst create mode 100644 Help/variable/CMAKE_ABSOLUTE_DESTINATION_FILES.rst create mode 100644 Help/variable/CMAKE_AR.rst create mode 100644 Help/variable/CMAKE_ARCHIVE_OUTPUT_DIRECTORY.rst create mode 100644 Help/variable/CMAKE_ARGC.rst create mode 100644 Help/variable/CMAKE_ARGV0.rst create mode 100644 Help/variable/CMAKE_AUTOMOC.rst create mode 100644 Help/variable/CMAKE_AUTOMOC_MOC_OPTIONS.rst create mode 100644 Help/variable/CMAKE_AUTOMOC_RELAXED_MODE.rst create mode 100644 Help/variable/CMAKE_BACKWARDS_COMPATIBILITY.rst create mode 100644 Help/variable/CMAKE_BINARY_DIR.rst create mode 100644 Help/variable/CMAKE_BUILD_TOOL.rst create mode 100644 Help/variable/CMAKE_BUILD_TYPE.rst create mode 100644 Help/variable/CMAKE_BUILD_WITH_INSTALL_RPATH.rst create mode 100644 Help/variable/CMAKE_CACHEFILE_DIR.rst create mode 100644 Help/variable/CMAKE_CACHE_MAJOR_VERSION.rst create mode 100644 Help/variable/CMAKE_CACHE_MINOR_VERSION.rst create mode 100644 Help/variable/CMAKE_CACHE_PATCH_VERSION.rst create mode 100644 Help/variable/CMAKE_CFG_INTDIR.rst create mode 100644 Help/variable/CMAKE_CL_64.rst create mode 100644 Help/variable/CMAKE_COLOR_MAKEFILE.rst create mode 100644 Help/variable/CMAKE_COMMAND.rst create mode 100644 Help/variable/CMAKE_COMPILER_2005.rst create mode 100644 Help/variable/CMAKE_COMPILER_IS_GNULANG.rst create mode 100644 Help/variable/CMAKE_CONFIGURATION_TYPES.rst create mode 100644 Help/variable/CMAKE_CONFIG_POSTFIX.rst create mode 100644 Help/variable/CMAKE_CROSSCOMPILING.rst create mode 100644 Help/variable/CMAKE_CTEST_COMMAND.rst create mode 100644 Help/variable/CMAKE_CURRENT_BINARY_DIR.rst create mode 100644 Help/variable/CMAKE_CURRENT_LIST_DIR.rst create mode 100644 Help/variable/CMAKE_CURRENT_LIST_FILE.rst create mode 100644 Help/variable/CMAKE_CURRENT_LIST_LINE.rst create mode 100644 Help/variable/CMAKE_CURRENT_SOURCE_DIR.rst create mode 100644 Help/variable/CMAKE_DEBUG_POSTFIX.rst create mode 100644 Help/variable/CMAKE_DEBUG_TARGET_PROPERTIES.rst create mode 100644 Help/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.rst create mode 100644 Help/variable/CMAKE_DL_LIBS.rst create mode 100644 Help/variable/CMAKE_EDIT_COMMAND.rst create mode 100644 Help/variable/CMAKE_ERROR_DEPRECATED.rst create mode 100644 Help/variable/CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION.rst create mode 100644 Help/variable/CMAKE_EXECUTABLE_SUFFIX.rst create mode 100644 Help/variable/CMAKE_EXE_LINKER_FLAGS.rst create mode 100644 Help/variable/CMAKE_EXE_LINKER_FLAGS_CONFIG.rst create mode 100644 Help/variable/CMAKE_EXTRA_GENERATOR.rst create mode 100644 Help/variable/CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES.rst create mode 100644 Help/variable/CMAKE_FIND_LIBRARY_PREFIXES.rst create mode 100644 Help/variable/CMAKE_FIND_LIBRARY_SUFFIXES.rst create mode 100644 Help/variable/CMAKE_FIND_PACKAGE_WARN_NO_MODULE.rst create mode 100644 Help/variable/CMAKE_Fortran_FORMAT.rst create mode 100644 Help/variable/CMAKE_Fortran_MODDIR_DEFAULT.rst create mode 100644 Help/variable/CMAKE_Fortran_MODDIR_FLAG.rst create mode 100644 Help/variable/CMAKE_Fortran_MODOUT_FLAG.rst create mode 100644 Help/variable/CMAKE_Fortran_MODULE_DIRECTORY.rst create mode 100644 Help/variable/CMAKE_GENERATOR.rst create mode 100644 Help/variable/CMAKE_GENERATOR_TOOLSET.rst create mode 100644 Help/variable/CMAKE_GNUtoMS.rst create mode 100644 Help/variable/CMAKE_HOME_DIRECTORY.rst create mode 100644 Help/variable/CMAKE_HOST_APPLE.rst create mode 100644 Help/variable/CMAKE_HOST_SYSTEM.rst create mode 100644 Help/variable/CMAKE_HOST_SYSTEM_NAME.rst create mode 100644 Help/variable/CMAKE_HOST_SYSTEM_PROCESSOR.rst create mode 100644 Help/variable/CMAKE_HOST_SYSTEM_VERSION.rst create mode 100644 Help/variable/CMAKE_HOST_UNIX.rst create mode 100644 Help/variable/CMAKE_HOST_WIN32.rst create mode 100644 Help/variable/CMAKE_IGNORE_PATH.rst create mode 100644 Help/variable/CMAKE_IMPORT_LIBRARY_PREFIX.rst create mode 100644 Help/variable/CMAKE_IMPORT_LIBRARY_SUFFIX.rst create mode 100644 Help/variable/CMAKE_INCLUDE_CURRENT_DIR.rst create mode 100644 Help/variable/CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE.rst create mode 100644 Help/variable/CMAKE_INCLUDE_PATH.rst create mode 100644 Help/variable/CMAKE_INSTALL_DEFAULT_COMPONENT_NAME.rst create mode 100644 Help/variable/CMAKE_INSTALL_NAME_DIR.rst create mode 100644 Help/variable/CMAKE_INSTALL_PREFIX.rst create mode 100644 Help/variable/CMAKE_INSTALL_RPATH.rst create mode 100644 Help/variable/CMAKE_INSTALL_RPATH_USE_LINK_PATH.rst create mode 100644 Help/variable/CMAKE_INTERNAL_PLATFORM_ABI.rst create mode 100644 Help/variable/CMAKE_LANG_ARCHIVE_APPEND.rst create mode 100644 Help/variable/CMAKE_LANG_ARCHIVE_CREATE.rst create mode 100644 Help/variable/CMAKE_LANG_ARCHIVE_FINISH.rst create mode 100644 Help/variable/CMAKE_LANG_COMPILER.rst create mode 100644 Help/variable/CMAKE_LANG_COMPILER_ABI.rst create mode 100644 Help/variable/CMAKE_LANG_COMPILER_ID.rst create mode 100644 Help/variable/CMAKE_LANG_COMPILER_LOADED.rst create mode 100644 Help/variable/CMAKE_LANG_COMPILER_VERSION.rst create mode 100644 Help/variable/CMAKE_LANG_COMPILE_OBJECT.rst create mode 100644 Help/variable/CMAKE_LANG_CREATE_SHARED_LIBRARY.rst create mode 100644 Help/variable/CMAKE_LANG_CREATE_SHARED_MODULE.rst create mode 100644 Help/variable/CMAKE_LANG_CREATE_STATIC_LIBRARY.rst create mode 100644 Help/variable/CMAKE_LANG_FLAGS.rst create mode 100644 Help/variable/CMAKE_LANG_FLAGS_DEBUG.rst create mode 100644 Help/variable/CMAKE_LANG_FLAGS_MINSIZEREL.rst create mode 100644 Help/variable/CMAKE_LANG_FLAGS_RELEASE.rst create mode 100644 Help/variable/CMAKE_LANG_FLAGS_RELWITHDEBINFO.rst create mode 100644 Help/variable/CMAKE_LANG_IGNORE_EXTENSIONS.rst create mode 100644 Help/variable/CMAKE_LANG_IMPLICIT_INCLUDE_DIRECTORIES.rst create mode 100644 Help/variable/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES.rst create mode 100644 Help/variable/CMAKE_LANG_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES.rst create mode 100644 Help/variable/CMAKE_LANG_IMPLICIT_LINK_LIBRARIES.rst create mode 100644 Help/variable/CMAKE_LANG_LIBRARY_ARCHITECTURE.rst create mode 100644 Help/variable/CMAKE_LANG_LINKER_PREFERENCE.rst create mode 100644 Help/variable/CMAKE_LANG_LINKER_PREFERENCE_PROPAGATES.rst create mode 100644 Help/variable/CMAKE_LANG_LINK_EXECUTABLE.rst create mode 100644 Help/variable/CMAKE_LANG_OUTPUT_EXTENSION.rst create mode 100644 Help/variable/CMAKE_LANG_PLATFORM_ID.rst create mode 100644 Help/variable/CMAKE_LANG_SIMULATE_ID.rst create mode 100644 Help/variable/CMAKE_LANG_SIMULATE_VERSION.rst create mode 100644 Help/variable/CMAKE_LANG_SIZEOF_DATA_PTR.rst create mode 100644 Help/variable/CMAKE_LANG_SOURCE_FILE_EXTENSIONS.rst create mode 100644 Help/variable/CMAKE_LANG_VISIBILITY_PRESET.rst create mode 100644 Help/variable/CMAKE_LIBRARY_ARCHITECTURE.rst create mode 100644 Help/variable/CMAKE_LIBRARY_ARCHITECTURE_REGEX.rst create mode 100644 Help/variable/CMAKE_LIBRARY_OUTPUT_DIRECTORY.rst create mode 100644 Help/variable/CMAKE_LIBRARY_PATH.rst create mode 100644 Help/variable/CMAKE_LIBRARY_PATH_FLAG.rst create mode 100644 Help/variable/CMAKE_LINK_DEF_FILE_FLAG.rst create mode 100644 Help/variable/CMAKE_LINK_DEPENDS_NO_SHARED.rst create mode 100644 Help/variable/CMAKE_LINK_INTERFACE_LIBRARIES.rst create mode 100644 Help/variable/CMAKE_LINK_LIBRARY_FILE_FLAG.rst create mode 100644 Help/variable/CMAKE_LINK_LIBRARY_FLAG.rst create mode 100644 Help/variable/CMAKE_LINK_LIBRARY_SUFFIX.rst create mode 100644 Help/variable/CMAKE_MACOSX_BUNDLE.rst create mode 100644 Help/variable/CMAKE_MAJOR_VERSION.rst create mode 100644 Help/variable/CMAKE_MAKE_PROGRAM.rst create mode 100644 Help/variable/CMAKE_MAP_IMPORTED_CONFIG_CONFIG.rst create mode 100644 Help/variable/CMAKE_MFC_FLAG.rst create mode 100644 Help/variable/CMAKE_MINIMUM_REQUIRED_VERSION.rst create mode 100644 Help/variable/CMAKE_MINOR_VERSION.rst create mode 100644 Help/variable/CMAKE_MODULE_LINKER_FLAGS.rst create mode 100644 Help/variable/CMAKE_MODULE_LINKER_FLAGS_CONFIG.rst create mode 100644 Help/variable/CMAKE_MODULE_PATH.rst create mode 100644 Help/variable/CMAKE_NOT_USING_CONFIG_FLAGS.rst create mode 100644 Help/variable/CMAKE_NO_BUILTIN_CHRPATH.rst create mode 100644 Help/variable/CMAKE_NO_SYSTEM_FROM_IMPORTED.rst create mode 100644 Help/variable/CMAKE_OBJECT_PATH_MAX.rst create mode 100644 Help/variable/CMAKE_PARENT_LIST_FILE.rst create mode 100644 Help/variable/CMAKE_PATCH_VERSION.rst create mode 100644 Help/variable/CMAKE_PDB_OUTPUT_DIRECTORY.rst create mode 100644 Help/variable/CMAKE_POLICY_DEFAULT_CMPNNNN.rst create mode 100644 Help/variable/CMAKE_POSITION_INDEPENDENT_CODE.rst create mode 100644 Help/variable/CMAKE_PREFIX_PATH.rst create mode 100644 Help/variable/CMAKE_PROGRAM_PATH.rst create mode 100644 Help/variable/CMAKE_PROJECT_NAME.rst create mode 100644 Help/variable/CMAKE_RANLIB.rst create mode 100644 Help/variable/CMAKE_ROOT.rst create mode 100644 Help/variable/CMAKE_RUNTIME_OUTPUT_DIRECTORY.rst create mode 100644 Help/variable/CMAKE_SCRIPT_MODE_FILE.rst create mode 100644 Help/variable/CMAKE_SHARED_LIBRARY_PREFIX.rst create mode 100644 Help/variable/CMAKE_SHARED_LIBRARY_SUFFIX.rst create mode 100644 Help/variable/CMAKE_SHARED_LINKER_FLAGS.rst create mode 100644 Help/variable/CMAKE_SHARED_LINKER_FLAGS_CONFIG.rst create mode 100644 Help/variable/CMAKE_SHARED_MODULE_PREFIX.rst create mode 100644 Help/variable/CMAKE_SHARED_MODULE_SUFFIX.rst create mode 100644 Help/variable/CMAKE_SIZEOF_VOID_P.rst create mode 100644 Help/variable/CMAKE_SKIP_BUILD_RPATH.rst create mode 100644 Help/variable/CMAKE_SKIP_INSTALL_ALL_DEPENDENCY.rst create mode 100644 Help/variable/CMAKE_SKIP_INSTALL_RPATH.rst create mode 100644 Help/variable/CMAKE_SKIP_RPATH.rst create mode 100644 Help/variable/CMAKE_SOURCE_DIR.rst create mode 100644 Help/variable/CMAKE_STANDARD_LIBRARIES.rst create mode 100644 Help/variable/CMAKE_STATIC_LIBRARY_PREFIX.rst create mode 100644 Help/variable/CMAKE_STATIC_LIBRARY_SUFFIX.rst create mode 100644 Help/variable/CMAKE_STATIC_LINKER_FLAGS.rst create mode 100644 Help/variable/CMAKE_STATIC_LINKER_FLAGS_CONFIG.rst create mode 100644 Help/variable/CMAKE_SYSTEM.rst create mode 100644 Help/variable/CMAKE_SYSTEM_IGNORE_PATH.rst create mode 100644 Help/variable/CMAKE_SYSTEM_INCLUDE_PATH.rst create mode 100644 Help/variable/CMAKE_SYSTEM_LIBRARY_PATH.rst create mode 100644 Help/variable/CMAKE_SYSTEM_NAME.rst create mode 100644 Help/variable/CMAKE_SYSTEM_PREFIX_PATH.rst create mode 100644 Help/variable/CMAKE_SYSTEM_PROCESSOR.rst create mode 100644 Help/variable/CMAKE_SYSTEM_PROGRAM_PATH.rst create mode 100644 Help/variable/CMAKE_SYSTEM_VERSION.rst create mode 100644 Help/variable/CMAKE_TRY_COMPILE_CONFIGURATION.rst create mode 100644 Help/variable/CMAKE_TWEAK_VERSION.rst create mode 100644 Help/variable/CMAKE_USER_MAKE_RULES_OVERRIDE.rst create mode 100644 Help/variable/CMAKE_USER_MAKE_RULES_OVERRIDE_LANG.rst create mode 100644 Help/variable/CMAKE_USE_RELATIVE_PATHS.rst create mode 100644 Help/variable/CMAKE_VERBOSE_MAKEFILE.rst create mode 100644 Help/variable/CMAKE_VERSION.rst create mode 100644 Help/variable/CMAKE_VISIBILITY_INLINES_HIDDEN.rst create mode 100644 Help/variable/CMAKE_VS_PLATFORM_TOOLSET.rst create mode 100644 Help/variable/CMAKE_WARN_DEPRECATED.rst create mode 100644 Help/variable/CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION.rst create mode 100644 Help/variable/CMAKE_WIN32_EXECUTABLE.rst create mode 100644 Help/variable/CMAKE_XCODE_PLATFORM_TOOLSET.rst create mode 100644 Help/variable/CPACK_ABSOLUTE_DESTINATION_FILES.rst create mode 100644 Help/variable/CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY.rst create mode 100644 Help/variable/CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION.rst create mode 100644 Help/variable/CPACK_INCLUDE_TOPLEVEL_DIRECTORY.rst create mode 100644 Help/variable/CPACK_INSTALL_SCRIPT.rst create mode 100644 Help/variable/CPACK_PACKAGING_INSTALL_PREFIX.rst create mode 100644 Help/variable/CPACK_SET_DESTDIR.rst create mode 100644 Help/variable/CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION.rst create mode 100644 Help/variable/CYGWIN.rst create mode 100644 Help/variable/ENV.rst create mode 100644 Help/variable/EXECUTABLE_OUTPUT_PATH.rst create mode 100644 Help/variable/LIBRARY_OUTPUT_PATH.rst create mode 100644 Help/variable/MSVC.rst create mode 100644 Help/variable/MSVC10.rst create mode 100644 Help/variable/MSVC11.rst create mode 100644 Help/variable/MSVC12.rst create mode 100644 Help/variable/MSVC60.rst create mode 100644 Help/variable/MSVC70.rst create mode 100644 Help/variable/MSVC71.rst create mode 100644 Help/variable/MSVC80.rst create mode 100644 Help/variable/MSVC90.rst create mode 100644 Help/variable/MSVC_IDE.rst create mode 100644 Help/variable/MSVC_VERSION.rst create mode 100644 Help/variable/PROJECT-NAME_BINARY_DIR.rst create mode 100644 Help/variable/PROJECT-NAME_SOURCE_DIR.rst create mode 100644 Help/variable/PROJECT_BINARY_DIR.rst create mode 100644 Help/variable/PROJECT_NAME.rst create mode 100644 Help/variable/PROJECT_SOURCE_DIR.rst create mode 100644 Help/variable/UNIX.rst create mode 100644 Help/variable/WIN32.rst create mode 100644 Help/variable/XCODE_VERSION.rst delete mode 100755 convert-help.bash diff --git a/Help/command/add_compile_options.rst b/Help/command/add_compile_options.rst new file mode 100644 index 0000000..f086e57 --- /dev/null +++ b/Help/command/add_compile_options.rst @@ -0,0 +1,89 @@ +add_compile_options +------------------- + +Adds options to the compilation of source files. + +:: + + add_compile_options(