deal with TODO in CMake macro files [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2019-11-29 10:45:27 +00:00
parent 1bd9da624d
commit e95e7d1f32
2 changed files with 2 additions and 2 deletions

View file

@ -182,8 +182,8 @@ function(KATIE_SETUP_TARGET FORTARGET)
get_directory_property(dirdefs COMPILE_DEFINITIONS)
get_directory_property(dirincs INCLUDE_DIRECTORIES)
set(mocargs)
# COMPILE_DEFINITIONS does not include undefine definitions
foreach(ddef ${dirdefs})
# TODO: filter non -D, support -U too
set(mocargs ${mocargs} -D${ddef})
endforeach()
foreach(incdir ${dirincs})

View file

@ -37,8 +37,8 @@ macro(KATIE_RESOURCES RESOURCES)
get_directory_property(dirdefs COMPILE_DEFINITIONS)
get_directory_property(dirincs INCLUDE_DIRECTORIES)
set(mocargs)
# COMPILE_DEFINITIONS does not include undefine definitions
foreach(ddef ${dirdefs})
# TODO: filter non -D, support -U too
set(mocargs ${mocargs} -D${ddef})
endforeach()
foreach(incdir ${dirincs})