Commit graph

1769 commits

Author SHA1 Message Date
mattsc
6a4e0ae03d Update Xcode project with tls_root_store.?pp files 2021-05-21 16:01:40 -07:00
newfrenchy83
7e839a924c
update codeblock projectfiles
Add libssl and some includes for lua_mathx.
2021-05-19 16:39:06 -05:00
Pentarctagon
f54124eea2
1.15.13. 2021-05-15 21:13:52 -05:00
newfrenchy83
612e6c5f84 update codeblock projectfiles 2021-05-12 13:23:35 -05:00
Celtic Minstrel
dddd551765 Add an audio module 2021-05-11 14:52:17 -04:00
Celtic Minstrel
a09f88c1c9 Start a Lua mathx module to hold round, shuffle, random, and a few other things 2021-05-08 17:20:47 -04:00
Pentarctagon
b95d72f9c1 Use cmake to create VS project files.
Due to an upstream change in vcpkg that breaks the simple integration previously available with `vcpkg integrate install`, building using that setup method is no longer possible. In order to work correctly, cmake must instead be used to generate the VS project files, since that is able to integrate with vcpkg, since vcpkg also uses cmake to build all the library dependencies.

An additional benefit of this is that it will no longer be necessary to separately update the VS project files since it will read the same source_lists files as cmake (on linux) and scons do.

This also enables running the WML unit tests on Windows with this in order to confirm that a valid wesnoth.exe is in fact being generated as well as fixes building the boost unit tests.

The warning level for both release and debug builds are now at level three, the remaining warnings have been fixed, and therefore strict builds have been enabled - any warning will now cause the build to fail, just like for the linux jobs.

Known issues:
* The boost unit tests don't actually run successfully - they fail on CI at least with an exit code on 201 - however I don't know if this is a real problem or just a problem with running headless on CI.
* The debug build doesn't quite work since the executables are built against the non-debug dlls but cmake copies over the debug dlls into the output directory. For now this can be worked around by copying the release dlls into the debug directory.
* The instructions in INSTALL.md are not very good since I don't use Windows and thus can't write anything more detailed. Ideally someone who uses Windows can add more detailed step by step instructions at some point.

Fixes #5741
2021-05-07 00:02:02 -05:00
newfrenchy83
03e87ffb2c remove SDL2_ttf.a to codeblock projectfiles 2021-04-27 17:53:49 -05:00
Pentarctagon
384fe35bab
Remove a reference to travis. 2021-04-27 15:29:30 -05:00
Pentarctagon
a09ffa9fd8
Remove sdl2-ttf dependency from VC16 projectfiles. 2021-04-27 11:31:50 -05:00
Pentarctagon
a576b0a180
1.15.12. 2021-04-17 21:44:27 -05:00
Celtic Minstrel
508bc2519e Add a guard_value utility for scoped temporary assignment 2021-04-15 19:02:34 -04:00
newfrenchy83
f70039fe26 update codeblock projectfiles 2021-04-07 11:47:00 -05:00
Celtic Minstrel
74afe17ddf Add the new GUI2 dialog to the unit tests in the Xcode project 2021-04-05 13:35:52 -04:00
Celtic Minstrel
7860b2845b Add some missing test files to the Xcode project 2021-04-05 13:35:52 -04:00
Celtic Minstrel
be4b10a611 Update Xcode project
In addition to the new source file, this adds a number of header files that had been missed in previous updates.
2021-04-04 03:44:10 -04:00
Pentarctagon
6b97a76109 Add a prompt to allow entering an add-on's password at upload time.
This is an alternative to needing to store the plaintext password in the _server.pbl.
2021-04-04 01:28:23 -05:00
Martin Hrubý (hrubymar10)
c59e71b974
Update Xcode project 2021-03-21 10:39:28 +01:00
Pentarctagon
fa5592eb05
1.15.11. 2021-03-20 20:20:24 -05:00
newfrenchy83
1df8572726 Update Codeblock projectfiles 2021-03-17 14:42:18 -05:00
Iris Morelle
a5de22285b Remove orphaned item from VS project 2021-03-16 21:52:15 -03:00
Pentarctagon
b7726b62af
Re-add ptr-container to the VS instructions. 2021-03-16 09:13:02 -05:00
Martin Hrubý (hrubymar10)
a0d1896942
Fix Xcode project 2021-03-13 18:40:27 +01:00
Iris Morelle
56e6d0344f Update VS project files 2021-03-13 13:51:47 -03:00
Iris Morelle
196db7b413 Remove SDL_ttf and FriBidi mentions from INSTALL.md and the VS Readme
[ci skip]
2021-03-13 13:51:47 -03:00
Celtic Minstrel
9346c3c6b6 Oops, that wasn't supposed to be committed 2021-03-06 10:15:09 -05:00
Celtic Minstrel
a96fd147d1 Fix a crash if the cache gets corrupted 2021-03-06 10:07:52 -05:00
Martin Hrubý (hrubymar10)
0cb0f35dc1
Update Xcode project README.md 2021-02-21 16:31:09 +01:00
Martin Hrubý (hrubymar10)
1b12de98f2
Remove changelog from Xcode build and add link instead 2021-02-21 16:27:11 +01:00
Martin Hrubý (hrubymar10)
7ef9548fe0
Disable App Sandbox for Xcode Debug builds 2021-02-21 16:26:39 +01:00
Pentarctagon
ba580774f1
1.15.10. 2021-02-20 18:01:19 -06:00
newfrenchy83
f671d2a678 Update wesnothd.cbp 2021-02-18 14:14:34 -06:00
newfrenchy83
144dd2310e Update wesnoth.cbp 2021-02-18 14:14:34 -06:00
newfrenchy83
6e43b2bd48 Update liblua.cbp 2021-02-18 14:14:34 -06:00
newfrenchy83
f0dae02029 Update tests.cbp 2021-02-18 14:14:34 -06:00
newfrenchy83
0bcd1853e7 revert to c++20 dev to c++17 2021-02-18 14:14:34 -06:00
newfrenchy83
3f131848ea
upgrades codeblock to Lua 5.4.2 (#5556)
* upgrades codeblock to Lua 5.4.2

* fix error

* upgrade to c++20

* upgrade to c++20

* upgradeto c++20

* Update wesnothd.cbp
2021-02-18 02:15:13 +11:00
Charles Dang
561cc33dc4
Upgrade to Lua 5.4.2 (#5535)
The change to static_cast for the definition of  LUAL_BUFFERSIZE replaces the fix previously used (d0100758f8) for Lua 5.3. 5.4 removes the static alternative for LUAL_BUFFERSIZE. A better solution would probably be to disable the old-style-cast warning for luaconf.h, but I can't figure out how to do that so using static_cast is the easiest solution. Do note that change will have to be applied each Lua update like the aforementioned commit.
2021-02-14 02:07:12 +11:00
newfrenchy83
043d49c6c3
fix codeblock projectfiles and update instructions 2021-02-03 19:58:36 +01:00
Pentarctagon
b8d7b96d7b
VS README update. 2021-01-23 16:54:57 -06:00
Charles Dang
f8e58f0625 VS: specify C17 for C code 2021-01-23 18:20:49 +11:00
Charles Dang
c5b1fa9dfd Converted uses of utils::string_view to std::string_view 2021-01-22 11:51:53 +11:00
Charles Dang
51511e582e Boost I do not understand you 2021-01-21 12:03:47 +11:00
Charles Dang
42fa1aa3b5 Cleaned up vcpkg package install list
We no longer need ptr-container or thread.
2021-01-20 21:12:36 +11:00
Martin Hrubý (hrubymar10)
f91f02b4fd
Fix Xcode project 2021-01-17 12:14:39 +01:00
Martin Hrubý (hrubymar10)
22dc527294
Use new automatic signing in Xcode project 2021-01-17 11:58:26 +01:00
newfrenchy83
6f85e689e6
Update codeblock for recent changes (#5455)
* update codeblock for recent changes

* update codeblock test for recent changes

* Update wesnothd.cbp

* Update wesnothd.cbp

* update scons codeblock
2021-01-17 21:45:31 +11:00
Charles Dang
6d155ced61 Updated VS projectfiles for recent changes
- Adding the Match History viewer
- Removing utils/optional_fwd.hpp
- Adding the wesnothd game history query handling
2021-01-17 11:48:22 +11:00
Pentarctagon
1b8479c28a
Update xcode to C++17 as well. 2021-01-16 17:14:00 -06:00
Pentarctagon
cf23d44810
1.15.9. 2021-01-16 11:34:51 -06:00