aboutsummaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2020-10-05 20:45:21 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2020-10-13 17:04:20 +0200
commitb27af7e4654c3b2fe8c68a560c99fbffbd22789b (patch)
tree68e823c96c64cc3489db7c999a27db129e7a90df /cross
parent7e58f33376119b53e01616139ad9354ce9cfe003 (diff)
downloadmeson-b27af7e4654c3b2fe8c68a560c99fbffbd22789b.zip
meson-b27af7e4654c3b2fe8c68a560c99fbffbd22789b.tar.gz
meson-b27af7e4654c3b2fe8c68a560c99fbffbd22789b.tar.bz2
cmake: Add cross tests
Diffstat (limited to 'cross')
-rw-r--r--cross/linux-mingw-w64-32bit.json7
-rw-r--r--cross/linux-mingw-w64-32bit.txt8
-rw-r--r--cross/linux-mingw-w64-64bit.json7
-rw-r--r--cross/linux-mingw-w64-64bit.txt8
-rw-r--r--cross/ubuntu-armhf.json5
5 files changed, 35 insertions, 0 deletions
diff --git a/cross/linux-mingw-w64-32bit.json b/cross/linux-mingw-w64-32bit.json
new file mode 100644
index 0000000..4761111
--- /dev/null
+++ b/cross/linux-mingw-w64-32bit.json
@@ -0,0 +1,7 @@
+{
+ "file": "linux-mingw-w64-32bit.txt",
+ "tests": ["common", "cmake"],
+ "env": {
+ "WINEPATH": "/usr/lib/gcc/i686-w64-mingw32/9.2-posix;/usr/i686-w64-mingw32/bin;/usr/i686-w64-mingw32/lib"
+ }
+}
diff --git a/cross/linux-mingw-w64-32bit.txt b/cross/linux-mingw-w64-32bit.txt
index c2ea605..a62f57f 100644
--- a/cross/linux-mingw-w64-32bit.txt
+++ b/cross/linux-mingw-w64-32bit.txt
@@ -19,3 +19,11 @@ system = 'windows'
cpu_family = 'x86'
cpu = 'i686'
endian = 'little'
+
+[cmake]
+
+CMAKE_BUILD_WITH_INSTALL_RPATH = 'ON'
+CMAKE_FIND_ROOT_PATH_MODE_PROGRAM = 'NEVER'
+CMAKE_FIND_ROOT_PATH_MODE_LIBRARY = 'ONLY'
+CMAKE_FIND_ROOT_PATH_MODE_INCLUDE = 'ONLY'
+CMAKE_FIND_ROOT_PATH_MODE_PACKAGE = 'ONLY'
diff --git a/cross/linux-mingw-w64-64bit.json b/cross/linux-mingw-w64-64bit.json
new file mode 100644
index 0000000..df344da
--- /dev/null
+++ b/cross/linux-mingw-w64-64bit.json
@@ -0,0 +1,7 @@
+{
+ "file": "linux-mingw-w64-64bit.txt",
+ "tests": ["common", "cmake"],
+ "env": {
+ "WINEPATH": "/usr/lib/gcc/x86_64-w64-mingw32/9.2-posix;/usr/x86_64-w64-mingw32/bin;/usr/x86_64-w64-mingw32/lib"
+ }
+}
diff --git a/cross/linux-mingw-w64-64bit.txt b/cross/linux-mingw-w64-64bit.txt
index 1c5c002..36d7350 100644
--- a/cross/linux-mingw-w64-64bit.txt
+++ b/cross/linux-mingw-w64-64bit.txt
@@ -18,3 +18,11 @@ system = 'windows'
cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'
+
+[cmake]
+
+CMAKE_BUILD_WITH_INSTALL_RPATH = 'ON'
+CMAKE_FIND_ROOT_PATH_MODE_PROGRAM = 'NEVER'
+CMAKE_FIND_ROOT_PATH_MODE_LIBRARY = 'ONLY'
+CMAKE_FIND_ROOT_PATH_MODE_INCLUDE = 'ONLY'
+CMAKE_FIND_ROOT_PATH_MODE_PACKAGE = 'ONLY'
diff --git a/cross/ubuntu-armhf.json b/cross/ubuntu-armhf.json
new file mode 100644
index 0000000..40f5619
--- /dev/null
+++ b/cross/ubuntu-armhf.json
@@ -0,0 +1,5 @@
+{
+ "file": "ubuntu-armhf.txt",
+ "tests": ["common"],
+ "env": {}
+}