1667 Commits

Author SHA1 Message Date
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
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