You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@celix.apache.org by "PengZheng (via GitHub)" <gi...@apache.org> on 2023/02/23 08:55:29 UTC
[GitHub] [celix] PengZheng opened a new issue, #485: Make Celix consumable via FetchContent/add_subdirectory()
PengZheng opened a new issue, #485:
URL: https://github.com/apache/celix/issues/485
Currently Celix can 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@celix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org