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:
parent
1f52abcbfb
commit
c97a5d14ff
3 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,7 @@
|
|||
</Build>
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-std=c++11" />
|
||||
<Add directory="../../src" />
|
||||
</Compiler>
|
||||
<Unit filename="../../src/lua/lapi.cpp">
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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" />
|
||||
|
|
Loading…
Add table
Reference in a new issue