Commit graph

86 commits

Author SHA1 Message Date
Edoardo Lolletti
ab4e33086d use externalincludedirs instead of sysincludedirs for xcode compat
sysincludedirs had been deprecated since the beginning of premake5, and is now removed, also removes the need for the workaround to be used only with xcode4
For oldwindows+vs2019 and newer, keep using includedirs, as premake cannot properly handle that configuration and will use an incompatible flag
2026-08-19 10:54:54 +02:00
Edoardo Lolletti
90631e2aa5 always link statically the core even with ygoprodll target
It'll be used as fallback in case no core is dynamically loaded, thus bringing the ygoprodll target on par with the default one, with only extra features available (loading dynamically)
2026-08-13 00:28:37 +02:00
Edoardo Lolletti
3c6b464376 update premake for haiku 2026-07-27 13:00:02 +02:00
Edoardo Lolletti
c69f88c879 add sdl3_mixer as valid sound backend in premake 2026-07-27 00:47:50 +02:00
Edoardo Lolletti
db33d9ab72 don't strip mingw binaries from premake 2026-03-28 11:27:19 +01:00
Edoardo Lolletti
39b9f2cadc add vcpkg-triplet option to premake file 2026-03-24 00:53:40 +01:00
Edoardo Lolletti
0db6758958 fix mingw compilation support 2026-03-22 17:29:57 +01:00
Edoardo Lolletti
73e6ec4953 Use appropriate lto api on recent premake versions
Closes https://github.com/edo9300/edopro/issues/299
2026-02-20 11:17:33 +01:00
Edoardo Lolletti
8c7b303958 Add sdl3 mixer sound backend 2025-08-09 00:59:56 +02:00
Edoardo Lolletti
211672dea4 Use new ocgapi_constants.h file from core
No longer have a copy of common.h seldom updated
2025-06-27 22:10:04 +02:00
Edoardo Lolletti
b931acc74b Support more than one audio backend at the same time
Add infrastucture to be able to pick a specific audio backend via text config
2025-04-26 01:22:06 +02:00
Edoardo Lolletti
df82fe3f56 Update lua linking options for the client 2025-04-10 21:11:04 +02:00
Edoardo Lolletti
c5b8a05010 Add miniaudio sound backend
Currently no opus playback support
2025-02-16 22:54:45 +01:00
gallantron
a1fb1bf7db add sanity checks to the build script
- check for DXSDK_DIR
- check for Irrlicht being present
2024-11-10 00:35:09 +01:00
Edoardo Lolletti
dad306b3a0 Bump cpp version to 17 2024-08-31 18:11:12 +02:00
Edoardo Lolletti
59a4e57b40 Define NDEBUG in all release builds 2024-03-08 10:21:14 +01:00
Edoardo Lolletti
9cd59f610c Support only xp sp3 2023-07-10 17:37:26 +02:00
Edoardo Lolletti
267d3d0d13 Drop support for windows 2000 2023-07-10 17:14:09 +02:00
Edoardo Lolletti
a0f61c17b3 Don't enable lto with mingw and fix startup project with "no-core" option 2023-06-05 11:28:29 +02:00
Edoardo Lolletti
10dc4cd301 Update premake5.lua 2023-06-03 17:34:29 +02:00
Edoardo Lolletti
dc9f5136c5 Support building for ios simulator 2023-06-03 17:20:49 +02:00
Edoardo Lolletti
c0f0c3288c ios: fix building for simulator
[ci skip]
2023-05-21 19:53:53 +02:00
Edoardo Lolletti
5f97cc1609 Fix ios compilation
[ci skip]
2023-05-21 00:15:39 +02:00
Edoardo Lolletti
3e1b636303 Support lua-path option when building client with static core 2023-03-15 20:10:30 +01:00
Edoardo Lolletti
550872e475 Don't enable extra warnings on irrlicht and lzma 2023-02-08 20:33:02 +01:00
Edoardo Lolletti
82898e6efb Fix premake options for msvc 2023-02-08 20:25:05 +01:00
Edoardo Lolletti
cd00f787fe Fix more warnings and enable extra warning level 2023-02-08 20:13:06 +01:00
Edoardo Lolletti
bce9989dbf Fix wrong arch selection in visual studio 2022-11-16 22:40:22 +01:00
Edoardo Lolletti
6b21fe00a0 Add premake option to bundle a font file in the client 2022-10-23 18:56:05 +02:00
Edoardo Lolletti
04f7eeb773 armv7->arm for vcpkg cache 2022-08-25 01:43:32 +02:00
Edoardo Lolletti
7d419f1f13 Update premake5.lua
[ci skip]
2022-08-24 18:33:50 +02:00
Edoardo Lolletti
c1b7e30933 Cleaner way to pass ios-simulator-version-min 2022-08-24 18:24:23 +02:00
Edoardo Lolletti
ae97f56106 Update architecture definition for ios
Makes it build proper binaries for the simulator
2022-08-24 17:50:32 +02:00
Edoardo Lolletti
c6b89982a6 Attempt to fix deploying 2022-08-20 23:01:29 +02:00
Edoardo Lolletti
5a77d3efe2
Ad basic ios support (#245)
Still incomplete but builds and boots to something (at least on the simulator).
Also slightly updated the premake scripts to properly generate build files for various architectures without renaming the vcpkg packages
2022-08-20 22:29:13 +02:00
Edoardo Lolletti
803da6d4c1 Add rule to build asm files if not using vs 2022-08-12 12:43:32 +02:00
Edoardo Lolletti
1d0f59f4b0 Build other visual studio targets as well 2022-07-27 20:53:38 +02:00
Edoardo Lolletti
dae26a2017 Add "no-core" premake option
If set, only the ygoprodll project will be generated, removing the need to having the ocgcore project folder
2022-06-05 12:48:55 +02:00
Edoardo Lolletti
f641336aef Use freetype from cache 2022-04-13 22:19:50 +02:00
Edoardo Lolletti
93baebcc09 Build x64 with xp toolset as well if oldwindows is passed 2022-04-12 11:52:50 +02:00
Edoardo Lolletti
d26d0e7e7b Windows: Use separate bin directory for 64 bit binaries 2022-03-28 22:34:17 +02:00
Edoardo Lolletti
f05cad5806 Allow win32/64 platform solution generation 2022-03-26 20:12:34 +01:00
Edoardo Lolletti
7ce0f9101a statically link libgcc and libstdc++ on linux release 2021-11-26 16:52:51 +01:00
Edoardo Lolletti
bd8c513864 Enamle link time optimization on release build 2021-11-21 01:11:38 +01:00
Edoardo Lolletti
1686b55a1b Add some more mingw flags
[ci skip]
Pass -s compiler flag on release build to strip the binary, pass the various -static flags to buildoptions as well
2021-11-07 00:38:07 +01:00
Edoardo Lolletti
030ff2a024 Add mingw compilation options for premake 2021-05-29 16:34:17 +02:00
Edoardo Lolletti
cd91af244b Use v140_xp toolset with oldwindows and visual studio 2015 2021-05-23 11:14:33 +02:00
Edoardo Lolletti
54432c7066 Make no-joystick premake option default true 2021-05-23 11:09:12 +02:00
edo9300
3f7f555cf7 Windows 2k support 2020-11-13 17:24:49 +01:00
edo9300
6755e9421f Add option to use mpg123 backend with SFML audio backend 2020-11-03 19:46:52 +01:00