summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* docbook: Remove redundant docs that cause invalid DocBookDaniel Pfeifer2012-09-081-7/+0
| | | | | | If a subsection with a title is added, all subsequent subsections need a title too. The "helpful links" just repeat preceding subsections anyway.
* docbook: Add CMake.DocBook test to validate xml (#13508)Daniel Pfeifer2012-09-081-6/+15
| | | | The DocBook DTD is provided in "Utilities/xml/docbook-4.5".
* docbook: Add support for <abstract> at section level 1Daniel Pfeifer2012-09-081-2/+24
| | | | | | If a section has subsections (ie. subelemens with a title), all elements before the first title are written inside an <abstract>. Also wrap <programlisting> in <para>, to allow preformatted output in abstracts.
* docbook: Cleanup formatter and generated DocBookDaniel Pfeifer2012-09-071-24/+24
| | | | | Comment and whitespace changes, changed docbook version to 4.5, changed <literallayout> to <programlisting> (the latter implies a fixed-size font).
* docbook: Fix the DocBook section outputDaniel Pfeifer2012-09-071-24/+15
| | | | | | | | | | The DocBook formatter used to generate something like: <para id="section"><sect2><title>Title</title></sect2>Some Text</para> Which was completely wrong. In DocBook, a section should look like this: <sect2 id="section"><title>Title</title><para>Some Text</para></sect2>
* docbook: Factor out code to write valid DocBook IDsDaniel Pfeifer2012-09-072-37/+36
| | | | | | | | | | | Attributes in XML may contain alphanumeric characters, underscores, colons and dots. When DocBook is chunked, the dot is often used as a path separator. To generate a valid ID, we take the title of the section, transform all non-alphanumeric characters to underscores and then add a prefix separated with dots. We also add the document name as a prefix, in order to 'xinclude' eg. cmake.docbook and ctest.docbook in the same document. IDs are written in multiple places, so the code is factored to a function.
* docbook: Remove table of contentsDaniel Pfeifer2012-09-071-18/+0
| | | | | | When DocBook is transformed (eg. to PDF, HTML, ...), a TOC is generated from the document's layout. The TOC-like list that the docbook formatter used to generate was both redundant and invalid.
* Utilities/xml: Add docbook-4.5 DTD (#13508)Brad King2012-09-0733-0/+14494
| | | | | | | | | | | | | Run the shell code below to put the DTD in Utilities/xml/docbook-4.5: v=4.5 && sha1=b9124233b50668fb508773aa2b3ebc631d7c1620 && mkdir Utilities/xml/docbook-$v && cd Utilities/xml/docbook-$v && wget -c http://www.oasis-open.org/docbook/xml/$v/docbook-xml-$v.zip && sha1sum docbook-xml-$v.zip |grep $sha1 && unzip docbook-xml-$v.zip && rm docbook-xml-$v.zip
* Utilities/xml: Add .gitattributes to disable whitespace checksBrad King2012-09-071-0/+1
| | | | | This directory holds upstream DTD files. We do not want to modify them, so tell Git to skip whitespace enforcement.
* Simplify CMake.HTML documentation test command lineDaniel Pfeifer2012-09-075-8/+8
| | | | | | Drop the "cmake -E chdir" wrapper and instead pass the DTD directory to xmllint's --path option using url encoding. While at it, move the XHTML1 DTD to "Utilities/xml/xhtml1" to make room for additional DTDs.
* CMake Nightly Date StampKitware Robot2012-09-051-1/+1
|
* Merge topic 'magrathea-release-DT_RUNPATH'David Cole2012-09-041-0/+2
|\ | | | | | | | | c0f89e9 magrathea: Tell cmELF about DT_RUNPATH (#13497)
| * magrathea: Tell cmELF about DT_RUNPATH (#13497)Brad King2012-09-031-0/+2
| | | | | | | | | | | | | | Our Linux release machine 'magrathea' has a very old Linux to help build portable binaries. It is so old that <elf.h> does not define the DT_RUNPATH constant. Define the correct value in the build flags to activate handling of ELF RUNPATH entries in the binary release.
* | Merge topic 'doc-add_library-PIC'David Cole2012-09-042-2/+4
|\ \ | | | | | | | | | | | | 4eaea3c add_library: Document POSITION_INDEPENDENT_CODE default (#13479)
| * | add_library: Document POSITION_INDEPENDENT_CODE default (#13479)Brad King2012-08-312-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The POSITION_INDEPENDENT_CODE property documentation states that its default value depends on whether SHARED or MODULE is given to the add_library call. Since these are options to the add_library command we should document on the command how they affect the property. While at it, add a missing space to the POSITION_INDEPENDENT_CODE property documentation.
* | | Merge topic 'flex-version-apple'David Cole2012-09-041-1/+1
|\ \ \ | | | | | | | | | | | | | | | | af06482 FindFLEX: fix version extraction on Apple
| * | | FindFLEX: fix version extraction on AppleRolf Eike Beer2012-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | The space in 'flex 2.5.35 Apple(flex-31)' caused the version extraction to fail. Ignore everything after the first space following the version number.
* | | | Merge topic 'Qt4Macros-fix-resource-parsing'David Cole2012-09-041-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 42bfc5a Read entire Qt4 qrc file when parsing for depends info.
| * | | | Read entire Qt4 qrc file when parsing for depends info.Stephen Kelly2012-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | The qrc file is an xml file, not line based, so the entire 'interesting' content to parse is not necessarily found by STRINGS and a regexp.
* | | | | CMake Nightly Date StampKitware Robot2012-09-041-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2012-09-031-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2012-09-021-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2012-09-011-1/+1
| |_|/ / |/| | |
* | | | Merge topic 'msvc-compiler-info'Brad King2012-08-312-2/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 16fa7b7 VS: Fix MSVC_IDE definition recently broken by refactoring
| * | | | VS: Fix MSVC_IDE definition recently broken by refactoringBrad King2012-08-302-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 485a940e (VS: Simplify MSVC version reporting, 2012-08-23) we accidentally flipped the 0/1 values of MSVC_IDE. Flip them back and teach the CheckCompilerRelatedVariables test to check the variable.
* | | | | CMake Nightly Date StampKitware Robot2012-08-311-1/+1
| | | | |
* | | | | Merge topic 'fix-Qt-casing'Brad King2012-08-309-27/+27
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 3252149 Fix casing of 'Qt' in docs, comments and user-visible strings.
| * | | | | Fix casing of 'Qt' in docs, comments and user-visible strings.Stephen Kelly2012-08-289-27/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QT (cue-tea) is Apple QuickTime. Qt (cute) is the C++ framework.
* | | | | | Merge topic 'AutomocRerunFix'Brad King2012-08-302-6/+28
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | b001b6e fix #13494: rerun automoc also if include dirs or moc options change
| * | | | | | fix #13494: rerun automoc also if include dirs or moc options changeAlex Neundorf2012-08-272-6/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until now it was only rerun if the compile definitions changed, but of course it also has to rerun if the include dirs or moc options change. Strange that I didn't notice this before... Alex
* | | | | | | Merge topic 'mingw-unix-generator'Brad King2012-08-301-0/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be9afbf Find mingw's windres also when Unix Makefiles are used
| * | | | | | | Find mingw's windres also when Unix Makefiles are usedPeter Kümmel2012-08-271-0/+4
| | |/ / / / / | |/| | | | |
* | | | | | | Merge topic 'cmcldeps-icl'Brad King2012-08-301-7/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0af27f1 Ninja: also detect /showInclude prefix for icl
| * | | | | | | Ninja: also detect /showInclude prefix for iclPeter Kümmel2012-08-271-7/+4
| |/ / / / / /
* | | | | | | Merge topic 'qt4-windows8'Brad King2012-08-301-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | caa9151 Fix errors detecting Qt4 on Windows 8.
| * | | | | | | Fix errors detecting Qt4 on Windows 8.Clinton Stimpson2012-08-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks to Petr Baloun for the patch.
* | | | | | | | Merge topic 'ErrorIfCTEST_USE_LAUNCHERSSetButLauncherRuleNotSet'Brad King2012-08-301-0/+11
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 95e502e error out if CTEST_USE_LAUNCHERS is TRUE but RULE_LAUNCH_* are not set
| * | | | | | | | error out if CTEST_USE_LAUNCHERS is TRUE but RULE_LAUNCH_* are not setAlex Neundorf2012-08-201-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise, CTEST_USE_LAUNCHERS can be set to true in a driving ctest script, and everything looks like it would work and reports 0 build errors, but actually there can be any amount of errors and they are just not reported. By adding this check cmake now errors out if CTEST_USE_LAUNCHERS is enabled, but the RULE properties are not set, which would lead to a not-working ctest run. Alex
* | | | | | | | | Merge topic 'msvc-compiler-info'Brad King2012-08-3020-364/+209
|\ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32b7c72 Merge branch 'cmake-platform-info-version' into msvc-compiler-info f3ddfef Modernize MSVC compiler information files 485a940 VS: Simplify MSVC version reporting 32db033 VS: Remove support for "free" version 2003 tools
| * | | | | | | | Merge branch 'cmake-platform-info-version' into msvc-compiler-infoBrad King2012-08-3022-98/+127
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Modules/CMakeTestCCompiler.cmake Modules/CMakeTestCXXCompiler.cmake Modules/Platform/Windows-cl.cmake
| * | | | | | | | | Modernize MSVC compiler information filesBrad King2012-08-304-99/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the old-style "Windows-cl.cmake" and its helper "cl.cmake". Load the information through new-style "Platform/Windows-MSVC-<lang>.cmake" files. Factor information common to C and CXX into a helper file "Platform/Windows-MSVC.cmake" loaded from the per-language files.
| * | | | | | | | | VS: Simplify MSVC version reportingBrad King2012-08-3014-124/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach Windows-cl.cmake to use CMAKE_(C|CXX)_COMPILER_VERSION to set the "MSVC##" and MSVC_VERSION variables. It no longer needs the IDE generator to dictate the version or to detect the version by running the command-line tool for NMake and Ninja generators. Drop configuration of CMakeCPlatform.cmake and CMakeCXXPlatform.cmake from Windows-cl.cmake.in because all the results it saved are now cheap to compute every time.
| * | | | | | | | | VS: Remove support for "free" version 2003 toolsBrad King2012-08-234-66/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several more recent Visual Studio Express editions are now available and they support debug builds. Simplify our VS platform files by removing support for these old tools. If anyone still uses them we can restore support with a more modern way to test for them.
* | | | | | | | | | Merge topic 'cmake-platform-info-version'Brad King2012-08-3023-111/+147
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e5fee8a Store ABI detection results in compiler information files 3df81b4 Move CMAKE_<LANG>_COMPILER_WORKS to compiler information files 7195aca Make platform information files specific to the CMake version
| * | | | | | | | | Store ABI detection results in compiler information filesBrad King2012-08-244-3/+10
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop use of cache entry CMAKE_DETERMINE_<LANG>_ABI_COMPILED and replace it with variable CMAKE_<LANG>_ABI_COMPILED. Since the grandparent commit this test result is specific to the version of CMake. Store it in the version-specific compiler information files instead of CMakeCache.txt so testing can be re-done to meet the requirements of the current version of CMake even if another version of CMake was already used to configure the build tree.
| * | | | | | | | Move CMAKE_<LANG>_COMPILER_WORKS to compiler information filesBrad King2012-08-247-72/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the parent commit this test result is specific to the version of CMake. Store it in the version-specific compiler information files instead of CMakeCache.txt so testing can be re-done to meet the requirements of the current version of CMake even if another version of CMake was already used to configure the build tree.
| * | | | | | | | Make platform information files specific to the CMake versionBrad King2012-08-2419-42/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At the top of a build tree we configure inside the CMakeFiles directory files such as "CMakeSystem.cmake" and "CMake<lang>Compiler.cmake" to save information detected about the system and compilers in use. The method of detection and the exact results store varies across CMake versions as things improve. This leads to problems when loading files configured by a different version of CMake. Previously we ignored such existing files only if the major.minor part of the CMake version component changed, and depended on the CMakeCache.txt to tell us the last version of CMake that wrote the files. This led to problems if the user deletes the CMakeCache.txt or we add required information to the files in a patch-level release of CMake (still a "feature point" release by modern CMake versioning convention). Ensure that we always have version-consistent platform information files by storing them in a subdirectory named with the CMake version. Every version of CMake will do its own system and compiler identification checks even when a build tree has already been configured by another version of CMake. Stored results will not clobber those from other versions of CMake which may be run again on the same tree in the future. Loaded results will match what the system and language modules expect. Rename the undocumented variable CMAKE_PLATFORM_ROOT_BIN to CMAKE_PLATFORM_INFO_DIR to clarify its purpose. The new variable points at the version-specific directory while the old variable did not.
* | | | | | | | | CMake Nightly Date StampKitware Robot2012-08-301-1/+1
| | | | | | | | |
* | | | | | | | | CMake Nightly Date StampKitware Robot2012-08-291-1/+1
| | | | | | | | |
* | | | | | | | | CMake Nightly Date StampKitware Robot2012-08-281-1/+1
| |_|_|_|/ / / / |/| | | | | | |