Skip to content

Commit

Permalink
Codeblocks: enable building with c++11
Browse files Browse the repository at this point in the history
This also adds the necessary boost::thread linker option required by
recent loadscreen code.
  • Loading branch information
Vultraz committed Mar 30, 2016
1 parent 1f52abc commit c97a5d1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions projectfiles/CodeBlocks/liblua.cbp
Expand Up @@ -31,6 +31,7 @@
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-std=c++11" />
<Add directory="../../src" />
</Compiler>
<Unit filename="../../src/lua/lapi.cpp">
Expand Down
2 changes: 2 additions & 0 deletions projectfiles/CodeBlocks/wesnoth.cbp
Expand Up @@ -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" />
Expand Down Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions projectfiles/CodeBlocks/wesnothd.cbp
Expand Up @@ -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" />
Expand Down

0 comments on commit c97a5d1

Please sign in to comment.