-3

I am developing a relatively large application using Qt, SystemC, and QCustomPlot libraries. When debugging, it takes a long time for those libraries to load. How can I combine (at CMake level) my own source in debug mode and the mentioned libraries in release mode (or at least without debugging)?

3
  • Generally not possible because of ABI incompatibilities. You can try building "Release" with disabled optimizations in your code though. Commented Oct 26 at 10:12
  • 1
    As said not possible, if you're developing a large application you should be able it into seperate smaller testable and debugable units. E.g. have your business logic implemented in a seperate unit testable lib without depending on Qt libraries ate all. Commented Oct 26 at 11:12
  • Thanks for the reply. I am trying to build smaller testable and debuggable units, and to economize the time of loading those libraries. Commented Oct 28 at 14:51

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.