6

I am using Cmake GUI 2.8 to build opencv 2.4.10 on a linux machine. I want to build both Debug and Release versions at the same time so that I will have two libraries /lib/Debug and /lib/Release.

I notice that opencv has parameter CMAKE_BUILD_TYPE but don't know how to enable both types.

How do I configure CMake GUI to do that?

2
  • 2
    Is not possible to do them at the same time. You should configure two separate build directories, one for the debug and one for the release builds.
    – Antonio
    Apr 14, 2015 at 19:01
  • okie, what a pity. But you answer my question so please post it as an answer so that I can accept it.
    – Tu Bui
    Apr 15, 2015 at 9:59

1 Answer 1

7

Is not possible to do them at the same time. You should configure two separate build directories, one for the debug and one for the release builds.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.