You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "rm5248 (via GitHub)" <gi...@apache.org> on 2023/07/08 17:16:22 UTC

[GitHub] [logging-log4cxx] rm5248 opened a new issue, #229: Create basic documentation on using Log4cxx in your projects

rm5248 opened a new issue, #229:
URL: https://github.com/apache/logging-log4cxx/issues/229

   There is currently some information in the documentation about how to use in your projects, but there's nothing along the lines of "copy and paste this into your buildsystem."
   
   Perhaps adding a standalone project into the examples folder would be good.


-- 
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: notifications-unsubscribe@logging.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Create basic documentation on using Log4cxx in your projects [logging-log4cxx]

Posted by "swebb2066 (via GitHub)" <gi...@apache.org>.
swebb2066 commented on issue #229:
URL: https://github.com/apache/logging-log4cxx/issues/229#issuecomment-1809640003

   As with most things a think would be a good idea, [it has already been done](https://ilyas-hamadouche.medium.com/c-package-management-with-conan-introduction-8c7bd928c009)


-- 
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: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Create basic documentation on using Log4cxx in your projects [logging-log4cxx]

Posted by "rm5248 (via GitHub)" <gi...@apache.org>.
rm5248 closed issue #229: Create basic documentation on using Log4cxx in your projects
URL: https://github.com/apache/logging-log4cxx/issues/229


-- 
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: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Create basic documentation on using Log4cxx in your projects [logging-log4cxx]

Posted by "rm5248 (via GitHub)" <gi...@apache.org>.
rm5248 commented on issue #229:
URL: https://github.com/apache/logging-log4cxx/issues/229#issuecomment-1806813370

   I was thinking that we just need some pages on the website, I don't think an actual example is needed(although it could be useful).  My thought was something like the following:
   
   To use with CMake, add the following:
   ```
   find_package(log4cxx)
   
   ...
   target_link_libraries(target PRIVATE log4cxx::log4cxx)
   ```
   
   To use with CMake using pkg-config, add the following:
   ```
   find_package(PkgConfig)
   pkg_check_modules( log4cxx REQUIRED liblog4cxx )
   ...
   target_link_libraries(target PRIVATE ${log4cxx_LIBRARIES})
   ```
   
   To use with vcpkg, add the following to your vcpkg.json:
   ```
   "dependencies": [
       {
         "name": "log4cxx",
         "version>=": "1.0.0#6"
       }
    }
   ```
   
   Here's a few possible examples we could add:
   
   - CMake
   - CMake with pkgconfig
   - CMake with Externalproject
   - Meson
   - vcpkg
   - conan
   - autotools
   


-- 
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: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Create basic documentation on using Log4cxx in your projects [logging-log4cxx]

Posted by "swebb2066 (via GitHub)" <gi...@apache.org>.
swebb2066 commented on issue #229:
URL: https://github.com/apache/logging-log4cxx/issues/229#issuecomment-1806662904

   I would like to make a start on this. Having just answered a stackoverflow question from a new C++ user using make (: I can see the urgent need.
   
   I suggest a per package manager example. I can start with a conan example. Do you have a perference for what the actual C++ should do? 


-- 
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: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org