Hi,

For a new plugin i'm currently writing, I'm using features of c++11.
In order to do so, I need to specify the flag  -std=c++11 to the gcc
compiler.
So far, I'm only able to achieve this by adding the flag -std=c++11 to
the file "flags.make" appearing in a subdirectory of CMakeFiles in the
*build* directory tree. This works, but this flags.cmake is overwritten
every time a new configuration is done (e.g. after a change in
CMakelist.txt).

Where can I specify compile flags that only hold for a given directory?

Kind Regards,
Bertwim


_______________________________________________
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to