summaryrefslogtreecommitdiffstats
path: root/Tests/Qt4Targets
Commit message (Collapse)AuthorAgeFilesLines
* Add includes and compile definitions with target_link_libraries.Stephen Kelly2013-01-311-19/+0
| | | | | | | | This establishes that linking is used to propagate usage-requirements between targets in CMake code. The use of the target_link_libraries command as the API for this is chosen because introducing a new command would introduce confusion due to multiple commands which differ only in a subtle way.
* Automatically link to the qtmain library when linking to QtCore.Stephen Kelly2013-01-232-4/+59
| | | | | When using QAxServer, ensure that the qtmain library is excluded by reporting an error at CMake time if it is not.
* FindQt4: Add INTERFACE includes and defines to Qt4 targetsStephen Kelly2013-01-102-2/+17
|
* Qt4: Add module dependencies to the IMPORTED targetsStephen Kelly2013-01-072-0/+30
This means for example, that consumers can use: target_link_libraries(foo ${QT_QTGUI_LIBRARIES}) instead of also needing to specify all 'public' dependencies: target_link_libraries(foo ${QT_QTGUI_LIBRARIES} ${QT_QTCORE_LIBRARIES} ) when using the IMPORTED targets. Also populate the IMPORTED_LINK_DEPENDENT_LIBRARIES property so CMake can help the linker find shared library dependencies.