celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [celix] rlenferink opened a new issue #113: Make Celix CMake target exportable
Date Sat, 28 Sep 2019 17:19:11 GMT
rlenferink opened a new issue #113: Make Celix CMake target exportable
URL: https://github.com/apache/celix/issues/113
 
 
   Currently the advisable way to use CMake it to export targets and use the imported targets
in project using - in this case - Celix.
   
   This would mean that if Celix export a target Celix::framework, the using project can add
the correct link libraries, include paths and even compile definitions by using target_link_libraries.
For example
   ```CMake
   target_link_libraries(foo PRIVATE Celix::framework)
   ```
   
   This is also has many benefits for Celix:
   - easier in use.
   - more modern use of CMake.
   - more modular use of CMake.
   - no of almost no use of directories outside a target dir.
   - Celix examples can be used 1 on1 in project using Celix
   
   For more info see: https://www.youtube.com/watch?v=bsXLMQ6WgIk

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message