diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2014-08-11 17:14:54 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2014-08-11 17:14:54 -0400 |
commit | 2ac69f37ad5da0aeaffe89e40de4e867c19fa65f (patch) | |
tree | 26e6eda6a081296faf9a83c720c80debd97a65ce /libdimension/tests/Makefile.am | |
parent | e4fce41c863c9fe9e2b14b8f32b7ddd55f94b313 (diff) | |
download | dimension-2ac69f37ad5da0aeaffe89e40de4e867c19fa65f.tar.xz |
Add a C++11 test, and make the C++98/03 test explicit.
Diffstat (limited to 'libdimension/tests/Makefile.am')
-rw-r--r-- | libdimension/tests/Makefile.am | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/libdimension/tests/Makefile.am b/libdimension/tests/Makefile.am index 0dc9a87..9829642 100644 --- a/libdimension/tests/Makefile.am +++ b/libdimension/tests/Makefile.am @@ -24,7 +24,8 @@ check_LTLIBRARIES = libdimension-tests.la \ libdimension-unit-test.la check_PROGRAMS = c89.test \ c99.test \ - cxx.test \ + c++03.test \ + c++11.test \ warning.test \ warning-as-error.test \ error.test \ @@ -75,8 +76,15 @@ c99_test_LDADD = libdimension-tests.la c99.o: CFLAGS += -std=c99 -Wpedantic -cxx_test_SOURCES = cxx.cpp -cxx_test_LDADD = libdimension-tests.la +c__03_test_SOURCES = c++03.cpp +c__03_test_LDADD = libdimension-tests.la + +c++03.o: CFLAGS += -std=c++03 -Wpedantic + +c__11_test_SOURCES = c++11.cpp +c__11_test_LDADD = libdimension-tests.la + +c++11.o: CFLAGS += -std=c++11 -Wpedantic warning_test_SOURCES = warning.c warning_test_LDADD = libdimension-tests.la |