1553 Commits

Author SHA1 Message Date
otavepto
01f7fea9f9 use premkae flag dedicated to parallel build 2024-06-02 05:15:45 +03:00
otavepto
c1765eb02f add missing libs for windows, allowing MinGW to link properly 2024-06-02 05:15:45 +03:00
otavepto
44a40b30c2 use path.join everywhere deps folder is mentioned 2024-06-02 05:15:45 +03:00
otavepto
8ef5a9c5b1 locate deps in a subfolder according to premake _ACTION 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
bd81939cee solve a spam of warnings on MinGW because of #define __cdecl, I know this is bad but the amount of spam is too much also this file is rarily changed 2024-06-02 05:15:45 +03:00
otavepto
773d8e44f5 fix linking in Windows for MinGW, FINALLY!, api_regular links! 2024-06-02 05:15:45 +03:00
otavepto
78ff7e2cd6 comment on why -static is used with MinGW build 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
49dc226bc6 track upgraded submodule third-party/common/deps, curl v8.8.0 fixes MinGW compilation: https://github.com/curl/curl/issues/13579 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
b1c5b69349 logical/virtual file organization for VS 2024-06-02 05:15:45 +03:00
otavepto
cf38fda135 use path.getabsolute since os.realpath will return nil if the file 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
f2e9beacd8 fix libssq dep path when generating for msys2 or native gnu make 2024-06-02 05:15:45 +03:00
otavepto
4b484e0df9 extract all deps 2024-06-02 05:15:45 +03:00
otavepto
8308841eda track updated submodules third-party/deps/* 2024-06-02 05:15:45 +03:00
otavepto
a930a41110 fix lobby_connect compilation, this macro was already removed from later versions of the sdk 2024-06-02 05:15:45 +03:00
otavepto
39a1449bfe fix gamepad.c linking on msys2 2024-06-02 05:15:45 +03:00
otavepto
b2501ef457 fix that mistake! 2024-06-02 05:15:45 +03:00
otavepto
d2ee753b78 win32_lean_and_mean 2024-06-02 05:15:45 +03:00
otavepto
8ff4bc72c6 fix steamclient_extra linking error with AddressOfReturnAddress() 2024-06-02 05:15:45 +03:00
otavepto
3713a9c5f9 refactor/move common mingw options together + fix generate_interfaces compilation by making -municode project specific not global 2024-06-02 05:15:45 +03:00
otavepto
dd356dde92 remove empty filter 2024-06-02 05:15:45 +03:00
otavepto
02d3a70574 fix compilation of steamclient_extra on msys2 2024-06-02 05:15:45 +03:00
otavepto
0f53c0481f fix compilation of networkingsockets lib on msys2 2024-06-02 05:15:45 +03:00