[CMake] COMPILE_FLAGS_<CONFIG>

Tyler tyler at cryptio.net
Tue Oct 20 12:44:39 EDT 2009


Please reply to the list so others can help.

On Mon, Oct 19, 2009 at 06:11:23PM -0600, Steven Wilson wrote:
> Yes, but CMAKE_CXX_FLAGS_<CONFIG> and CMAKE_C_FLAGS_<CONFIG> are global in
> scope.   I want to be able to make changes to the compilation flags at the
> target level based on the current configuration.

Ok; just wanted to make sure you knew about them.

Can you use set_source_files_properties() or set_target_properties()
with the COMPILE_FLAGS property?

tyler


More information about the CMake mailing list