diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-02-02 10:34:04 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-02-02 10:34:04 (GMT) |
commit | 7935f4dec81aa8210fa805d6b484ef04e6ef6056 (patch) | |
tree | f0591fc7b186d111f3a0ed824ca09dabfe0b2db3 | |
parent | 2739a6f97e843240890e38d68505f5595bba4470 (diff) | |
download | CMake-7935f4dec81aa8210fa805d6b484ef04e6ef6056.zip CMake-7935f4dec81aa8210fa805d6b484ef04e6ef6056.tar.gz CMake-7935f4dec81aa8210fa805d6b484ef04e6ef6056.tar.bz2 |
Help: Note that AUTOMOC consumes the defines and includes from targets.
-rw-r--r-- | Help/manual/cmake-qt.7.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/manual/cmake-qt.7.rst b/Help/manual/cmake-qt.7.rst index a318afb..b2270f3 100644 --- a/Help/manual/cmake-qt.7.rst +++ b/Help/manual/cmake-qt.7.rst @@ -69,6 +69,10 @@ included by the user in the C++ implementation file with a preprocessor ``#include``. If it is not so included, it will be added to a separate file which is compiled into the target. +The ``moc`` command line will consume the :prop_tgt:`COMPILE_DEFINITIONS` and +:prop_tgt:`INCLUDE_DIRECTORIES` target properties from the target it is being +invoked for, and for the appropriate build configuration. + Generated ``moc_*.cpp`` and ``*.moc`` files are placed in the build directory so it is convenient to set the :variable:`CMAKE_INCLUDE_CURRENT_DIR` variable. The :prop_tgt:`AUTOMOC` target property may be pre-set for all |