diff options
| author | Even Rouault <even.rouault@mines-paris.org> | 2018-11-15 16:09:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-15 16:09:38 +0100 |
| commit | 214f086ab61f9964cbabccb9c002c915e2870539 (patch) | |
| tree | 464bcc71f6468d0498f9fce7441c06c78bc1bba4 | |
| parent | 4ad1477c24c3da4be6c7962606e6f9d47336b6a3 (diff) | |
| parent | 92d5abac3d402a8d2cbaee972bd39c4885de9fef (diff) | |
| download | PROJ-214f086ab61f9964cbabccb9c002c915e2870539.tar.gz PROJ-214f086ab61f9964cbabccb9c002c915e2870539.zip | |
Merge pull request #1176 from rouault/cond_test_build
Condtional build of test subdir + warning fix
| -rw-r--r-- | CMakeLists.txt | 5 | ||||
| -rw-r--r-- | Makefile.am | 6 | ||||
| -rw-r--r-- | appveyor.yml | 8 | ||||
| -rw-r--r-- | include/proj/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/coordinateoperation.cpp | 12 | ||||
| -rwxr-xr-x | travis/mingw32/install.sh | 2 |
6 files changed, 20 insertions, 15 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 62a16d7f..66a0d4cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -191,5 +191,6 @@ add_subdirectory(include) add_subdirectory(src) add_subdirectory(man) add_subdirectory(cmake) -add_subdirectory(test) - +if(PROJ_TESTS) + add_subdirectory(test) +endif() diff --git a/Makefile.am b/Makefile.am index 52e456ff..8620ea8f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,5 @@ -SUBDIRS = include src man data jniwrap cmake test +SUBDIRS = include src man data jniwrap cmake +DIST_SUBDIRS = include src man data jniwrap cmake test EXTRA_DIST = CMakeLists.txt CITATION @@ -8,6 +9,9 @@ pkgconfig_DATA = proj.pc AUTOMAKE_OPTIONS = dist-zip ACLOCAL_AMFLAGS = -I m4 +check-local: + cd test; $(MAKE) check + README: README.md fgrep -v "[