I added the following notation to the Useful Variables page of the wiki:
http://www.cmake.org/Wiki/CMake_Useful_Variables#Compilers_and_Tools

"Note that CMAKE_BUILD_TYPE is not initialized with a readable value at configuration time. This is because the user is free to select a build type at build time. Use CMAKE_CFG_INTDIR if you need a variable that evalulates to the correct buld time directory."

I am wondering if this behavior should be considered a bug. Even if not, it's definitely inconsistent with user expectations. I'm not sure my documentation above is wholly correct, but it's a 1st stab at alleviating confusion.


Cheers,
Brandon Van Every

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to