visualboyadvance-m/cmake
Rafael Kitover 49ca52ba03
cmake: Visual Studio misc followup on cf9a88df.
Fix the vcpkg root setting, which was trying to use CMAKE_PROJECT_DIR
before a project is defined by switching back to CMAKE_SOURCE_DIR. Also
check if the user has \vcpkg or c:\vcpkg and use those if found. Use
\vcpkg if ENV{CI} is set, e.g. on Appveyor.

Enable nasm for visual studio builds by using the nuget nasm2 package.

In Architecture.cmake check that the vcpkg arch matches the compiler
arch, and throw a fatal error otherwise.

When using GLOB to find the nuget package directory, use the package
name as the prefix, this is quite necessary when using multiple nuget
packages.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2019-12-15 19:34:18 +00:00
..
Architecture.cmake cmake: Visual Studio misc followup on cf9a88df. 2019-12-15 19:34:18 +00: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
FindDirectX.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
FindFFmpeg.cmake cmake: Visual Studio support improvements. 2019-12-10 11:13:58 +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 cmake: Visual Studio support improvements. 2019-12-10 11:13:58 +00:00
FindSFML.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07: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 add mac release builder script 2017-10-12 01:32:18 -07:00
HostCompile.cmake cmake: fix linking to libssp and linking bin2c 2019-10-17 21:53:15 +00:00
LLVMToolchain.cmake support FreeBSD 2019-04-25 16:22:07 +00:00
MacPackageManagers.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
PathRun.cmake cmake: Silence cmake policy warning CMP0058. 2019-10-05 18:33:44 -07:00
Set-Toolchain-vcpkg.cmake cmake: Visual Studio misc followup on cf9a88df. 2019-12-15 19:34:18 +00:00
Toolchain-cross-MinGW-w64-i686.cmake cmake: support linuxbrew mingw toolchain 2018-11-11 19:33:55 -08:00
Toolchain-cross-MinGW-w64-x86_64.cmake cmake: support linuxbrew mingw toolchain 2018-11-11 19:33:55 -08:00
Toolchain-cross-m32.cmake cmake: fix finding 32 bit wxWidgets on gentoo 2019-02-22 08:50:04 -08:00
UseGCCBinUtilsWrappers.cmake work around gcc lto wrappers bug with gcc 7.x 2017-09-16 19:47:39 -07:00
VbamFunctions.cmake cmake: missing space in wx util function 2019-04-25 23:51:40 +00:00