| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
...
|
| |\
| | |
| | |
| | |
| | | |
Conflicts:
Source/cmTarget.cxx
|
| | |
| | |
| | |
| | | |
Alex
|
| | |
| | |
| | |
| | | |
Alex
|
| | |
| | |
| | |
| | | |
Alex
|
| | |
| | |
| | |
| | | |
Alex
|
| | |
| | |
| | |
| | | |
Alex
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | | |
Alex
|
| | |
| | |
| | |
| | | |
Alex
|
| | |
| | |
| | |
| | | |
Alex
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
|
| | |
| | |
| | |
| | | |
Alex
|
| | |
| | |
| | |
| | | |
Alex
|
| | |
| | |
| | |
| | | |
Alex
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
including moc_xyz.cpp in abc.cpp should run moc on xyz.h (and
include the file in abc.cpp)
Alex
|
| | |
| | |
| | |
| | | |
Alex
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
-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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
before doing the full regexp, try a simple strstr(), if this
already fails, no need to do the regexp matching.
Alex
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Error/warning messages now look like:
AUTOMOC: (error|warning): <filename>: the actual text...
Alex
|
| | |
| | |
| | |
| | | |
Alex
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | | |
Alex
|
| | |
| | |
| | |
| | |
| | |
| | | |
foo.cpp must include foo.moc to have itself processed by moc
Alex
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
96f65ba cmTarget: Create helper method for versioned library names
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Replace the duplicate logic for the realName and soName of versioned
shared libraries with calls to a new ComputeVersionedName method.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
aa36082 Miscellaneous fixes.
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
80e279d Make CUDA working directory unique for each target.
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| |_|_|/
|/| | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
c3c7a0c Fixes for handling quotes in args and other places (Fix Bug 11726 and 12099).
|
| |/ / / |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
83d4eea Add work around for CUDA in UNC paths.
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
aa59544 Reset dependency file list when a dependency disappeared.
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This provides a place in the makefile generators to adjust the link
rules for both libraries and executables.
|