Skip to content

Commit

Permalink
feat: provide list of productive sources
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshit-MQ committed Jan 2, 2024
1 parent 13431d5 commit 4c5b29a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 4c5b29a

Please sign in to comment.