aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/scripts/buildsystems/meson
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/scripts/buildsystems/meson')
-rw-r--r--vcpkg/scripts/buildsystems/meson/meson.template.in42
-rw-r--r--vcpkg/scripts/buildsystems/meson/none.txt19
2 files changed, 61 insertions, 0 deletions
diff --git a/vcpkg/scripts/buildsystems/meson/meson.template.in b/vcpkg/scripts/buildsystems/meson/meson.template.in
new file mode 100644
index 0000000..995d39b
--- /dev/null
+++ b/vcpkg/scripts/buildsystems/meson/meson.template.in
@@ -0,0 +1,42 @@
+[binaries]
+cmake = ['@CMAKE_COMMAND@']
+python = ['@PYTHON3@']
+ninja = ['@NINJA@']
+pkgconfig= ['@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'
+[cmake]
+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@ \ No newline at end of file
diff --git a/vcpkg/scripts/buildsystems/meson/none.txt b/vcpkg/scripts/buildsystems/meson/none.txt
new file mode 100644
index 0000000..6dafc80
--- /dev/null
+++ b/vcpkg/scripts/buildsystems/meson/none.txt
@@ -0,0 +1,19 @@
+# native file used to make the build machine compiler unusable
+
+[host_machine]
+system = 'none'
+cpu_family = 'none'
+cpu = 'none'
+endian = 'little'
+
+[properties]
+
+[binaries]
+c = ['false']
+cpp = ['false']
+objc = ['false']
+objcpp = ['false']
+ar = ['false']
+pkgconfig = ['false']
+cmake = ['false']
+ninja = ['false'] \ No newline at end of file