On Fri, May 08, 2009 at 02:51:27PM +0200, David Larsson wrote:
> First, should really CMAKE_CXX_FLAGS affect targets suffixed .c at all?
> Shouldn't it be only for c++ files like suffixed .cpp or .cxx?

I wouldn't think it should, but it's not impossible that CMake would
determine what language a particular library or executable was written
in based on, say, the first few filenames.

> Since it does affect my C file, is there a way of actively remove flags for
> a specific file?

Maybe this?

http://www.cmake.org/cmake/help/cmake2.6docs.html#command:set_source_files_properties

tyler
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to