diff options
author | notspiff <cptspiff@gmail.com> | 2017-07-21 11:44:41 +0200 |
---|---|---|
committer | Arne Morten Kvarving <cptspiff@gmail.com> | 2017-07-23 22:17:45 +0200 |
commit | dc7309ae77294040e89a9f480263d918bee1c6aa (patch) | |
tree | b0652e41e8c35fde60f56eeffffc0be38b50207c /cmake/scripts/common/Macros.cmake | |
parent | 51a70ff4374c79c7cfc517f503309851ef9db22f (diff) |
add static analysis unit tests
Diffstat (limited to 'cmake/scripts/common/Macros.cmake')
-rw-r--r-- | cmake/scripts/common/Macros.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/scripts/common/Macros.cmake b/cmake/scripts/common/Macros.cmake index 8bee3dadad..09c9c369be 100644 --- a/cmake/scripts/common/Macros.cmake +++ b/cmake/scripts/common/Macros.cmake @@ -89,6 +89,10 @@ function(core_add_library name) target_sources(lib${APP_NAME_LC} PRIVATE ${FILES}) set(CORE_LIBRARY lib${APP_NAME_LC} PARENT_SCOPE) endif() + foreach(src ${SOURCES}) + list(APPEND sca_sources ${CMAKE_CURRENT_SOURCE_DIR}/${src}) + endforeach() + set(sca_sources ${sca_sources} CACHE STRING "" FORCE) endfunction() # Add a test library, and add sources to list for gtest integration macros |