Re: [CMake] non-set-able variables

2009-12-01 Thread Voisard, Shane S CIV NSWCDD, K54
I did not thoroughly test the CMAKE_CONFIGURATION_TYPES problem that I previously reported. I must have confused this problem with a similar problem that I encountered when I tried (and failed) to set CMAKE_BINARY_DIR when running the command-line cmake. I re-tested this problem and found that

Re: [CMake] non-set-able variables

2009-11-30 Thread Tyler Roscoe
On Tue, Nov 24, 2009 at 04:15:19PM -0600, Voisard, Shane S CIV NSWCDD, K54 wrote: > set (CMAKE_CONFIGURATION_TYPES "Release" CACHE STRING "" FORCE) > > I tried this alternative, with no effect, based upon online 2.6 documentation: > > set (CMAKE_CONFIGURATION_TYPES "Release" CACHE INTERNAL "" FO

[CMake] non-set-able variables

2009-11-24 Thread Voisard, Shane S CIV NSWCDD, K54
I made my parent script cd into my "binary_dir", execute (the command-line) cmake from there and all is well . except for another set command (in the top-level CMakeLists.txt) that is no longer effective: set (CMAKE_CONFIGURATION_TYPES "Release" CACHE STRING "" FORCE) I tried this alternati