aboutsummaryrefslogtreecommitdiff
path: root/test/unit/CMakeLists.txt
AgeCommit message (Collapse)Author
2020-01-20Address @hobu 's review comment of ↵Even Rouault
https://github.com/OSGeo/PROJ/pull/1839#pullrequestreview-345535380
2020-01-17Merge branch 'master' into rfc4_merge_back_masterEven Rouault
2020-01-14Add test/unit/test_grids.cpp to improve testing coverageEven Rouault
2020-01-08Add capability to read resource files from the user writable directoryEven Rouault
2019-12-31Add a SQLite3 local cache of downloaded chunksEven Rouault
2019-12-27Network: make CDN endpoint configurable either in proj.ini, ↵Even Rouault
PROJ_NETWORK_ENDPOINT or proj_context_set_url_endpoint()
2019-12-23Add testing of network functionalityEven Rouault
2019-09-19set PROJ_LIB on test targets for CMakeHoward Butler
2019-04-05CMake: cache C/C++ warn flags to compile PROJ targetsMike Taves
Remove (most) needs to fiddle with CMAKE_C_FLAGS / CMAKE_CXX_FLAGS
2019-03-25pj_strerrno: enable system error messagesChris Mayo
HAVE_STRERROR is defined in proj_config.h.
2019-03-19Normalize CMake with cmakelint, 2-space indentMike Taves
2019-02-14Mark the external GTest package as requiredKai Pastor
GTest provides a configuration file, so we can disable the module mode. If the GTest package cannot be found, this shall be reported right here. (Note that while we specify a version, we do not require an EXACT match.)
2019-02-14Link gtest library with GTest:: prefixKai Pastor
GTest::gtest is the imported target supplied by find_package(GTest). For the internal build of GTest, this target is created as an alias for now: find_package cannot be used because the interal build does not get installed, and so a package config file is not available.
2019-02-14Remove legacy cmake commandsKai Pastor
PROJ requires CMake >= 3.5.
2019-02-14Use GTest 1.8.1Kai Pastor
This fixes issues with MinGW when threads are used.
2019-02-04Allow building against external GTest with CMake.Elliott Sales de Andrade
2019-01-09proj.h: add proj_context_set_file_finder() and ↵Even Rouault
proj_context_set_search_paths() (refs #1150)
2019-01-04Replace PJ_IO_UNITS_WHATEVER with units from neighbour stepsKristian Evers
With this commit we make sure that proj_angular_input() and proj_angular_output return the correct result for any given pipeline.
2018-11-29Add unit test for pj_tranform() now that cs2cs no longer use itEven Rouault
2018-11-21Move 'builtins' test of src/gie.c to test/unit/gie_self_tests.cppEven Rouault
2018-11-14Implement RFC 2: Initial integration of "GDAL SRS barn" workEven Rouault
This work mostly consists of: - a C++ implementation of the ISO-19111:2018 / OGC Topic 2 "Referencing by coordinates" classes to represent Datums, Coordinate systems, CRSs (Coordinate Reference Systems) and Coordinate Operations. - methods to convert between this C++ modeling and WKT1, WKT2 and PROJ string representations of those objects - management and query of a SQLite3 database of CRS and Coordinate Operation definition - a C API binding part of those capabilities This is all-in-one squashed commit of the work of https://github.com/OSGeo/proj.4/pull/1040
2018-06-20Add test for proj_errno_string()Kristian Evers
2018-06-18Add pj_phi2_test (#1039 & #1045)Even Rouault
Nigrated from: schwehr/gdal-autotest2:cpp/third_party/proj/pj_phi2_test.cc@master License intentionally changed from Apache 2 to match PROJ.
2018-06-07Add CMake configuration for test/googletest and test/unitMateusz Loskot
For CMake builds, latest googletest 1.8.0 is downloaded. Following officially recommended integration for CMake-enabled projects https://github.com/google/googletest/blob/master/googletest/README.md "Use CMake to download GoogleTest as part of the build's configure step. This is just a little more complex, but doesn't have the limitations of the other methods." Since, our copy of test/googletest - is a very minimalist copy of googletest - does not include any official CMake scripts - would require copying parts of googletest CMakeLists.txt, compilater/linker flags (e.g. -lpthreads) for reliable multi-platform builds, it is reasoanable to rely on download All pros and cons advantages are discussed in teh README.md linked above. Closes #1033
2018-06-07Add googletest 1.8.0 framework in test/googletest, and use it with autoconf ↵Even Rouault
builds only (CMake integration to be done)
2018-06-04appveyor.yml: run ctest on cmake buildsEven Rouault
2018-05-30Move catch.hpp header in test/; rename test/cpp as test/unitEven Rouault