2.0.30
This commit is contained in:
@ -46,13 +46,17 @@ function(myx_uncrustify TARGET_NAME)
|
||||
endif()
|
||||
|
||||
# Динамически сгенерированные файлы исключаются
|
||||
get_target_property(__s1 ${TARGET_NAME} INTERFACE_SOURCES)
|
||||
if(__s1)
|
||||
list(APPEND __all_sources ${__s1})
|
||||
endif()
|
||||
get_target_property(__s2 ${TARGET_NAME} SOURCES)
|
||||
if(__s2)
|
||||
list(APPEND __all_sources ${__s2})
|
||||
get_target_property(__target_type ${TARGET_NAME} TYPE)
|
||||
if(${__target_type} STREQUAL "INTERFACE_LIBRARY")
|
||||
get_target_property(__s1 ${TARGET_NAME} INTERFACE_SOURCES)
|
||||
if(__s1)
|
||||
list(APPEND __all_sources ${__s1})
|
||||
endif()
|
||||
else()
|
||||
get_target_property(__s2 ${TARGET_NAME} SOURCES)
|
||||
if(__s2)
|
||||
list(APPEND __all_sources ${__s2})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
foreach(iter ${__all_sources})
|
||||
|
Reference in New Issue
Block a user