[CMake] Change Compiler flags for a single file.

Surya Kiran Gullapalli suryakiran.gullapalli at gmail.com
Thu Feb 28 00:18:23 EST 2008


On Thu, Feb 28, 2008 at 10:12 AM, Bill Lorensen <bill.lorensen at gmail.com>
wrote:

> That's how we do it in itk. It works just fine. How do you know it is
> not working? To see the flags, go into your build tree, and look in
> the file CMakeFiles/foo.dir/flags.make
>
>
> What is the value of ${file}? I assume that ${file} is a file with a
> .cxx (or .c) extension?
>

I'm sorry, I did not see the changed compilation flag. My mistake.

Thanks,
Surya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20080228/a9f70a9f/attachment.htm


More information about the CMake mailing list