Update Code::Blocks project (#3585)
This commit is contained in:
parent
ae4ef058ed
commit
248af054c7
5 changed files with 206 additions and 37 deletions
30
packaging/windows/campaignd.rc
Normal file
30
packaging/windows/campaignd.rc
Normal file
|
@ -0,0 +1,30 @@
|
|||
#include "windows.h"
|
||||
#include "../../src/wesconfig.h"
|
||||
|
||||
WESNOTH_ICON ICON "wesnoth-icon.ico"
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION RC_VERSION_MAJOR, RC_VERSION_MINOR, RC_VERSION_REVISION, 0
|
||||
PRODUCTVERSION RC_VERSION_MAJOR, RC_VERSION_MINOR, RC_VERSION_REVISION, 0
|
||||
FILEOS VOS__WINDOWS32
|
||||
FILETYPE VFT_APP
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "040904b0"
|
||||
BEGIN
|
||||
VALUE "FileDescription", "Wesnoth Campaign Server\0"
|
||||
VALUE "InternalName", "campaignd\0"
|
||||
VALUE "OriginalFilename", "campaignd.exe\0"
|
||||
VALUE "FileVersion", VERSION "\0"
|
||||
VALUE "ProductVersion", VERSION "\0"
|
||||
VALUE "ProductName", "The Battle for Wesnoth\0"
|
||||
VALUE "CompanyName", "The Battle for Wesnoth Project\0"
|
||||
VALUE "LegalCopyright", "(C) 2003-2018 The Battle for Wesnoth Project\0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0x409, 1200
|
||||
END
|
||||
END
|
155
projectfiles/CodeBlocks/campaignd.cbp
Normal file
155
projectfiles/CodeBlocks/campaignd.cbp
Normal file
|
@ -0,0 +1,155 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<CodeBlocks_project_file>
|
||||
<FileVersion major="1" minor="6" />
|
||||
<Project>
|
||||
<Option title="campaignd" />
|
||||
<Option pch_mode="2" />
|
||||
<Option compiler="gcc" />
|
||||
<Build>
|
||||
<Target title="Release">
|
||||
<Option output="../../campaignd" prefix_auto="1" extension_auto="1" />
|
||||
<Option working_dir="../../" />
|
||||
<Option object_output=".objs-release" />
|
||||
<Option type="1" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-O3" />
|
||||
</Compiler>
|
||||
</Target>
|
||||
<Target title="Debug">
|
||||
<Option output="../../campaignd-debug" prefix_auto="1" extension_auto="1" />
|
||||
<Option working_dir="../../" />
|
||||
<Option object_output=".objs-debug" />
|
||||
<Option type="1" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-g" />
|
||||
</Compiler>
|
||||
</Target>
|
||||
</Build>
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-std=c++17" />
|
||||
<Add option="-mthreads" />
|
||||
<Add option="-fexceptions" />
|
||||
<Add option="-fdiagnostics-show-option" />
|
||||
<Add option="-fopenmp" />
|
||||
<Add option="-Wunused" />
|
||||
<Add option="-Wunused-parameter" />
|
||||
<Add option="-DHAVE_PYTHON" />
|
||||
<Add option="-DUSE_GZIP" />
|
||||
<Add option="-D_WIN32_WINNT=0x0501" />
|
||||
<Add option="-D_WIN32_IE=0x0501" />
|
||||
<Add directory="../../src" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-mthreads" />
|
||||
<Add option="-fopenmp" />
|
||||
<Add library="mingw32" />
|
||||
<Add library="mingwthrd" />
|
||||
<Add library="SDL2main" />
|
||||
<Add library="SDL2" />
|
||||
<Add library="ws2_32" />
|
||||
<Add library="wsock32" />
|
||||
<Add library="shlwapi" />
|
||||
<Add library="libboost_iostreams-mgw51-mt-1_64" />
|
||||
<Add library="libboost_bzip2-mgw51-mt-1_64" />
|
||||
<Add library="libboost_filesystem-mgw51-mt-1_64" />
|
||||
<Add library="libboost_locale-mgw51-mt-1_64" />
|
||||
<Add library="libboost_program_options-mgw51-mt-1_64" />
|
||||
<Add library="libboost_random-mgw51-mt-1_64" />
|
||||
<Add library="libboost_regex-mgw51-mt-1_64" />
|
||||
<Add library="libboost_system-mgw51-mt-1_64" />
|
||||
<Add library="libboost_thread-mgw51-mt-1_64" />
|
||||
<Add library="libboost_timer-mgw51-mt-1_64" />
|
||||
<Add library="libboost_zlib-mgw51-mt-1_64" />
|
||||
<Add library="libole32" />
|
||||
<Add library="libuuid" />
|
||||
<Add library="libcrypto-1_1"/>
|
||||
<Add library="winmm" />
|
||||
<Add directory="./" />
|
||||
</Linker>
|
||||
<Unit filename="../../packaging/windows/campaignd.rc">
|
||||
<Option compilerVar="WINDRES" />
|
||||
</Unit>
|
||||
<Unit filename="../../src/crypt_blowfish/crypt_blowfish.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="../../src/crypt_blowfish/crypt_blowfish.h" />
|
||||
<Unit filename="../../src/about.hpp" />
|
||||
<Unit filename="../../src/addon/validation.cpp" />
|
||||
<Unit filename="../../src/addon/validation.hpp" />
|
||||
<Unit filename="../../src/campaign_server/addon_utils.cpp" />
|
||||
<Unit filename="../../src/campaign_server/addon_utils.hpp" />
|
||||
<Unit filename="../../src/campaign_server/blacklist.cpp" />
|
||||
<Unit filename="../../src/campaign_server/blacklist.hpp" />
|
||||
<Unit filename="../../src/campaign_server/campaign_server.cpp" />
|
||||
<Unit filename="../../src/campaign_server/campaign_server.hpp" />
|
||||
<Unit filename="../../src/campaign_server/control.hpp" />
|
||||
<Unit filename="../../src/campaign_server/fs_commit.cpp" />
|
||||
<Unit filename="../../src/campaign_server/fs_commit.hpp" />
|
||||
<Unit filename="../../src/color.cpp" />
|
||||
<Unit filename="../../src/color.hpp" />
|
||||
<Unit filename="../../src/color_range.cpp" />
|
||||
<Unit filename="../../src/config.cpp" />
|
||||
<Unit filename="../../src/config.hpp" />
|
||||
<Unit filename="../../src/config_attribute_value.cpp" />
|
||||
<Unit filename="../../src/config_attribute_value.hpp" />
|
||||
<Unit filename="../../src/filesystem.hpp" />
|
||||
<Unit filename="../../src/filesystem.cpp" />
|
||||
<Unit filename="../../src/filesystem_common.cpp" />
|
||||
<Unit filename="../../src/filesystem_sdl.cpp" />
|
||||
<Unit filename="../../src/filesystem_win32.ii" />
|
||||
<Unit filename="../../src/font/constants.cpp" />
|
||||
<Unit filename="../../src/font/constants.hpp" />
|
||||
<Unit filename="../../src/game_config.cpp" />
|
||||
<Unit filename="../../src/game_config.hpp" />
|
||||
<Unit filename="../../src/game_version.cpp" />
|
||||
<Unit filename="../../src/game_version.hpp" />
|
||||
<Unit filename="../../src/gettext.hpp" />
|
||||
<Unit filename="../../src/gettext.cpp" />
|
||||
<Unit filename="../../src/global.hpp" />
|
||||
<Unit filename="../../src/hash.cpp" />
|
||||
<Unit filename="../../src/hash.hpp" />
|
||||
<Unit filename="../../src/libc_error.hpp" />
|
||||
<Unit filename="../../src/log.cpp" />
|
||||
<Unit filename="../../src/log.hpp" />
|
||||
<Unit filename="../../src/log_windows.cpp" />
|
||||
<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/base64.cpp" />
|
||||
<Unit filename="../../src/serialization/base64.hpp" />
|
||||
<Unit filename="../../src/serialization/binary_or_text.cpp" />
|
||||
<Unit filename="../../src/serialization/binary_or_text.hpp" />
|
||||
<Unit filename="../../src/serialization/compression.hpp" />
|
||||
<Unit filename="../../src/serialization/parser.cpp" />
|
||||
<Unit filename="../../src/serialization/parser.hpp" />
|
||||
<Unit filename="../../src/serialization/preprocessor.cpp" />
|
||||
<Unit filename="../../src/serialization/preprocessor.hpp" />
|
||||
<Unit filename="../../src/serialization/string_utils.cpp" />
|
||||
<Unit filename="../../src/serialization/string_utils.hpp" />
|
||||
<Unit filename="../../src/serialization/tokenizer.cpp" />
|
||||
<Unit filename="../../src/serialization/unicode.cpp" />
|
||||
<Unit filename="../../src/serialization/unicode.hpp" />
|
||||
<Unit filename="../../src/server/server_base.cpp" />
|
||||
<Unit filename="../../src/server/server_base.hpp" />
|
||||
<Unit filename="../../src/server/simple_wml.cpp" />
|
||||
<Unit filename="../../src/server/simple_wml.hpp" />
|
||||
<Unit filename="../../src/server/user_handler.cpp" />
|
||||
<Unit filename="../../src/server/user_handler.hpp" />
|
||||
<Unit filename="../../src/tstring.cpp" />
|
||||
<Unit filename="../../src/tstring.hpp" />
|
||||
<Unit filename="../../src/util.hpp" />
|
||||
<Unit filename="../../src/wesconfig.h" />
|
||||
<Extensions>
|
||||
<code_completion />
|
||||
<debugger />
|
||||
<envvars />
|
||||
</Extensions>
|
||||
</Project>
|
||||
</CodeBlocks_project_file>
|
|
@ -80,6 +80,8 @@
|
|||
<Add library="libcrypto-1_1" />
|
||||
<Add library="winmm" />
|
||||
<Add library="libglew32" />
|
||||
<Add library="libole32" />
|
||||
<Add library="libuuid" />
|
||||
<Add library="opengl32" />
|
||||
<Add directory="./" />
|
||||
</Linker>
|
||||
|
@ -89,7 +91,7 @@
|
|||
<Unit filename="../../src/crypt_blowfish/crypt_blowfish.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="../../src/crypt_blowfish/crypt_blowfish.h" />
|
||||
<Unit filename="../../src/crypt_blowfish/crypt_blowfish.h"/>
|
||||
<Unit filename="../../src/about.cpp" />
|
||||
<Unit filename="../../src/about.hpp" />
|
||||
<Unit filename="../../src/actions/advancement.cpp" />
|
||||
|
@ -245,14 +247,6 @@
|
|||
<Unit filename="../../src/cursor.hpp" />
|
||||
<Unit filename="../../src/deprecation.cpp" />
|
||||
<Unit filename="../../src/deprecation.hpp" />
|
||||
<Unit filename="../../src/desktop/apple_battery_info.mm" />
|
||||
<Unit filename="../../src/desktop/apple_battery_info.hpp" />
|
||||
<Unit filename="../../src/desktop/apple_notification.mm" />
|
||||
<Unit filename="../../src/desktop/apple_notification.hpp" />
|
||||
<Unit filename="../../src/desktop/apple_version.mm" />
|
||||
<Unit filename="../../src/desktop/apple_version.hpp" />
|
||||
<Unit filename="../../src/desktop/battery_info.cpp" />
|
||||
<Unit filename="../../src/desktop/battery_info.hpp"/>
|
||||
<Unit filename="../../src/desktop/clipboard.cpp" />
|
||||
<Unit filename="../../src/desktop/clipboard.hpp" />
|
||||
<Unit filename="../../src/desktop/notifications.cpp" />
|
||||
|
@ -263,8 +257,6 @@
|
|||
<Unit filename="../../src/desktop/paths.hpp" />
|
||||
<Unit filename="../../src/desktop/version.cpp" />
|
||||
<Unit filename="../../src/desktop/version.hpp" />
|
||||
<Unit filename="../../src/desktop/windows_battery_info.cpp" />
|
||||
<Unit filename="../../src/desktop/windows_battery_info.hpp" />
|
||||
<Unit filename="../../src/desktop/windows_tray_notification.cpp" />
|
||||
<Unit filename="../../src/desktop/windows_tray_notification.hpp" />
|
||||
<Unit filename="../../src/display.cpp" />
|
||||
|
@ -273,8 +265,6 @@
|
|||
<Unit filename="../../src/display_chat_manager.hpp" />
|
||||
<Unit filename="../../src/display_context.cpp" />
|
||||
<Unit filename="../../src/display_context.hpp" />
|
||||
<Unit filename="../../src/drawing_queue.cpp" />
|
||||
<Unit filename="../../src/drawing_queue.hpp" />
|
||||
<Unit filename="../../src/editor/action/action.cpp" />
|
||||
<Unit filename="../../src/editor/action/action.hpp" />
|
||||
<Unit filename="../../src/editor/action/action_base.hpp" />
|
||||
|
@ -348,8 +338,6 @@
|
|||
<Unit filename="../../src/filesystem_sdl.cpp" />
|
||||
<Unit filename="../../src/floating_label.cpp" />
|
||||
<Unit filename="../../src/floating_label.hpp" />
|
||||
<Unit filename="../../src/floating_textbox.cpp" />
|
||||
<Unit filename="../../src/floating_textbox.hpp" />
|
||||
<Unit filename="../../src/font/constants.cpp" />
|
||||
<Unit filename="../../src/font/constants.hpp" />
|
||||
<Unit filename="../../src/font/font_config.cpp" />
|
||||
|
@ -484,8 +472,6 @@
|
|||
<Unit filename="../../src/gui/auxiliary/iterator/walker_tree_node.hpp" />
|
||||
<Unit filename="../../src/gui/auxiliary/iterator/walker_widget.cpp" />
|
||||
<Unit filename="../../src/gui/auxiliary/iterator/walker_widget.hpp" />
|
||||
<Unit filename="../../src/gui/auxiliary/old_markup.cpp" />
|
||||
<Unit filename="../../src/gui/auxiliary/old_markup.hpp" />
|
||||
<Unit filename="../../src/gui/auxiliary/tips.cpp" />
|
||||
<Unit filename="../../src/gui/auxiliary/tips.hpp" />
|
||||
<Unit filename="../../src/gui/auxiliary/typed_formula.hpp" />
|
||||
|
@ -545,7 +531,8 @@
|
|||
<Unit filename="../../src/gui/dialogs/chat_log.hpp" />
|
||||
<Unit filename="../../src/gui/dialogs/command_console.cpp" />
|
||||
<Unit filename="../../src/gui/dialogs/command_console.hpp" />
|
||||
<Unit filename="../../src/gui/dialogs/core_selection.cpp" />
|
||||
<Unit filename="../../src/gui/dialogs/core_selection.cpp" />
|
||||
<Unit filename="../../src/gui/dialogs/core_selection.hpp" />
|
||||
<Unit filename="../../src/gui/dialogs/debug_clock.cpp" />
|
||||
<Unit filename="../../src/gui/dialogs/debug_clock.hpp" />
|
||||
<Unit filename="../../src/gui/dialogs/depcheck_confirm_change.cpp" />
|
||||
|
@ -602,9 +589,10 @@
|
|||
<Unit filename="../../src/gui/dialogs/gamestate_inspector.hpp" />
|
||||
<Unit filename="../../src/gui/dialogs/help_browser.cpp" />
|
||||
<Unit filename="../../src/gui/dialogs/help_browser.hpp" />
|
||||
<Unit filename="../../src/gui/dialogs/helper.hpp" />
|
||||
<Unit filename="../../src/gui/dialogs/hotkey_bind.cpp" />
|
||||
<Unit filename="../../src/gui/dialogs/hotkey_bind.hpp" />
|
||||
<Unit filename="../../src/gui/dialogs/ingame_ui_base.cpp" />
|
||||
<Unit filename="../../src/gui/dialogs/ingame_ui_base.hpp" />
|
||||
<Unit filename="../../src/gui/dialogs/label_settings.cpp" />
|
||||
<Unit filename="../../src/gui/dialogs/label_settings.hpp" />
|
||||
<Unit filename="../../src/gui/dialogs/language_selection.cpp" />
|
||||
|
@ -733,8 +721,6 @@
|
|||
<Unit filename="../../src/gui/widgets/label.hpp" />
|
||||
<Unit filename="../../src/gui/widgets/listbox.cpp" />
|
||||
<Unit filename="../../src/gui/widgets/listbox.hpp" />
|
||||
<Unit filename="../../src/gui/widgets/map_viewer.cpp" />
|
||||
<Unit filename="../../src/gui/widgets/map_viewer.hpp" />
|
||||
<Unit filename="../../src/gui/widgets/matrix.cpp" />
|
||||
<Unit filename="../../src/gui/widgets/matrix.hpp" />
|
||||
<Unit filename="../../src/gui/widgets/menu_button.cpp" />
|
||||
|
@ -813,8 +799,6 @@
|
|||
<Unit filename="../../src/help/constants.hpp" />
|
||||
<Unit filename="../../src/help/help.cpp" />
|
||||
<Unit filename="../../src/help/help.hpp" />
|
||||
<Unit filename="../../src/help/help_text_area.cpp" />
|
||||
<Unit filename="../../src/help/help_text_area.hpp" />
|
||||
<Unit filename="../../src/help/manager.cpp" />
|
||||
<Unit filename="../../src/help/manager.hpp" />
|
||||
<Unit filename="../../src/help/section.cpp" />
|
||||
|
@ -1037,6 +1021,8 @@
|
|||
<Unit filename="../../src/sdl/window.hpp" />
|
||||
<Unit filename="../../src/seed_rng.cpp" />
|
||||
<Unit filename="../../src/seed_rng.hpp" />
|
||||
<Unit filename="../../src/serialization/base64.cpp" />
|
||||
<Unit filename="../../src/serialization/base64.hpp" />
|
||||
<Unit filename="../../src/serialization/binary_or_text.cpp" />
|
||||
<Unit filename="../../src/serialization/binary_or_text.hpp" />
|
||||
<Unit filename="../../src/serialization/compression.hpp" />
|
||||
|
@ -1059,8 +1045,6 @@
|
|||
<Unit filename="../../src/serialization/validator.hpp" />
|
||||
<Unit filename="../../src/map_settings.cpp" />
|
||||
<Unit filename="../../src/map_settings.hpp" />
|
||||
<Unit filename="../../src/show_dialog.cpp" />
|
||||
<Unit filename="../../src/show_dialog.hpp" />
|
||||
<Unit filename="../../src/side_filter.cpp" />
|
||||
<Unit filename="../../src/side_filter.hpp" />
|
||||
<Unit filename="../../src/sound.cpp" />
|
||||
|
@ -1216,17 +1200,6 @@
|
|||
<Unit filename="../../src/whiteboard/utility.cpp" />
|
||||
<Unit filename="../../src/whiteboard/utility.hpp" />
|
||||
<Unit filename="../../src/whiteboard/visitor.hpp" />
|
||||
<Unit filename="../../src/widgets/button.cpp" />
|
||||
<Unit filename="../../src/widgets/button.hpp" />
|
||||
<Unit filename="../../src/widgets/menu.cpp" />
|
||||
<Unit filename="../../src/widgets/menu.hpp" />
|
||||
<Unit filename="../../src/widgets/menu_style.cpp" />
|
||||
<Unit filename="../../src/widgets/scrollarea.cpp" />
|
||||
<Unit filename="../../src/widgets/scrollarea.hpp" />
|
||||
<Unit filename="../../src/widgets/scrollbar.cpp" />
|
||||
<Unit filename="../../src/widgets/scrollbar.hpp" />
|
||||
<Unit filename="../../src/widgets/textbox.cpp" />
|
||||
<Unit filename="../../src/widgets/textbox.hpp" />
|
||||
<Unit filename="../../src/widgets/widget.cpp" />
|
||||
<Unit filename="../../src/widgets/widget.hpp" />
|
||||
<Unit filename="../../src/wml_exception.cpp" />
|
||||
|
|
|
@ -8,5 +8,8 @@
|
|||
<Project filename="wesnothd.cbp">
|
||||
<Depends filename="liblua.cbp" />
|
||||
</Project>
|
||||
<Project filename="campaignd.cbp">
|
||||
<Depends filename="liblua.cbp" />
|
||||
</Project>
|
||||
</Workspace>
|
||||
</CodeBlocks_workspace_file>
|
||||
|
|
|
@ -63,6 +63,8 @@
|
|||
<Add library="libboost_thread-mgw51-mt-1_64"/>
|
||||
<Add library="libboost_timer-mgw51-mt-1_64"/>
|
||||
<Add library="libboost_zlib-mgw51-mt-1_64"/>
|
||||
<Add library="libole32" />
|
||||
<Add library="libuuid" />
|
||||
<Add library="libcrypto-1_1"/>
|
||||
</Linker>
|
||||
<Unit filename="../../packaging/windows/wesnothd.rc">
|
||||
|
@ -86,7 +88,7 @@
|
|||
<Unit filename="../../src/game_config.cpp" />
|
||||
<Unit filename="../../src/game_config.hpp" />
|
||||
<Unit filename="../../src/gettext.hpp" />
|
||||
<Unit filename="../../src/gettext_boost.cpp" />
|
||||
<Unit filename="../../src/gettext.cpp" />
|
||||
<Unit filename="../../src/global.hpp" />
|
||||
<Unit filename="../../src/libc_error.hpp" />
|
||||
<Unit filename="../../src/log.cpp" />
|
||||
|
@ -99,6 +101,8 @@
|
|||
<Unit filename="../../src/random.hpp" />
|
||||
<Unit filename="../../src/seed_rng.cpp" />
|
||||
<Unit filename="../../src/seed_rng.hpp" />
|
||||
<Unit filename="../../src/serialization/base64.cpp" />
|
||||
<Unit filename="../../src/serialization/base64.hpp" />
|
||||
<Unit filename="../../src/serialization/binary_or_text.cpp" />
|
||||
<Unit filename="../../src/serialization/binary_or_text.hpp" />
|
||||
<Unit filename="../../src/serialization/compression.hpp" />
|
||||
|
@ -108,7 +112,11 @@
|
|||
<Unit filename="../../src/serialization/preprocessor.hpp" />
|
||||
<Unit filename="../../src/serialization/string_utils.cpp" />
|
||||
<Unit filename="../../src/serialization/string_utils.hpp" />
|
||||
<Unit filename="../../src/serialization/string_view.hpp" />
|
||||
<Unit filename="../../src/serialization/tag.cpp" />
|
||||
<Unit filename="../../src/serialization/tag.hpp" />
|
||||
<Unit filename="../../src/serialization/tokenizer.cpp" />
|
||||
<Unit filename="../../src/serialization/tokenizer.hpp" />
|
||||
<Unit filename="../../src/serialization/unicode.cpp" />
|
||||
<Unit filename="../../src/serialization/unicode.hpp" />
|
||||
<Unit filename="../../src/server/ban.cpp" />
|
||||
|
|
Loading…
Add table
Reference in a new issue