RE: [CMake] Building a Debug Project against a Release VTK

2006-10-10 Thread Mike Jackson
Mike Jackson wrote: > I just tried to have CMake generate a "debug" build of my project but when > cmake ran it gave me the warning that Cmake was forcing my build type to > Release since that is what VTK was built with. I _understand_ the error. What > I need to know is if there is a way to ac

Re: [CMake] Building a Debug Project against a Release VTK

2006-10-09 Thread Brad King
Mike Jackson wrote: > I just tried to have CMake generate a "debug" build of my project but when > cmake ran it gave me the warning that Cmake was forcing my build type to > Release since that is what VTK was built with. I _understand_ the error. What > I need to know is if there is a way to act

Re: [CMake] Building a Debug Project against a Release VTK

2006-10-09 Thread David Cole
How are you including VTK in your project? If like this: FIND_PACKAGE(VTK) INCLUDE(${VTK_USE_FILE}) then after the INCLUDE line, you should be able to do this: SET(CMAKE_BUILD_TYPE "Debug") and get things limping along... Be advised, though. The warnings are there for a reason. You may see ot

[CMake] Building a Debug Project against a Release VTK

2006-10-09 Thread Mike Jackson
I just tried to have CMake generate a "debug" build of my project but when cmake ran it gave me the warning that Cmake was forcing my build type to Release since that is what VTK was built with. I _understand_ the error. What I need to know is if there is a way to actually build my code with Deb