Dear EasyBuild experts, I would like to enable C++11 inside some EB config file. Usually, in a CMake project, I was doing -DCMAKE_CXX_FLAGS=“-std=c++11”. However EB overrides it if I put it in `configopts`.
If I read the log correctly, EB is setting the optimization options in the CMAKE_CXX_FLAGS. Personally I think this is a wrong behavior, because optimization flags in CMake are delivered by the BuildMode (Debug, Release, …), and those CXXFLAGS should be overridden in CMAKE_CXX_FLAGS_RELEASE. Best regards, Michele