[Paraview] -std=c++11 for a single directory?
B.W.H. van Beest
bwvb at xs4all.nl
Wed Oct 1 14:33:40 EDT 2014
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
More information about the ParaView
mailing list