At 09:09 AM 2/15/2006, Zachary Pincus wrote: >>>I'd like to be able to determine what the current CXX_FLAGS are *at >>>build time*. >>> >>>Specifically, the CXX_FLAGS used will change depending on what >>>configuration type is selected in an IDE. Is there a variable that >>>will expand at build time to the proper flags? >> >>Does this help ? >>http://www.cmake.org/Wiki/CMake_Useful_Variables#Compilers_and_Tools > >Thanks. I'm not sure if that's quite what I need, though. These >variables will expand at cmake configure time. But for IDEs, the >build style isn't set until build time, so I assume there needs to be >a separate build-time variable to look at. Maybe I'm interpreting >things wrong, though.
CMAKE_C_FLAGS_DEBUG will be used in the Debug configuration of the IDE. -Bill _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake