[CMake] setting CMAKE_BINARY_DIR has no effect

2009-11-24 Thread Voisard, Shane S CIV NSWCDD, K54
command line cmake (2.6.4) is always putting the generated build files under the current working directory from which cmake is executed, regardless of the value of CMAKE_BINARY_DIR. I have this directory tree; the names are symbolic, not absolute: parent (current working dir) | |

Re: [CMake] setting CMAKE_BINARY_DIR has no effect

2009-11-24 Thread David Cole
You can't set any of those variables. They are all determined by CMake. The CMAKE_BINARY_DIR is the current working directory when you run cmake or ccmake for the very first time. Or, if you are running cmake-gui, you can set it to a value before the first configure. After that, it is set in