visualboyadvance-m/cmake
Rafael Kitover 215e3c5ae9
build: use find_program() to find powershell
Use cmake find_program() to find powershell.exe on Windows because
invoking `powershell` or `powershell.exe` without a path sometimes fails
for some reason. Use the standard location on Windows 11 as a hint.

Make the `pwsh` executable REQUIRED when installing vcpkg packages
on non-Windows.

Use find_program() to find the zip executable before downloading it on
Windows vcpkg builds.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2024-02-28 13:44:22 +00:00
..
Architecture.cmake build: support MSVC arm64 cross build on x86 2022-12-29 20:29:53 -08:00
CMakeASM_NASMInformation.cmake cmake: remove <INCLUDES> from nasm definition 2019-02-22 15:11:01 +00:00
CMakeDetermineASM_NASMCompiler.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
CMakeTestASM_NASMCompiler.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07: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
FindSDL2.cmake build: use libsamplerate with vcpkg sdl2 port 2024-01-02 02:57:09 +00:00
FindSFML.cmake builder: update core dists and macOS build 2022-11-12 13:23:54 +00:00
FindSSP.cmake cmake: refactor FindSSP.cmake 2019-02-16 13:04:43 -08:00
GetGitRevisionDescription.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
GetGitRevisionDescription.cmake.in rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
GitTagVersion.cmake build: write version to macOS plist 2023-07-12 06:24:20 +00:00
HostCompile.cmake build: support MSVC arm64 cross build on x86 2022-12-29 20:29:53 -08:00
LLVMToolchain.cmake support FreeBSD 2019-04-25 16:22:07 +00: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 cmake: Add UPDATE_APPCAST script for appcast.xml. 2020-02-08 22:53:53 +00:00
PathRun.cmake cmake: Silence cmake policy warning CMP0058. 2019-10-05 18:33:44 -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: use find_program() to find powershell 2024-02-28 13:44:22 +00:00
SetCompilerLinkerFlags.cmake [build] Add basic clang-cl support 2022-10-15 22:25:34 +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
UpdateAppcast.cmake [Windows,MacOS] Auto-updater refactoring. (#639) 2020-05-07 23:06:00 -03:00
UseGCCBinUtilsWrappers.cmake work around gcc lto wrappers bug with gcc 7.x 2017-09-16 19:47:39 -07:00
VbamFunctions.cmake Fix Wx OpenGL and ABI checks for MSYS2 CLANG64. 2022-02-05 01:00:25 +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