mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 07:10:36 +08:00
02745e0f47
introduce `vcpkg_generate_meson_cmd_args` to generate the command line args vcpkg calls meson with. This needed to be factored out since it allows calling the meson-py backend of setuptools with the same arguments as calling meson manually within vcpkg. additionally: - fixed `CMAKE_BUILD_TYPE` (var `buildconfig` does not exist) - add `ADDITIONAL_PROPERTIES` option - removed a lot of stuff being added to PATH unnecessarily - added option `--pkgconfig.relocatable` (probably not necessary but we want this any way.) - added option `--pkg-config-path` with correct paths (allows removing the env variables for it)
43 lines
1019 B
Plaintext
43 lines
1019 B
Plaintext
[binaries]
|
|
cmake = ['@CMAKE_COMMAND@']
|
|
ninja = ['@NINJA@']
|
|
pkg-config = ['@PKGCONFIG@']
|
|
@MESON_MT@
|
|
@MESON_AR@
|
|
@MESON_RC@
|
|
@MESON_C@
|
|
@MESON_C_LD@
|
|
@MESON_CXX@
|
|
@MESON_CXX_LD@
|
|
@MESON_OBJC@
|
|
@MESON_OBJC_LD@
|
|
@MESON_OBJCPP@
|
|
@MESON_OBJCPP_LD@
|
|
@MESON_FC@
|
|
@MESON_FC_LD@
|
|
@MESON_WINDRES@
|
|
@MESON_ADDITIONAL_BINARIES@
|
|
[properties]
|
|
cmake_toolchain_file = '@SCRIPTS@/buildsystems/vcpkg.cmake'
|
|
@MESON_ADDITIONAL_PROPERTIES@
|
|
[cmake]
|
|
CMAKE_BUILD_TYPE = '@MESON_CMAKE_BUILD_TYPE@'
|
|
VCPKG_TARGET_TRIPLET = '@TARGET_TRIPLET@'
|
|
VCPKG_HOST_TRIPLET = '@_HOST_TRIPLET@'
|
|
VCPKG_CHAINLOAD_TOOLCHAIN_FILE = '@VCPKG_CHAINLOAD_TOOLCHAIN_FILE@'
|
|
VCPKG_CRT_LINKAGE = '@VCPKG_CRT_LINKAGE@'
|
|
_VCPKG_INSTALLED_DIR = '@_VCPKG_INSTALLED_DIR@'
|
|
@MESON_HOST_MACHINE@
|
|
@MESON_BUILD_MACHINE@
|
|
[built-in options]
|
|
default_library = '@MESON_DEFAULT_LIBRARY@'
|
|
werror = false
|
|
@MESON_CFLAGS@
|
|
@MESON_CXXFLAGS@
|
|
@MESON_FCFLAGS@
|
|
@MESON_OBJCFLAGS@
|
|
@MESON_OBJCPPFLAGS@
|
|
# b_vscrt
|
|
@MESON_VSCRT_LINKAGE@
|
|
# c_winlibs/cpp_winlibs
|
|
@MESON_WINLIBS@ |