1674 Commits

Author SHA1 Message Date
otavepto
39efb03cd2 restore custom-cmake option 2024-06-02 05:15:45 +03:00
otavepto
ab7cf031a6 updated readme 2024-06-02 05:15:45 +03:00
otavepto
73ea3c20cc remove all bash/batch deps build scripts 2024-06-02 05:15:45 +03:00
otavepto
56c80c2b9a add premake credits + remove vswhere license (dep to be removed) 2024-06-02 05:15:45 +03:00
otavepto
cae3e5617f added a way to pretty-print functions for MinGw 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
7080ec63d2 track updated submodule to solve mbedtls compilation on 32-bit mingw 2024-06-02 05:15:45 +03:00
otavepto
4b04f28e97 fix missing comma in .rc files, now MinGw can add resources, change dos stub, and sign target binaries, but the resources are not reflected for some reason 2024-06-02 05:15:45 +03:00
otavepto
11f052bd31 fix that stupid filter mistake + remove unnecessary filter reset 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
96c8c1a807 fix overlay linking on MinGw, ALL x64 BINARIES ARE COMPILING/LINKING AND WORKING! 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
d99eed2541 * enable the usage of compiler intrinsics
* replace dynamic lib default visiblity flag & exception handling allowance flag with their premake equivalent options
2024-06-02 05:15:45 +03:00
otavepto
648fe373c7 * use the new override to link with whole archives on MinGw
* link everything statically on MinGw
2024-06-02 05:15:45 +03:00
otavepto
5c1a1d9075 * fix a dumb linking problem with the order of the libs on the command line
* add a premake override to allow specifying whole archives (even when not static)
2024-06-02 05:15:45 +03:00
otavepto
89f4c7bb62 remove controller support from lobby_connect tool 2024-06-02 05:15:45 +03:00
otavepto
baeabff6ec remove custom-cmake otion 2024-06-02 05:15:45 +03:00
otavepto
4c318d32b2 fix lib detours compilation on MinGW (missing header include) 2024-06-02 05:15:45 +03:00
otavepto
5863d61665 proper link/build options for MinGW + reorder them for consistency 2024-06-02 05:15:45 +03:00
otavepto
6bba1efc9e format 2024-06-02 05:15:45 +03:00
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