| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The docs say that this is for cmake 2.4 backwards compatibility only,
so we probably don't need to support it.
Alex
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
automoc now defaults to strict mode, also with Qt4, i.e. it behaves as
the documentation says by default. I also inverted the switch
CMAKE_AUTOMOC_STRICT_MODE to CMAKE_AUTOMOC_RELAXED_MODE.
Docs and test adapted accordingly.
Alex
|
|\
| |
| |
| |
| | |
Conflicts:
Source/cmTarget.cxx
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
bafe5cc Fix style.
74b9392 Update comments and method names to not be Qt4 specific.
812dab0 Don't assume the existence of QT_MAJOR_VERSION.
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
This commit adds a new target property AUTOMOC_MOC_OPTIONS, which
can be set to add extra options for the moc invocations done via automoc.
This is equivalent to the OPTIONS parameter in the qt4_wrap_cpp() macro.
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
This makes it easier to move it from InitialPass() to some other
location, e.g. FinalPass() or something else.
Alex
|
|
|
|
| |
Alex
|
|
|
|
| |
Alex
|
|
|
|
| |
Alex
|
|
|
|
|
|
|
| |
Instead it now relies on cmake time to put that information
correctly into AutomocInfo.cmake
Alex
|
|
|
|
|
|
|
|
|
| |
It already works :-)
Needs more refactoring, e.g. using the cmake facilities to turn a string
into a vector etc.
Also still missing is the part which creates the custom target.
Alex
|
|
|
|
| |
Alex
|
|
Alex
|