summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
| * | Fix typo.Nicolas Despres2011-10-236-8/+8
| | |
| * | Remove trailing white-spaces.Nicolas Despres2011-10-2316-443/+443
| | |
* | | Merge topic 'SourceGroupsForEclipse'David Cole2011-10-252-34/+184
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 66bd543 Eclipse: fix #12417, don't create wrong src pathentries 70de8bd Eclipse: detect number of CPUs, set CMAKE_ECLIPSE_MAKE_ARGUMENTS accordigly 117f2b8 Eclipse: add Build and Clean targets to targets c3f30bd Eclipse: move code for generating links to targets into separate function cef6bd9 Eclipse: move code for generating links to projects into separate function b6d4de7 Eclipse: add virtual folder for each target
| * | | Eclipse: fix #12417, don't create wrong src pathentriesAlex Neundorf2011-10-231-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Actually the Eclipse generator now does not create any CDT_SOURCE pathentries anymore, since I was not able to find out what they are good for, not even by asking on the cdt-dev mailing list. So, at least the warning from eclipse about bad pathentries are gone this way, and I didn't see anything which was not working anymore. Let's see whether we can find out what they are good for. Alex
| * | | Eclipse: add Build and Clean targets to targetsAlex Neundorf2011-10-232-3/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this commit the virtual folder for the targets now have "Build" and "Clean" targets associated to them, so you can build and clean per-target now in the project explorer. Alex
| * | | Eclipse: move code for generating links to targets into separate functionAlex Neundorf2011-10-232-80/+84
| | | | | | | | | | | | | | | | Alex
| * | | Eclipse: move code for generating links to projects into separate functionAlex Neundorf2011-10-232-27/+39
| | | | | | | | | | | | | | | | Alex
| * | | Eclipse: add virtual folder for each targetAlex Neundorf2011-10-192-8/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For each target a virtual folder is created, which contains one virtual folder for each sourcegroup, which contain links to the actual source files (#12294, #12223) Alex
* | | | Merge topic 'AutomocFindQ_OBJECTAlwaysInHeader'David Cole2011-10-252-85/+109
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5e8e9ad automoc: always run moc on the cpp file if there is a foo.moc included ea8ac9f Add copyright notices 56aa6ff automoc:run moc on the header if the source file contains include "foo.moc"
| * | | | automoc: always run moc on the cpp file if there is a foo.moc includedAlex Neundorf2011-10-221-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes automoc behaves as the documentation says. If there is a #include "foo.moc" in the source file, moc will be executed on foo.cpp. Before it was also executed on foo.cpp, but only if foo.cpp contained a Q_OBJECT macro, otherwise moc was executed on foo.h. This was confusing, and this change also shouldn't break anything, since the headers are moc'ed anyway if they contain a Q_OBJECT macro. Alex
| * | | | Add copyright noticesAlex Neundorf2011-10-222-0/+26
| | | | | | | | | | | | | | | | | | | | Alex
| * | | | automoc:run moc on the header if the source file contains include "foo.moc"Alex Neundorf2011-10-222-75/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes #12533. Before automoc did not check the header if the source file contained a statement, now it does. Additionally, moc is now only run on explicitely listed headers which contain a Q_OBJECT macro. Alex