diff --git a/cmake/common.cmake b/cmake/common.cmake index 2337df2..757c1f6 100644 --- a/cmake/common.cmake +++ b/cmake/common.cmake @@ -107,6 +107,10 @@ macro(spl_create_component) target_compile_options(${component_name} PRIVATE ${VARIANT_ADDITIONAL_COMPILE_C_FLAGS}) endif() + list(APPEND PROD_SOURCES ${SOURCES}) + set(PROD_SOURCES ${PROD_SOURCES} PARENT_SCOPE) + message(DEBUG "Productive sources: ${PROD_SOURCES}") + list(APPEND COMPONENT_NAMES ${component_name}) set(COMPONENT_NAMES ${COMPONENT_NAMES} PARENT_SCOPE)