OSDN Git Service

set KATIE_<COMPONENT>_DEFINITIONS from KatieConfig CMake file and improve Qt4 compati...
authorIvailo Monev <xakepa10@laimg.moc>
Sun, 2 Feb 2020 23:26:51 +0000 (23:26 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Sun, 2 Feb 2020 23:26:51 +0000 (23:26 +0000)
commite56c0425019d534fd6aa7b969752382245494296
treee58d161f826a7759aade27ba7e36a5f9188843d7
parentc456ede06372d8e7489467805bef6a552375f2ff
set KATIE_<COMPONENT>_DEFINITIONS from KatieConfig CMake file and improve Qt4 compatibility

by setting up interface definitions and include directories for the
components GUI tests will work without any changes (-DQT_GUI_LIB will be
defined for them because they link to KtGui library).

this will also fix some corner cases, for an example when projects do not
use `add_definition(${QT_DEFINITIONS})` and/or
`include_directories(${QT_INCLUDES})` in their build system making porting
of other projects much easier

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
cmake/KatieConfig.cmake