summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* KWSys Nightly Date StampKWSys Robot2011-12-141-1/+1
|
* KWSys Nightly Date StampKWSys Robot2011-12-131-1/+1
|
* KWSys Nightly Date StampKWSys Robot2011-12-121-1/+1
|
* KWSys Nightly Date StampKWSys Robot2011-12-111-1/+1
|
* KWSys Nightly Date StampKWSys Robot2011-12-101-1/+1
|
* KWSys Nightly Date StampKWSys Robot2011-12-091-1/+1
|
* KWSys Nightly Date StampKWSys Robot2011-12-081-1/+1
|
* Merge topic 'AutomocIncludedDotMocFileHandling'David Cole2011-12-0721-73/+790
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2d11951 Merge branch 'master' into AutomocIncludedDotMocFileHandling 1eca18f automoc: add documentation for CMAKE_AUTOMOC_STRICT_MODE bc278ce automoc: fix line length 62e223e automoc: add variable CMAKE_AUTOMOC_STRICT_MODE, to enable strict parsing 40c5167 automoc: accept even more .moc files in non-strict mode c207f5d automoc: also accept other files when .moc is included in non-strict mode 9c0df72 automoc: add a StrictParseCppFile(), which is only qmake-compatible 174bf35 automoc: move the code for finding headers into separate function 8507eae automoc: fix handling of included _p.moc files 7ada172 automoc: some more linebreaks for the warnings for better readability 3b93e26 automoc: add extra check whether the header contains Q_PRIVATE_SLOT 4745715 Add a test case for the use of Q_PRIVATE_SLOT. bde4edb automoc: add special handling for including basename_p.moc, with test 74ab0f6 automoc: move some code from the big parsing loop into separate functions bc7560e automoc: add test for including a moc_abc_p.cpp file 30fd8e6 automoc: add test for including the moc file from another header ...
| * Merge branch 'master' into AutomocIncludedDotMocFileHandlingDavid Cole2011-12-07201-567/+7588
| |\ | | | | | | | | | | | | Conflicts: Source/cmTarget.cxx
| * | automoc: add documentation for CMAKE_AUTOMOC_STRICT_MODEAlex Neundorf2011-12-062-1/+18
| | | | | | | | | | | | Alex
| * | automoc: fix line lengthAlex Neundorf2011-12-061-1/+1
| | | | | | | | | | | | Alex
| * | automoc: add variable CMAKE_AUTOMOC_STRICT_MODE, to enable strict parsingAlex Neundorf2011-12-023-2/+13
| | | | | | | | | | | | 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
| * | Add a test case for the use of Q_PRIVATE_SLOT.Stephen Kelly2011-11-223-1/+42
| | |
| * | automoc: add special handling for including basename_p.moc, with testAlex Neundorf2011-11-226-8/+124
| | | | | | | | | | | | Alex
| * | automoc: move some code from the big parsing loop into separate functionsAlex Neundorf2011-11-221-30/+47
| | | | | | | | | | | | Alex
| * | automoc: add test for including a moc_abc_p.cpp fileAlex Neundorf2011-11-222-0/+34
| | | | | | | | | | | | Alex
| * | automoc: add test for including the moc file from another headerAlex Neundorf2011-11-225-1/+65
| | | | | | | | | | | | | | | | | | | | | including moc_xyz.cpp in abc.cpp should run moc on xyz.h (and include the file in abc.cpp) Alex
| * | automoc: add a test for including both abc.moc and moc_abc.cppAlex Neundorf2011-11-224-1/+74
| | | | | | | | | | | | 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: add more test casesAlex Neundorf2011-11-106-1/+131
| | | | | | | | | | | | 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
* | | Merge topic 'refactor-versioned-lib-names'David Cole2011-12-072-40/+37
|\ \ \ | | | | | | | | | | | | | | | | 96f65ba cmTarget: Create helper method for versioned library names
| * | | cmTarget: Create helper method for versioned library namesBrad King2011-12-062-40/+37
| | | | | | | | | | | | | | | | | | | | Replace the duplicate logic for the realName and soName of versioned shared libraries with calls to a new ComputeVersionedName method.
* | | | Merge topic 'topics/FindCUDA/Misc-fixes'David Cole2011-12-071-10/+11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | aa36082 Miscellaneous fixes.
| * | | | Miscellaneous fixes.James Bigler2011-12-061-10/+11
| | | | |
* | | | | Merge topic 'topics/FindCUDA/Multi-dir-clash'David Cole2011-12-071-10/+54
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 80e279d Make CUDA working directory unique for each target.
| * | | | | Make CUDA working directory unique for each target.James Bigler2011-12-061-10/+54
| |/ / / / | | | | | | | | | | | | | | | | | | | | This allows you to have more than source file with the same name but different directories. The intermediate and configuration files are now in this same directory.
* | | | | KWSys Nightly Date StampKWSys Robot2011-12-071-1/+1
| |_|_|/ |/| | |
* | | | Merge topic 'topics/FindCUDA/Quote-fixes'David Cole2011-12-062-21/+21
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | c3c7a0c Fixes for handling quotes in args and other places (Fix Bug 11726 and 12099).
| * | | | Fixes for handling quotes in args and other places (Fix Bug 11726 and 12099).James Bigler2011-12-062-21/+21
| |/ / /
* | | | Merge topic 'topics/FindCUDA/FixCUDAInUNCPath'David Cole2011-12-061-2/+16
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 83d4eea Add work around for CUDA in UNC paths.
| * | | | Add work around for CUDA in UNC paths.James Bigler2011-12-051-2/+16
| |/ / / | | | | | | | | | | | | | | | | | | | | Nvcc can emit '/path' instead of '//path' which can cause a lot of grief later. We test to see if the file exists, if it doesn't then we see if the file exists with '/' prepended. Files that don't exist won't be added to the list.
* | | | Merge topic 'topics/FindCUDA/linux-double-build'David Cole2011-12-061-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | aa59544 Reset dependency file list when a dependency disappeared.
| * | | | Reset dependency file list when a dependency disappeared.James Bigler2011-12-051-0/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | Fix a long outstanding bug when a file in the dependency list wasn't found. This bug wouldn't reset the dependencies, so the makefile would still want the missing file when building. The work around was to configure twice, but this is no longer necessary.
* | | | Merge topic 'GNU-to-MS'David Cole2011-12-0627-5/+242
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ae62a1c Test CMAKE_GNUtoMS option in ExportImport on MinGW and MSys afb00fe Add CMAKE_GNUtoMS option to convert GNU .dll.a to MS .lib 61e8629 Factor makefile generator link rule lookup into helper function a603250 Load platform files that need to know the ABI when possible ecd8414 Fortran: Detect pointer size in gfortran on MinGW
| * | | | Test CMAKE_GNUtoMS option in ExportImport on MinGW and MSysBrad King2011-12-052-0/+6
| | | | |
| * | | | Add CMAKE_GNUtoMS option to convert GNU .dll.a to MS .libBrad King2011-12-0515-2/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach the Windows-GNU.cmake platform file to look for Visual Studio tools matching the target ABI. Add an extra step to the link command for shared libraries and executables that export symbols and on which a new GNUtoMS property is set (initialized by the CMAKE_GNUtoMS option). Tell the GNU linker to output a module definition (.def) file listing exported symbols in addition to the GNU-format import library (.dll.a). Pass the .def file to the MS "lib" tool to construct a MS-format DLL import library (.lib). Teach the install(TARGETS) command to install the MS import library next to the GNU one. Teach the install(EXPORT) and export() command to set the IMPORTED_IMPLIB property pointing at the import library to use the import library matching the tools in the importing project.
| * | | | Factor makefile generator link rule lookup into helper functionBrad King2011-12-054-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | This provides a place in the makefile generators to adjust the link rules for both libraries and executables.