visualboyadvance-m/cmake
Rafael Kitover d9432ebb14
build: fix build on MINGW{64,32}/UCRT64 on MSYS2
Pass -Wno-deprecated-copy only for C++, gcc gives a warning for C.

Pass -Wno-unused-command-line-argument for clang only, gcc gives a
warning about it.

Add a failsafe for gcc/clang static link flags if libstdc++ or
libpthread is not available as a static library.

Move link command adjustment script invocations to src/wx, the target is
not yet defined in the toolchain.

Add -lws2_32 to the end of the link command for gcc on Windows because
of link order issues with those symbols.

Disable LTO for gcc on Windows, as it is broken.

Don't install extra-cmake-modules on MINGW32, that package is not
available there.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2024-03-30 20:14:32 +00:00
..
Architecture.cmake build: support MSVC arm64 cross build on x86 2022-12-29 20:29:53 -08:00
ChangeLogVersion.cmake cmake: fix reading version from changelog 2019-10-05 20:32:46 +00:00
FileIterator.cmake cmake: Make FileIterator more correct, add eg.. 2020-01-26 23:35:09 +00:00
FindDirectX.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
FindFFmpeg.cmake build: fixes for mac Homebrew 2023-05-07 23:41:51 +00:00
FindGettext.cmake update translations, add new langs from transifex 2018-08-11 16:18:15 -07:00
FindOpenAL.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
FindSFML.cmake build: cmake refactor and improvements 2024-03-15 16:19:01 +00:00
GetGitRevisionDescription.cmake [Build] Add toolchain-specific files (#1244) 2024-03-13 11:13:55 -07:00
GetGitRevisionDescription.cmake.in rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
GitTagVersion.cmake [Build] Add toolchain-specific files (#1244) 2024-03-13 11:13:55 -07:00
HostCompile.cmake build: support MSVC arm64 cross build on x86 2022-12-29 20:29:53 -08:00
MSVC_x86_Host_Compile.cmake build: support MSVC arm64 cross build on x86 2022-12-29 20:29:53 -08:00
MacPackageManagers.cmake build: fixes for mac Homebrew 2023-05-07 23:41:51 +00:00
MakeReleaseCommitAndTag.cmake [Build] Make powershell optional on non-Windows (#1248) 2024-03-15 11:32:24 -07:00
Options.cmake build: fix build on MINGW{64,32}/UCRT64 on MSYS2 2024-03-30 20:14:32 +00:00
RemoveStrawberryPerlFromPATH.cmake build: fix syntax and rm dbg prints from 2a65e92d 2022-11-28 18:34:48 +00:00
Set-Toolchain-vcpkg.cmake [Build] Make powershell optional on non-Windows (#1248) 2024-03-15 11:32:24 -07:00
Toolchain-asan.cmake build: cmake refactor and improvements 2024-03-15 16:19:01 +00:00
Toolchain-cross-MinGW-w64-common.cmake builder: minor fixes for mingw. 2020-02-02 03:35:26 +00:00
Toolchain-cross-MinGW-w64-i686-static.cmake builder: minor fixes for mingw. 2020-02-02 03:35:26 +00:00
Toolchain-cross-MinGW-w64-i686.cmake builder: minor fixes for mingw. 2020-02-02 03:35:26 +00:00
Toolchain-cross-MinGW-w64-x86_64-static.cmake builder: minor fixes for mingw. 2020-02-02 03:35:26 +00:00
Toolchain-cross-MinGW-w64-x86_64.cmake builder: minor fixes for mingw. 2020-02-02 03:35:26 +00:00
Toolchain-cross-m32.cmake cmake: fix finding 32 bit wxWidgets on gentoo 2019-02-22 08:50:04 -08:00
Toolchain-gcc-clang.cmake build: fix build on MINGW{64,32}/UCRT64 on MSYS2 2024-03-30 20:14:32 +00:00
Toolchain-mingw.cmake build: fix build on MINGW{64,32}/UCRT64 on MSYS2 2024-03-30 20:14:32 +00:00
Toolchain-msvc.cmake [Build] Rework wx/CMakeLists.txt 2024-03-18 23:56:22 +00:00
Toolchain.cmake build: fix build on MINGW{64,32}/UCRT64 on MSYS2 2024-03-30 20:14:32 +00:00
UpdateAppcast.cmake [Build] Make powershell optional on non-Windows (#1248) 2024-03-15 11:32:24 -07:00
VbamFunctions.cmake [Build] Rework wx/CMakeLists.txt 2024-03-18 23:56:22 +00:00
doctest.cmake Replace Catch2 with doctest for unit tests. 2020-08-28 05:14:22 +00:00
doctestAddTests.cmake Replace Catch2 with doctest for unit tests. 2020-08-28 05:14:22 +00:00