summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* automoc: add variable CMAKE_AUTOMOC_STRICT_MODE, to enable strict parsingAlex Neundorf2011-12-022-2/+12
| | | | Alex
* automoc: accept even more .moc files in non-strict modeAlex Neundorf2011-12-021-56/+25
| | | | Alex
* automoc: also accept other files when .moc is included in non-strict modeAlex Neundorf2011-12-021-20/+14
| | | | Alex
* automoc: add a StrictParseCppFile(), which is only qmake-compatibleAlex Neundorf2011-12-022-6/+125
| | | | | | | | ParseCppFile() is the one which is automoc4/KDE4-compatible, and which becomes a bit crowded. By separating these two it is easier to ensure that the strict one doesn't get broken accidentially. Alex
* automoc: move the code for finding headers into separate functionAlex Neundorf2011-12-022-21/+37
| | | | Alex
* automoc: fix handling of included _p.moc filesAlex Neundorf2011-11-301-2/+3
| | | | Alex
* automoc: some more linebreaks for the warnings for better readabilityAlex Neundorf2011-11-291-8/+8
| | | | Alex
* automoc: add extra check whether the header contains Q_PRIVATE_SLOTAlex Neundorf2011-11-291-1/+50
| | | | | | | | | | | This is again for KDE4 compatiblity. If foo.moc is included, in general moc should run on foo.cpp. Usually this can't cause problems. It can only cause problems if moc must run on the header, and the resulting file must be included in the cpp file, which is the case with the Q_PRIVATE_SLOT macro. This makes the test added by Stephen pass. Alex
* automoc: add special handling for including basename_p.moc, with testAlex Neundorf2011-11-221-7/+32
| | | | Alex
* automoc: move some code from the big parsing loop into separate functionsAlex Neundorf2011-11-221-30/+47
| | | | Alex
* Automoc: modified handling of included .moc filesAlex Neundorf2011-11-161-3/+14
| | | | | | | | -enable the KDE4-compatiblity mode only when using Qt4 -always (except in the KDE4 compat mode) error out if a cpp-file contains "Q_OBJECT", but does not include filename.moc Alex
* automoc: another runtime optimizationAlex Neundorf2011-11-101-6/+23
| | | | | | | before doing the full regexp, try a simple strstr(), if this already fails, no need to do the regexp matching. Alex
* automoc: minor optimizationAlex Neundorf2011-11-101-1/+1
| | | | | | | | Handing th std::string instead the char* to the find() reduces the time from 17 to 15 seconds (for a 1000 times loop of a relatively small file), which is around 10 percent. Alex
* automoc: improved diagnosticsAlex Neundorf2011-11-101-10/+11
| | | | | | | Error/warning messages now look like: AUTOMOC: (error|warning): <filename>: the actual text... Alex
* automoc: handle the case when the developer includes the wrong mocfileAlex Neundorf2011-11-101-0/+33
| | | | | | | | | | There are multiple/many places in KDE where the developer includes moc_foo.cpp, and expects moc to run on foo.cpp, instead of foo.h. He should use foo.moc, but right now this is handled by automoc4, so we must stay compatible. So support this too, but warn about it. Alex
* automoc: rework the checking for the matching header, to give better warningsAlex Neundorf2011-11-101-42/+35
| | | | Alex
* automoc: stricter checking for what file is includedAlex Neundorf2011-11-101-0/+12
| | | | | | foo.cpp must include foo.moc to have itself processed by moc Alex
* KWSys Nightly Date StampKWSys Robot2011-11-061-1/+1
|
* KWSys Nightly Date StampKWSys Robot2011-11-051-1/+1
|
* KWSys Nightly Date StampKWSys Robot2011-11-041-1/+1
|
* KWSys Nightly Date StampKWSys Robot2011-11-031-1/+1
|
* KWSys Nightly Date StampKWSys Robot2011-11-021-1/+1
|
* Merge topic 'FixCMAKE_BUILD_TOOL_doc'David Cole2011-11-011-1/+1
|\ | | | | | | | | 83b13a2 Fix old reference to CMAKE_MAKE_PROGRAM inside CMAKE_BUILD_TOOL doc.
| * Fix old reference to CMAKE_MAKE_PROGRAM inside CMAKE_BUILD_TOOL doc.Eric NOULARD2011-10-301-1/+1
| |
* | Merge topic 'doc-link_directories-misconception'David Cole2011-11-011-1/+6
|\ \ | | | | | | | | | | | | 30e4a52 Tell people that link_directories() is not what they are searching for
| * | Tell people that link_directories() is not what they are searching forRolf Eike Beer2011-10-271-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Judging from the questions I see on the #cmake IRC channel this is one of the most common pitfalls for people coming from other build systems, especially plain Makefiles. Finally put this into the documentation to stop people getting fooled into using this. Text by Brad King.
* | | Merge topic 'fix-12539-ctestconfig-from-build-dir'David Cole2011-11-011-6/+26
|\ \ \ | | | | | | | | | | | | | | | | 76ecdd8 CTest: Look for CTestConfig.cmake in build dir first, then source dir
| * | | CTest: Look for CTestConfig.cmake in build dir first, then source dirJean-Christophe Fillion-Robin2011-10-271-6/+26
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide the ability to configure CTest with settings different from the ones available in the source tree by checking first if CTestConfig.cmake exists in the build tree. The motivation is to allow build system checking out external project to test and/or package them and submit the associated results to a different dashboard than the one specified (or not) in the source of the external project. For example, the build system of Slicer can checkout, build, test and package what I will call "extensions". These extensions can be developed by third parties who can test and submit to their own dashboard / project. When checked out by Slicer build system, the default dashboard can now be overwritten by adding a custom CTestConfig.cmake to the build directory. And if not overwritten, it would avoid to create CTestConfig.cmake within the source checkout of the extension.
* | | Merge topic 'fix-12383-clear-ctest-vecs'David Cole2011-11-011-0/+2
|\ \ \ | | | | | | | | | | | | | | | | 499c104 CTest: Clear custom vectors before populating (#12383)
| * | | CTest: Clear custom vectors before populating (#12383)David Cole2011-10-261-0/+2
| |/ / | | | | | | | | | | | | | | | | | | Important when calling ctest commands in a loop from a script. Each time Populate gets called, it uses the current definition of the variable. Without the clear, it was accumulating additional identical values each time through the loop.
* | | Merge topic 'ctest-memcheck-log-newline-issue-12538'David Cole2011-11-011-1/+1
|\ \ \ | | | | | | | | | | | | | | | | 26b6794 Source/cmCTest.cxx: Add missing newline (#12538)
| * | | Source/cmCTest.cxx: Add missing newline (#12538)Bernhard Walle2011-10-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the log entry, the newline is missing. The output without the newline character is a bit strange, like SetCTestConfigurationFromCMakeVariable:MemoryCheckCommand:CTEST_MEMORYCHECK_COMMANDSetCTestConfiguration:MemoryCheckCommand:/usr/bin/valgrind Instead of SetCTestConfigurationFromCMakeVariable:MemoryCheckCommand:CTEST_MEMORYCHECK_COMMAND SetCTestConfiguration:MemoryCheckCommand:/usr/bin/valgrind This patch changes this to add a newline. Signed-off-by: Bernhard Walle <walle@corscience.de>
* | | | KWSys: Address Intel compiler remarksBrad King2011-11-013-26/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CommandLineArguments.cxx: remark #181: argument is incompatible with corresponding format string conversion SystemInformation.cxx: remark #193: zero used for undefined preprocessing identifier "_WIN32" warning #177: variable "Regebx" was declared but never referenced SystemTools.cxx(375): remark #444: destructor for base class "std::vector<char*>" is not virtual class kwsysDeletingCharVector : private kwsys_stl::vector<char*> Author: Hans Johnson <hans-johnson@uiowa.edu> Change-Id: Ibc899c3ba14990158ef7bbabace4b435b22495c3
* | | | KWSys Nightly Date StampKWSys Robot2011-11-011-2/+2
| | | |
* | | | KWSys Nightly Date StampKWSys Robot2011-10-311-1/+1
| |_|/ |/| |
* | | KWSys Nightly Date StampKWSys Robot2011-10-301-1/+1
| | |
* | | KWSys Nightly Date StampKWSys Robot2011-10-291-1/+1
| | |
* | | KWSys Nightly Date StampKWSys Robot2011-10-281-1/+1
| | |
* | | KWSys Nightly Date StampKWSys Robot2011-10-271-1/+1
| |/ |/|
* | KWSys Nightly Date StampKWSys Robot2011-10-261-1/+1
| |
* | Merge topic 'some-documentation-fixes'David Cole2011-10-2521-490/+495
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ceff6ec ccmake: Factor toggle key help instructions. 19da106 ccmake: Document '/' key. fd63219 ccmake: Align 'g' and 'q' key instructions. bfb0ed4 Usage: Add missing exepath argument in get_prerequisites documentation. de51264 Usage: Print help, version and copyright options in usage information. 9ae0604 Usage: Document all options printing the version number. 3353d84 Usage: Document all options printing usage information. 1b612ca Usage: Document -j|--parallel option in help message. 6be15ed Doxygen: Remove dependency on VTK when building doxygen. a92f14f Doxygen: Fix warnings. faede37 Doxygen: Generate call graph and relationships. dd13ecd Doxygen: Improve code documentation. d0b3a7f Fix typo. d3d7e45 Remove trailing white-spaces.
| * | ccmake: Factor toggle key help instructions.Nicolas Despres2011-10-231-9/+7
| | |
| * | ccmake: Document '/' key.Nicolas Despres2011-10-231-3/+2
| | |
| * | ccmake: Align 'g' and 'q' key instructions.Nicolas Despres2011-10-231-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They were miss-aligned with the 'enter' key instruction. Before: ---- Press [enter] to edit option CMake Version 2.8.3.20110107-g4b05a-dirty Press [c] to configure Press [h] for help Press [q] to quit without generating ---- After: ---- Press [enter] to edit option CMake Version 2.8.3.20110107-g4b05a-dirty Press [c] to configure Press [h] for help Press [q] to quit without generating ----
| * | Usage: Print help, version and copyright options in usage information.Nicolas Despres2011-10-233-3/+3
| | | | | | | | | | | | There were missing for ctest, cpack and ccmake.
| * | Usage: Document all options printing the version number.Nicolas Despres2011-10-231-1/+2
| | |
| * | Usage: Document all options printing usage information.Nicolas Despres2011-10-231-1/+1
| | |
| * | Usage: Document -j|--parallel option in help message.Nicolas Despres2011-10-231-0/+4
| | |
| * | Doxygen: Fix warnings.Nicolas Despres2011-10-2311-23/+24
| | |
| * | Doxygen: Improve code documentation.Nicolas Despres2011-10-231-0/+1
| | |