Git Product home page Git Product logo

Comments (3)

wilx avatar wilx commented on May 27, 2024

I have tried the following change but all it did was create less informed CPackConfig.cmake file:

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -70,6 +70,8 @@ option(ENABLE_SYMBOLS_VISIBILITY
   "Enable compiler and platform specific options for symbols visibility"
   ON)

+option(LOG4CPLUS_ENABLE_CPACK "Enable CPack packaging" ON)
+
 option(WITH_UNIT_TESTS "Enable unit tests" ON)
 if (WITH_UNIT_TESTS)
   set (LOG4CPLUS_WITH_UNIT_TESTS 1)
@@ -152,4 +154,6 @@ if (LOG4CPLUS_QT5)
   add_subdirectory (qt5debugappender)
 endif (LOG4CPLUS_QT5)

-include(Log4CPlusCPack.cmake)
+if (LOG4CPLUS_ENABLE_CPACK)
+  include(Log4CPlusCPack.cmake)
+endif (LOG4CPLUS_ENABLE_CPACK)

Do you have any suggestion on how to do what you want? Or a patch even? :)

from log4cplus.

theirix avatar theirix commented on May 27, 2024

It is exactly the patch I had wrote in a local repo. But after a few thougths I discovered that CPack disabling was not a solution for my problem so this issue is not important for me now:)

from log4cplus.

wilx avatar wilx commented on May 27, 2024

OK. I am closing this as invalid then.

from log4cplus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.