Commit Graph

40 Commits

Author SHA1 Message Date
otavepto
c9d7640da6 attempt to fix CI deps build 2024-06-08 03:25:30 +03:00
otavepto
e4ba0db46c simplify and speed up deps extraction + new cmake flags for updated protobuf 2024-06-08 02:20:32 +03:00
otavepto
fdb8ea1ce1 remove ingame_overlay build fixes, already implemented officially 2024-06-07 19:48:29 +03:00
otavepto
649e90b056 fix compiler flags duplication on linux 2024-06-02 05:15:45 +03:00
otavepto
fc2d4df438 fix duplicate line 2024-06-02 05:15:45 +03:00
otavepto
39efb03cd2 restore custom-cmake option 2024-06-02 05:15:45 +03:00
otavepto
d7f671f9da force /MT even more! (damn whoever created cmake) 2024-06-02 05:15:45 +03:00
otavepto
2183867c16 disable mbedtls fatal warnings 2024-06-02 05:15:45 +03:00
otavepto
41e0335754 fix running help page without _ACTION target 2024-06-02 05:15:45 +03:00
otavepto
e00996447e remove -mwin32, it doesn't seem to do anything 2024-06-02 05:15:45 +03:00
otavepto
baeabff6ec remove custom-cmake otion 2024-06-02 05:15:45 +03:00
otavepto
be91843d8a build deps in a subfolder according to premake _ACTION 2024-06-02 05:15:45 +03:00
otavepto
9b8cf8fe05 after updating curl, these flags are now working! saving extra build time 2024-06-02 05:15:45 +03:00
otavepto
9aed66e9f3 remove this linker flags hack for now 2024-06-02 05:15:45 +03:00
otavepto
a6c53a2c6d use os_ident for cmake toolchain filename instead of os.target() 2024-06-02 05:15:45 +03:00
otavepto
07c6f46c03 remove this cleanup code now 2024-06-02 05:15:45 +03:00
otavepto
1e69939238 the -static flag is meant for the linker not the compiler 2024-06-02 05:15:45 +03:00
otavepto
353dd4f4c5 clean install dir early 2024-06-02 05:15:45 +03:00
otavepto
426d121506 set cmake MSVC runtime lib type regardless of current config, cmake takes care of that for us 2024-06-02 05:15:45 +03:00
otavepto
2646921695 add -static to deps build when building for MinGW, in case one if them is linking with something dynamically 2024-06-02 05:15:45 +03:00
otavepto
1932c06fe5 fix overlay compilation on MinGW, now everything compiles everywhere! 2024-06-02 05:15:45 +03:00
otavepto
ff8358cfb4 fix zlib library name on MinGW / Windows 2024-06-02 05:15:45 +03:00
otavepto
19e024da89 fix conditions for MinGW 2024-06-02 05:15:45 +03:00
otavepto
f2d0f936b0 fix deprecation warning 2024-06-02 05:15:45 +03:00
otavepto
e7ae040795 print events on newlines 2024-06-02 05:15:45 +03:00
otavepto
c8db02ae82 properly fix compilation of ingame_overlay for linux 2024-06-02 05:15:45 +03:00
otavepto
cd32b90984 always force-write the overlay config file in case it's content was changed 2024-06-02 05:15:45 +03:00
otavepto
baa805ec7e fix 32-bit compilation of mbedtls for linux 2024-06-02 05:15:45 +03:00
otavepto
5a44bf7b8e allow adding extra switches/flags to cmake_c/cxx_flags_init 2024-06-02 05:15:45 +03:00
otavepto
2201e94982 add -MT flag to compiler flags only for vs projects, it has a different meaning on linux! 2024-06-02 05:15:45 +03:00
otavepto
7f2fbf8ab0 sanity check for cmake/7-zip and third-party/ existence 2024-06-02 05:15:45 +03:00
otavepto
5f96b4907c force write the cmake toolcahin file everytime just in case the content was changed during each build 2024-06-02 05:15:45 +03:00
otavepto
d724169f3d only enable cmake options for there intended targets 2024-06-02 05:15:45 +03:00
otavepto
bbe0fa934c fix dir flattening for linux 2024-06-02 05:15:45 +03:00
otavepto
0133ffa52e add switches to silence 7-zip header during extraction 2024-06-02 05:15:45 +03:00
otavepto
16d6ad1c31 fix unterminated quotes for cmake install prefix 2024-06-02 05:15:45 +03:00
otavepto
a45ab0987b use path.getabsolute instead of os.realpath since the later returns nil if the path doesn't exist 2024-06-02 05:15:45 +03:00
otavepto
a150541303 all deps now are now building on windows from premake! 2024-06-02 05:15:45 +03:00
otavepto
3b817af13f mostly working build deps premake script, vs2022 and msys2 are working 2024-06-02 05:15:45 +03:00
otavepto
4b484e0df9 extract all deps 2024-06-02 05:15:45 +03:00