Hello,
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?
This is so I can
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
CMAKE_C_FLAGS_DEBUG will be used in the Debug configuration of the
IDE.
So here's the issue:
I want to add a custom command that (at build time) gets fed the same
flags as the compiler.
Say I do the following (modulo errors):
ADD_CUSTOM_COMMAND(
SOURCE ${input_cxx}
COMMAND