...and I just answered my own question. I had to set the CMAKE_C_FLAGS
variables even though the project file template appears to use CXX
variables. I assume this is because the project only uses .c files.
Sorry for the spam.

/Andrew

On 5/9/07, Andrew MacDonald <[EMAIL PROTECTED]> wrote:
I have been unable to change the setting of CMAKE_CXX_FLAGS added to a
vc6 project file. The other variables such as BUILD_INCLUDES and
EXTRA_DEFINES work properly. I've tried both of the following

set(CMAKE_CXX_FLAGS "foo")

set(CMAKE_CXX_FLAGS "foo" CACHE STRING "" FORCE)

The latter changes the cache value but still doesn't change the value
in the generated project file. Does anyone know how to do this
properly?

Thanks,
Andrew

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

Reply via email to