mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-03 13:18:37 -06:00
Automoc: also the makefile-COMPILE_DEFINITIONS
Alex
This commit is contained in:
@@ -209,6 +209,12 @@ void cmQtAutomoc::SetupAutomocTarget(cmTarget* target)
|
||||
|
||||
const char* tmp = target->GetProperty("COMPILE_DEFINITIONS");
|
||||
std::string _moc_compile_defs = (tmp!=0 ? tmp : "");
|
||||
tmp = makefile->GetProperty("COMPILE_DEFINITIONS");
|
||||
if (tmp)
|
||||
{
|
||||
_moc_compile_defs += ";";
|
||||
_moc_compile_defs += tmp;
|
||||
}
|
||||
tmp = target->GetProperty("AUTOMOC_MOC_OPTIONS");
|
||||
std::string _moc_options = (tmp!=0 ? tmp : "");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user