mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
oops, fix all-in-one exclusion handling
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
a8cba58eec
commit
090e1025d1
1 changed files with 3 additions and 3 deletions
|
@ -206,10 +206,10 @@ function(KATIE_SETUP_TARGET FORTARGET)
|
|||
foreach(srcstring ${ARGN})
|
||||
get_filename_component(srcext ${srcstring} EXT)
|
||||
get_source_file_property(skip ${srcstring} ALLINONE_EXCLUDE)
|
||||
if(skip)
|
||||
if(skip OR "${srcext}" STREQUAL ".c")
|
||||
katie_warning("Source is excluded: ${srcstring}")
|
||||
set(srcstring ${srcstring} ${srcstring})
|
||||
elseif(NOT "${srcext}" MATCHES "(.h|.qrc|.ui)" AND NOT "${srcext}" STREQUAL ".c")
|
||||
set(excludesources ${excludesources} ${srcstring})
|
||||
elseif(NOT "${srcext}" MATCHES "(.h|.qrc|.ui)")
|
||||
set(allinonedata "${allinonedata}#include \"${srcstring}\"\n")
|
||||
endif()
|
||||
endforeach()
|
||||
|
|
Loading…
Add table
Reference in a new issue