Skip to content

Commit

Permalink
Update Wesnoth Code::Blocks project files (#2386)
Browse files Browse the repository at this point in the history
  • Loading branch information
newfrenchy83 authored and jyrkive committed Jan 20, 2018
1 parent 1aaac42 commit 9d2765e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 4 additions & 5 deletions projectfiles/CodeBlocks/README.md
Expand Up @@ -9,16 +9,15 @@
2. Install CodeBlocks from <http://www.codeblocks.org/>.
MinGW is not needed.

3. Install tdm-gcc-5.1.0 from <http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/>.
3. Download and unpack MinGW-w64 from https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/7.2.0/threads-posix/dwarf/i686-7.2.0-release-posix-dwarf-rt_v5-rev0.7z or
https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/7.2.0/threads-posix/sjlj/i686-7.2.0-release-posix-sjlj-rt_v5-rev0.7z.
Note that the project files in `wesnoth_root/projectfiles/CodeBlocks/` may
contain a setting to compile with OpenMP support, so you should make sure
that this option is enabled while installing the compiler (mark the
checkbox for this when choosing components to install).

NOTE: Newer versions of tdm-gcc may not work. The above is the latest version
confirmed to build. You must also make sure to download the 32-bit version
(tdm-gcc-5.1.0-3.exe), NOT the 64-bit version (tdm64-gcc-5.1.0-2.exe). Building
a 64-bit Wesnoth executable on Windows is currently not supported and will
NOTE: You must make sure to download the 32-bit version.
Building a 64-bit Wesnoth executable on Windows is currently not supported and will
fail with the SDK package provided in the next step.

4. Download the latest `CodeBlocksWinSDK*.zip` package from <http://sourceforge.net/projects/wesnoth/files/SDK/>.
Expand Down
2 changes: 2 additions & 0 deletions projectfiles/CodeBlocks/wesnothd.cbp
Expand Up @@ -90,6 +90,8 @@
<Unit filename="../../src/log_windows.hpp" />
<Unit filename="../../src/mt_rng.cpp" />
<Unit filename="../../src/mt_rng.hpp" />
<Unit filename="../../src/random.cpp" />
<Unit filename="../../src/random.hpp" />
<Unit filename="../../src/seed_rng.cpp" />
<Unit filename="../../src/seed_rng.hpp" />
<Unit filename="../../src/serialization/binary_or_text.cpp" />
Expand Down

0 comments on commit 9d2765e

Please sign in to comment.