Commit Graph

26 Commits

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