vopl commented on PR #282:
URL: https://github.com/apache/logging-log4cxx/pull/282#issuecomment-1801165905

   All headers are available in IDE, so, IDE can does many useful things: text 
search, code completion, navigation between c++ entities, analyze sources with 
clang tools, ...
   
![image](https://github.com/apache/logging-log4cxx/assets/11589628/2ba4724a-559a-44f7-af14-f5a8b8ffd52a)
   
   > note: I need to take a closer look at this, since I see there is a random 
file that is generated I want to make sure it's not going to mess anything up 
with symbols in the library. Otherwise I would merge it
   
   One a fake source file `${CMAKE_CURRENT_BINARY_DIR}/empty-lib-stub.cpp`, I 
have added to include-target, is a minimal c++ translation unit with one an 
entity, named `someUnused`. It is required for some toolchains (on osx for 
example), which cannot works with empty archives. This entity has an internal 
linkage and does not used from any other, so, no symbol exported in result 
binary. Also, please note, include-targets do not link with general targets, 
so, no include-content is placed to them.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to