From: Geoffrey F. <Geo...@at...> - 2009-04-24 18:59:46
|
Andrew Ross writes: > Just one thought. I use CMAKE_INSTALL_PREFIX all the time and it has > always just worked for me. Are you sure you are working in a completely > clean build tree? Resetting CMAKE_INSTALL_PREFIX in an old tree does not > automatically update all the other CMAKE_INSTALL_xxx variables. Cmake > caches a lot of variables to speed up subsequent runs. This doesn't work > if things like paths, locations and software versions change. I suspect > the tcl / tk issues have the same cause. > > Try with a clean build tree. rm -rf * followed by rerunning cmake, did clear the problem and recover reasonable behavior. Thanks. I guess I should've thought of that. I do have another question: How do I accomplish what we might call a "debug build" ? I want all compilation units compiled with -g, and linked appropriately to allow running under the debugger. Is there a simple way to pull that off? |