aboutsummaryrefslogtreecommitdiff
path: root/test cases/common
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-06-02 22:31:10 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2013-06-02 22:31:10 +0300
commit89aa4e2233f9583501a172cea46e5d421681d274 (patch)
tree4f436353c02d63a50dce6a5acf64cdabdd80f50d /test cases/common
parent8364bfcc6df6d41c34c5963f707b3cedf5a7e0cb (diff)
downloadmeson-89aa4e2233f9583501a172cea46e5d421681d274.zip
meson-89aa4e2233f9583501a172cea46e5d421681d274.tar.gz
meson-89aa4e2233f9583501a172cea46e5d421681d274.tar.bz2
C++ is now called cpp rather than cxx.
Diffstat (limited to 'test cases/common')
-rw-r--r--test cases/common/14 cxx pch/meson.build2
-rw-r--r--test cases/common/15 mixed pch/meson.build2
-rw-r--r--test cases/common/2 cxx/meson.build2
-rw-r--r--test cases/common/23 global arg/meson.build4
-rw-r--r--test cases/common/23 global arg/prog.c2
-rw-r--r--test cases/common/23 global arg/prog.cc2
-rw-r--r--test cases/common/24 target arg/func.c2
-rw-r--r--test cases/common/24 target arg/meson.build4
-rw-r--r--test cases/common/24 target arg/prog.cc2
-rw-r--r--test cases/common/7 mixed/meson.build2
10 files changed, 12 insertions, 12 deletions
diff --git a/test cases/common/14 cxx pch/meson.build b/test cases/common/14 cxx pch/meson.build
index 966979b..d56800b 100644
--- a/test cases/common/14 cxx pch/meson.build
+++ b/test cases/common/14 cxx pch/meson.build
@@ -1,2 +1,2 @@
-project('c++ pch test', 'cxx')
+project('c++ pch test', 'cpp')
exe = executable('prog', 'prog.cc', pch : 'pch/prog.hh')
diff --git a/test cases/common/15 mixed pch/meson.build b/test cases/common/15 mixed pch/meson.build
index 7438042..8c85672 100644
--- a/test cases/common/15 mixed pch/meson.build
+++ b/test cases/common/15 mixed pch/meson.build
@@ -1,4 +1,4 @@
-project('mixed C and C++ pch test', 'cxx', 'c')
+project('mixed C and C++ pch test', 'cpp', 'c')
pch = ['pch/main.hh', 'pch/func.h']
diff --git a/test cases/common/2 cxx/meson.build b/test cases/common/2 cxx/meson.build
index 47333ba..a2d89a3 100644
--- a/test cases/common/2 cxx/meson.build
+++ b/test cases/common/2 cxx/meson.build
@@ -1,3 +1,3 @@
-project('c++ test', 'cxx')
+project('c++ test', 'cpp')
exe = executable('trivialprog', 'trivial.cc')
test('runtest', exe)
diff --git a/test cases/common/23 global arg/meson.build b/test cases/common/23 global arg/meson.build
index 9d916a2..aec5c2d 100644
--- a/test cases/common/23 global arg/meson.build
+++ b/test cases/common/23 global arg/meson.build
@@ -1,7 +1,7 @@
-project('global arg test', 'cxx', 'c')
+project('global arg test', 'cpp', 'c')
add_global_arguments('-DMYTHING', language : 'c')
-add_global_arguments('-DMYCXXTHING', language : 'cxx')
+add_global_arguments('-DMYCPPTHING', language : 'cpp')
exe1 = executable('prog', 'prog.c')
exe2 = executable('prog2', 'prog.cc')
diff --git a/test cases/common/23 global arg/prog.c b/test cases/common/23 global arg/prog.c
index 2db6212..df91777 100644
--- a/test cases/common/23 global arg/prog.c
+++ b/test cases/common/23 global arg/prog.c
@@ -2,7 +2,7 @@
#error "Global argument not set"
#endif
-#ifdef MYCXXTHING
+#ifdef MYCPPTHING
#error "Wrong global argument set"
#endif
diff --git a/test cases/common/23 global arg/prog.cc b/test cases/common/23 global arg/prog.cc
index b881645..342fdd0 100644
--- a/test cases/common/23 global arg/prog.cc
+++ b/test cases/common/23 global arg/prog.cc
@@ -2,7 +2,7 @@
#error "Wrong global argument set"
#endif
-#ifndef MYCXXTHING
+#ifndef MYCPPTHING
#error "Global argument not set"
#endif
diff --git a/test cases/common/24 target arg/func.c b/test cases/common/24 target arg/func.c
index d8a509a..9b3fe5d 100644
--- a/test cases/common/24 target arg/func.c
+++ b/test cases/common/24 target arg/func.c
@@ -2,7 +2,7 @@
#error "Local argument not set"
#endif
-#ifdef CXXTHING
+#ifdef CPPTHING
#error "Wrong local argument set"
#endif
diff --git a/test cases/common/24 target arg/meson.build b/test cases/common/24 target arg/meson.build
index edeae45..5aec31d 100644
--- a/test cases/common/24 target arg/meson.build
+++ b/test cases/common/24 target arg/meson.build
@@ -1,7 +1,7 @@
-project('local arg test', 'cxx', 'c')
+project('local arg test', 'cpp', 'c')
exe1 = executable('prog', 'prog.cc', 'func.c', \
c_args : '-DCTHING', \
-cxx_args : '-DCXXTHING')
+cpp_args : '-DCPPTHING')
test('prog1', exe1)
diff --git a/test cases/common/24 target arg/prog.cc b/test cases/common/24 target arg/prog.cc
index cc36ae0..d1893ba 100644
--- a/test cases/common/24 target arg/prog.cc
+++ b/test cases/common/24 target arg/prog.cc
@@ -2,7 +2,7 @@
#error "Wrong local argument set"
#endif
-#ifndef CXXTHING
+#ifndef CPPTHING
#error "Local argument not set"
#endif
diff --git a/test cases/common/7 mixed/meson.build b/test cases/common/7 mixed/meson.build
index 7731551..af88a1e 100644
--- a/test cases/common/7 mixed/meson.build
+++ b/test cases/common/7 mixed/meson.build
@@ -1,3 +1,3 @@
-project('mixed C and C++', 'c', 'cxx')
+project('mixed C and C++', 'c', 'cpp')
exe = executable('prog', 'main.cc', 'func.c')
test('mixtest', exe)