apache / apache/celix

Make Celix consumable via FetchContent/add_subdirectory()

Open
#485 0 comments 0 reactions 0 assignees View on GitHub
build/cmake
Dominant language
C
Stars
193
Forks
99
Avg merge
1m
Merged PRs (30d)
1

Description

Currently Celix can not be added as a sub-project via add_subdirectory.
For example, use of `CMAKE_SOURCE_DIR` will cause build error.

```CMAKE
function(celix_deprecated_utils_headers)
list(GET ARGN 0 TARGET_NAME)
target_include_directories(${TARGET_NAME} PRIVATE ${CMAKE_SOURCE_DIR}/libs/utils/include_deprecated)
set_property(TARGET celix-deprecated APPEND PROPERTY "UTIL_TARGETS" "${TARGET_NAME}")
endfunction()
```

After finish this, we could add sub-project build to our CI.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.