visualboyadvance-m/cmake
Rafael Kitover f57cad67c4
build: fix static linking on MSYS2 CLANG64
Bring back setting the MSYS variable under MSYS2, it's still being used
in a few places.

Link the SDL2::SDL2-static target for static builds.

Add -static-libgcc and -static-libstdc++ to the gcc/clang toolchain for
static builds.

Edit wxWidgets_LIBRARIES under MSYS2 to specify liblzma.a explicitly
because for some reason it's not being linked statically by default for
static builds.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2024-03-30 18:06:25 +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] Remove ENABLE_NLS, fix TRANSLATIONS_ONLY 2024-03-26 17:38:12 -07: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 static linking on MSYS2 CLANG64 2024-03-30 18:06:25 +00:00
Toolchain-mingw.cmake build: cmake refactor and improvements 2024-03-15 16:19:01 +00:00
Toolchain-msvc.cmake [Build] Rework wx/CMakeLists.txt 2024-03-18 23:56:22 +00:00
Toolchain.cmake [Build] Use Toolchain-gcc-clang for non-MSVC 2024-03-18 17:12:51 -07: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