summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* cmGeneratorExpression: Port users to two-stage processingStephen Kelly2012-09-185-56/+95
| | | | | | | | | | Removing the Process() API and removing the parameters from the constructor will allow cmGeneratorExpressions to be cached and evaluated with multiple configs for example, such as when evaluating target properties. This requires the creation of a new compiled representation of cmGeneratorExpression. The cmListFileBacktrace remains in the constructor so that we can record where a particular generator expression appeared in the CMakeLists file.
* cmGeneratorExpression: Re-write for multi-stage evaluationStephen Kelly2012-09-189-194/+1182
| | | | | | | | The expressions may be parsed and then cached and evaluated multiple times. They are evaluated lazily so that literals such as ',' can be treated as universal parameter separators, and can be processed from results without appearing literally, and without interfering with the parsing/evaluation of the entire expression.
* Merge topic 'docbook-validate'Brad King2012-09-113-100/+94
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | d0c863f docbook: Fix Sun CC warning on ptr_fun(isalnum) 4e62784 docbook: Fix formatter naming convention to avoid shadow 9ad85dbb docbook: Remove redundant docs that cause invalid DocBook 9468b41 docbook: Add CMake.DocBook test to validate xml (#13508) 3a9e373 docbook: Add support for <abstract> at section level 1 67e7d49 docbook: Cleanup formatter and generated DocBook 55146ed docbook: Fix the DocBook section output dbfe335 docbook: Factor out code to write valid DocBook IDs cffa899 docbook: Remove table of contents ac25bc0 Utilities/xml: Add docbook-4.5 DTD (#13508) 2b2e86f Utilities/xml: Add .gitattributes to disable whitespace checks
| * docbook: Fix Sun CC warning on ptr_fun(isalnum)Brad King2012-09-101-1/+8
| | | | | | | | | | | | | | | | | | | | | | The Sun compiler complains: cmDocumentationFormatterDocbook.cxx", line 230: Warning (Anachronism), badargtype2w: Formal argument x of type int(*)(int) in call to std::ptr_fun<int, int>(int(*)(int)) is being passed extern "C" int(*)(int). Add an intermediate C++ function to forward to the C function.
| * docbook: Fix formatter naming convention to avoid shadowBrad King2012-09-092-3/+3
| | | | | | | | | | | | | | | | | | Some compilers complain: cmDocumentationFormatterDocbook.cxx: In member function virtual void cmDocumentationFormatterDocbook::PrintHeader(const char*, const char*, std::ostream&): cmDocumentationFormatterDocbook.cxx:197:73: warning: declaration of docname shadows a member of 'this' [-Wshadow] Fix the name of the member variable.
| * 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 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.
* | Merge topic 'IsSourceFileTryCompile'Brad King2012-09-113-2/+15
|\ \ | | | | | | | | | | | | 7b2bf28 Ninja: suppress cmcldeps only for source file signature try_compiles
| * | Ninja: suppress cmcldeps only for source file signature try_compilesPeter Kümmel2012-09-053-2/+15
| | |
* | | Merge topic 'ninja-cmcldeps-first-line'Brad King2012-09-111-1/+3
|\ \ \ | | | | | | | | | | | | | | | | 11a6dac Ninja: don't suppress warning about compiler options
| * | | Ninja: don't suppress warning about compiler optionsPeter Kümmel2012-09-041-1/+3
| |/ / | | | | | | | | | | | | | | | Warnings about invalid compiler options are printed first by cl.exe, this line was suppressed when the source file name didn't contain back slashes.
* | | Merge topic 'cmake-gui-interrupt-error'Brad King2012-09-111-1/+2
|\ \ \ | | | | | | | | | | | | | | | | 52ec845 cmake-gui: Fix error status when interrupted.
| * | | cmake-gui: Fix error status when interrupted.Clinton Stimpson2012-09-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Sometimes it wasn't returning an error and one could continue with the generate generate as if no errors occurred, and even with an incomplete configure step.
* | | | Merge topic 'ctest-svn-update'Brad King2012-09-112-77/+239
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 57234dd cmCTestSVN: Load and process information from externals 3776690 cmCTestSVN: Add a LoadExternal() function and an ExternalParser class 41f0f83 cmCTestSVN: Use the SVNInfo structure fb6d513 cmCTestSVN: Create the SVNInfo for the root repository 8d1e102 cmCTestSVN: Add the Repositories list and the RootInfo pointer 2f204bc cmCTestSVN: Extend Revision struct with SVN repo information aa1076f cmCTestSVN: Add the new SVNInfo structure
| * | | | cmCTestSVN: Load and process information from externalsXavier Besseron2012-09-041-6/+32
| | | | | | | | | | | | | | | | | | | | | | | | | Call LoadExternals() and perform operations on all elements of the Repositories list.
| * | | | cmCTestSVN: Add a LoadExternal() function and an ExternalParser classXavier Besseron2012-09-042-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This call 'svn status' and parse the result to get the list of externals repositories. The external repositories found are added to the Repositories list.
| * | | | cmCTestSVN: Use the SVNInfo structureXavier Besseron2012-09-042-77/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Suppress the URL, Root, Base fields from the cmCTestSVN class - Update the code to use RootInfo instead - LoadInfo(), GuessBase(), and a new LoadRevision() functions work on a given SVNInfo - Use the implementation from the base class for LocalPath(), correct path is built by SVNInfo::BuildLocalPath() instead
| * | | | cmCTestSVN: Create the SVNInfo for the root repositoryXavier Besseron2012-09-041-0/+3
| | | | |
| * | | | cmCTestSVN: Add the Repositories list and the RootInfo pointerXavier Besseron2012-09-041-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Repository list will contain the SVNInfo of all the repositories (root and external ones). The RootInfo pointer will point to the SVNInfo structure of the root repository.
| * | | | cmCTestSVN: Extend Revision struct with SVN repo informationXavier Besseron2012-09-042-5/+13
| | | | | | | | | | | | | | | | | | | | Also rename DoRevision to DoRevisionSVN since the signature changes.
| * | | | cmCTestSVN: Add the new SVNInfo structureXavier Besseron2012-09-032-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | It represents information of an SVN repository. It can be the base repository or an external one.
* | | | | CMake Nightly Date StampKitware Robot2012-09-111-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2012-09-101-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2012-09-091-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2012-09-081-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2012-09-071-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2012-09-061-1/+1
| |_|_|/ |/| | |
* | | | CMake Nightly Date StampKitware Robot2012-09-051-1/+1
| | | |
* | | | 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.
* | | | 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
|/ /
* | CMake Nightly Date StampKitware Robot2012-08-311-1/+1
| |
* | Merge topic 'fix-Qt-casing'Brad King2012-08-304-6/+6
|\ \ | | | | | | | | | | | | 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-284-6/+6
| | | | | | | | | | | | | | | 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 '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-3010-20/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-302-12/+4
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Modules/CMakeTestCCompiler.cmake Modules/CMakeTestCXXCompiler.cmake Modules/Platform/Windows-cl.cmake
| * | | | | | VS: Simplify MSVC version reportingBrad King2012-08-309-14/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-231-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-302-12/+4
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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