aboutsummaryrefslogtreecommitdiff
path: root/test/unit/Makefile.am
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-12-18 22:39:04 +0100
committerEven Rouault <even.rouault@spatialys.com>2018-12-26 10:08:54 +0100
commitce8075076b4e4ffebd32afaba419e1d9ab27cd03 (patch)
treed7d90f71b6de802be076a657687cea6c617e7310 /test/unit/Makefile.am
parent30686ee04c5b897e2293828f07785820cf68d67d (diff)
downloadPROJ-ce8075076b4e4ffebd32afaba419e1d9ab27cd03.tar.gz
PROJ-ce8075076b4e4ffebd32afaba419e1d9ab27cd03.zip
cpp conversion: add dummy test to check we can include proj.h from a pure C file
Diffstat (limited to 'test/unit/Makefile.am')
-rw-r--r--test/unit/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/unit/Makefile.am b/test/unit/Makefile.am
index 236ad444..f26e355d 100644
--- a/test/unit/Makefile.am
+++ b/test/unit/Makefile.am
@@ -14,6 +14,7 @@ noinst_PROGRAMS += pj_phi2_test
noinst_PROGRAMS += proj_errno_string_test
noinst_PROGRAMS += test_cpp_api
noinst_PROGRAMS += gie_self_tests
+noinst_PROGRAMS += include_proj_h_from_c
pj_transform_test_SOURCES = pj_transform_test.cpp main.cpp
pj_transform_test_LDADD = ../../src/libproj.la ../../test/googletest/libgtest.la
@@ -45,4 +46,6 @@ gie_self_tests_LDADD = ../../src/libproj.la ../../test/googletest/libgtest.la @S
gie_self_tests-check: gie_self_tests
PROJ_LIB=$(PROJ_LIB) ./gie_self_tests
+include_proj_h_from_c_SOURCES = include_proj_h_from_c.c
+
check-local: pj_transform_test-check pj_phi2_test-check proj_errno_string_test-check test_cpp_api-check gie_self_tests-check