Commit Graph
50 Commits
Author SHA1 Message Date
Cesar Canassa e538acb248 📝 Fixes Doxygen warnings (#4904) 2022-07-07 12:51:24 +02:00
ephphatha 4eb42ad0fc Update switch instructions 2022-05-20 19:12:54 +02:00
Anders Jenbo ed45c81f9f Update zlib dependency to 1.2.12 (#4254) 2022-03-29 03:29:11 +02:00
schojo 7fe638ef28 Update building.md (#4153)
Fixed -DCMAKE_TOOLCHAIN_FILE path for Windows 64-Bit compiling
2022-03-11 23:25:54 +01:00
Trihedraf cf15e2cdc7 Improve Visual Studio Instructions 2022-01-22 21:43:20 +01:00
Felipe Wannmacher 8efbcf2058 Xbox One/Series support (#3946) 2022-01-17 12:37:29 +01:00
Yuri Pourre fee49afe60 Update Fedora instructions 2022-01-07 09:34:19 +01:00
Licaon_Kter 0ffba33cdb Add two more Debian deps 2021-12-22 13:28:47 +00:00
Gleb Mazovetskiy 2d3ee0f5fd Emscripten: Add a basic index.html based on emrun
Based on stripped down emrun output
2021-12-20 04:07:34 +00:00
Gleb Mazovetskiy fe7e38695d Emscripten SDK support
Adds support for the Emscripten SDK via CMake.
2021-12-20 04:07:34 +00:00
Matthias Kastner e496e1c4bb Update Fedora build dependencies
Add gmock and cpp-static libraries to Fedora build instructions.
2021-12-19 12:46:59 +00:00
Anders Jenbo 98cd3613a8 Add libgmock-dev to Debian dependencies 2021-12-18 05:32:31 +01:00
Anders Jenbo a6e778a8ca Update building.md 2021-12-17 19:27:01 +01:00
Gleb Mazovetskiy c07172d8b7 building.md: Add googletest 2021-12-17 17:28:34 +00:00
Bubio f9d1ab5913 Fixed iOS build description
Sorry, I made a mistake.
2021-12-13 13:24:54 +01:00
Bubio f382a8b2ed Update iOS Build Descriptions.
- Correct the path of CMAKE_TOOLCHAIN_FILE to the correct one.
2021-12-13 10:56:00 +01:00
Gleb Mazovetskiy 5986a081c3 Amiga: Cleanup build process
1. Run Docker as the current user instead of root,
   removing the need to chown directories.
2. Copy `devilutionx.info` via CMake, removing the need to do it
   manually.
3. Cleanup `prep.sh` somewhat.
2021-12-08 17:59:23 +01:00
Stephen C. Wills dc93d4b377 Use distro zlib package for MinGW instead of SDL-ttf zlib dll 2021-12-08 01:31:20 +01:00
Gleb Mazovetskiy 4848632db2 CMake: Organize files
1. Platform and toolchain files are now all under `platforms/`, with a
   single `CMake/platforms/${platform}.cmake` per platform.

2. Custom functions/macros are under `functions/`.

3. Finder modules are in `/finders`.
2021-12-07 18:32:25 +01:00
Anders Jenbo 8192434bea [ios] Set up build process 2021-12-06 22:01:02 +01:00
Gleb Mazovetskiy c066a3d56d docs/building.md: Modernize cmake commands
Also mention `devilutionx-src.tar.xz`
2021-11-30 16:44:25 +00:00
Stephen C. Wills c15123688a Improve 3DS documentation (#3462) 2021-11-10 18:13:47 +01:00
ephphatha 38de1359a7 Add VS configuration for building in WSL using GCC
This is mainly to help me test code builds under GCC faster than pushing to the remote and letting the build server do it. If someone without WSL installed selects the build target they'll get an error in their IDE, but no harmful impact other than that. The variables should be populated for any WSL2 installation. No idea about WSL1.

The whitespace in this file is showing significant changes because visual studio regenerates the whole file when a change is made, I didn't think it was worth reverting since it'll happen again next time someone makes a change (seems it defaults to spaces...). Added an entry to .editorconfig documenting the format used.
2021-11-08 23:23:39 +01:00
Gleb Mazovetskiy 3d308983a8 Migrate to libmpq
libmpq is a much simpler alternative to StormLib for reading MPQ archives.

We use our own fork of libmpq: https://github.com/diasurgical/libmpq

Impact:

* DevilutionX is now a lot more portable. Unlike StormLib, libmpq only
  needs platform-specific code for Windows.
* Locks around file access **removed** (instead we duplicate the file descriptor for streamed audio only).
* RAM usage is **300 KiB** lower than StormLib.
* Stripped release linux_x86_64 binary is **32 KiB** smaller.
* Amiga build now hangs instead of crashing.
2021-11-06 23:51:42 +00:00
obligaron 9833445421 Make smpq optional for building under windows 2021-10-10 00:51:45 +02:00
staphen 6c847233bf Update link for editing system's PATH environment variable on Windows 10 2021-10-09 13:03:15 +02:00
Thomas Christlieb 1f61e8c57b url to the vcpkg quickstart guide for windows has (slightly) changed 2021-10-05 12:46:34 +02:00
Licaon_Kter 668741a8cf Fix typo in .mpq 2021-10-05 09:05:18 +02:00
ThomasChr d47b24e362 add poedit and smpq to build instructions 2021-10-05 08:56:49 +02:00
staphen 66e1e38161 Add instructions for installing smpq on Windows 2021-09-30 04:43:01 +02:00
Anders Jenbo 4dd8b121ec Replace TTF with PCX font 2021-09-29 18:13:48 +02:00
Kruhol 4f43c391ec Add missing dependecies for VS in build.md 2021-09-28 13:21:00 +02:00
staphen a3effd5e82 Add vcpkg.json to the project 2021-09-25 09:07:08 +02:00
Yuri Pourre 6dbe434045 Fix Fedora build command 2021-09-21 21:43:15 +02:00
staphen 60492ef954 Add proper graphics for gamepad 2021-09-16 19:25:31 +02:00
Sam James c64bcfd24e docs/building.md: mention optional pkgconfig dep for libsodium
Bug: https://github.com/diasurgical/devilutionX/issues/2615
Signed-off-by: Sam James <[email protected]>
2021-08-18 16:03:00 +02:00
Oleksandr Kalko a6219bcfd3 Remove SDL_mixer dependency metions
It's no longer needed as project has switched SDL_audiolib
2021-08-12 13:10:29 +02:00
FreeCap23 e1f2fbcb9b Fixed typo
Changed verion to version
2021-07-03 05:34:07 -07:00
staphen 470a012e2b Update 3DS build instructions 2021-06-17 09:46:38 +02:00
Oleksandr Kalko aae61b0c05 Android building and installation instructions (#2172) 2021-06-15 16:53:51 +02:00
staphen 4640be795d Fix up docs for building and installing on 3DS. 2021-05-05 09:17:13 +02:00
Gleb Mazovetskiy 28571961e9 📝 building.md: Add -DCMAKE_BUILD_TYPE=Release
Users keep building non-release builds by copy-pasting the commands from
here.

As this uses a standard build flag (and not `-DBINARY_RELEASE=ON`),
users who are familiar with CMake or are building for development
will know to remove it.

Meanwhile, users who simply want to build from source will benefit from
optimized builds.

[ci skip]
2021-04-27 15:47:33 +02:00
Gleb Mazovetskiy 8f3f99d357 📝 building.md: BINARY_RELEASE -> CMAKE_BUILD_TYPE
Use the standard option

[ci skip]
2021-04-27 15:47:33 +02:00
Gleb Mazovetskiy af5846b8d5 📝 building.md: Move CROSS_PREFIX to MinGW
It's a MinGW-specific option, not a general one.

[ci skip]
2021-04-27 15:47:33 +02:00
Gleb Mazovetskiy acee2ef14c 🎉 Switch from SDL_mixer to SDL_audiolib
SDL_mixer can only stream a single music track
SDL_audiolib has unlimited streams.

With this change, we finally have streaming sounds (respecting
sfx_STREAM).

Audio options can now also be set via diablo.ini, which should help us
better diagnose the static noise issues.
2021-04-27 00:54:50 +01:00
Gleb Mazovetskiy 62027b2ef3 🔨 AppVeyor: Use system (vcpkg) fmt 2021-04-25 14:34:39 +02:00
obligaron 4a886f43ff Update building.md with gtest 2021-04-25 13:15:35 +02:00
Gleb Mazovetskiy c0ee7fba1a Docs: Amiga: Better "building" command [ci skip]
1. chown the whole directory including dotfile
2. Fix the "copy resources" command (must be chowned first)
2021-04-19 02:42:51 +02:00
Anders Jenbo b22da095ef 📝 Note about providing the version 2021-04-08 13:06:08 +02:00
Anders Jenbo 3752eca470 📝 Split build instructions in to it's own document 2021-04-05 15:19:39 +02:00