Codeblocks: enable building with c++11

This also adds the necessary boost::thread linker option required by
recent loadscreen code.
This commit is contained in:
Charles Dang 2016-03-31 09:37:10 +11:00
parent 1f52abcbfb
commit c97a5d14ff
3 changed files with 4 additions and 0 deletions

View file

@ -31,6 +31,7 @@
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-std=c++11" />
<Add directory="../../src" />
</Compiler>
<Unit filename="../../src/lua/lapi.cpp">

View file

@ -30,6 +30,7 @@
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-std=c++11" />
<Add option="-mthreads" />
<Add option="-fexceptions" />
<Add option="-fdiagnostics-show-option" />
@ -72,6 +73,7 @@
<Add library="libboost_random-mgw51-mt-1_58.a" />
<Add library="libboost_regex-mgw51-mt-1_58.a" />
<Add library="libboost_system-mgw51-mt-1_58.a" />
<Add library="libboost_thread-mgw51-mt-1_58.a" />
<Add library="libboost_zlib-mgw51-mt-1_58.a" />
<Add directory="./" />
</Linker>

View file

@ -29,6 +29,7 @@
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-std=c++11" />
<Add option="-mthreads" />
<Add option="-fexceptions" />
<Add option="-fdiagnostics-show-option" />