Re: [Cppcms-users] How to compile cppcms with c++11
Brought to you by:
artyom-beilis
|
From: Shiv S. D. <shi...@gm...> - 2013-12-02 09:02:42
|
I like to change CMakeLists.txt because typing again and again on command line is painful for me. On Mon, Dec 2, 2013 at 2:19 PM, 陈抒 <csf...@gm...> wrote: > I decided to upgrade all my c++ apps to c++11. > One people who answered my question on stackoveflow suggests building > everything with c++11 for prevent ABI compatibility problems. > http://stackoverflow.com/questions/20320290/compiling-boost-1-55-with-c11 > > That's why I am trying building cppcms with c++11 option. Just in case. > > > > Dean Chen > Best regards > http://blog.csdn.net/csfreebird > > > On Mon, Dec 2, 2013 at 4:32 PM, Marcel Hellwig <ke...@co...> wrote: > >> 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 >> >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Respect, Shiv Shankar Dayal |