Re: [Cppcms-users] How to compile cppcms with c++11
Brought to you by:
artyom-beilis
|
From: Marcel H. <ke...@co...> - 2013-12-02 08:32:57
|
On 02.12.2013 09:22, Artyom Beilis wrote: Three things: > > (a) You don't need to build CppCMS with C++11 option... CppCMS would take almost no advantage of it as it supports C++03 compilers. > > You still can use it with C++11 option when you build your applications against CppCMS build as ususual - the CppCMS library > would be binary compatible > > (b) To add a flag just use -DCMAKE_CXX_FLAGS=c++11 in cmake command line. You almost never need to change CMakeLists.txt (c) If you compile cppcms with c++11 enabled, all your applications has to be c++11 application as well, elsewise you will get an error (see my thread 'message board fails to build' from 20.01.2013). Regards Marcel |