aboutsummaryrefslogtreecommitdiff
path: root/cmake
AgeCommit message (Collapse)Author
2019-09-21Improve Visual Studio compatibility check in CMake.Charles Karney
Make the setting of major toolset version variables parallel that for cross-compilation. Add comments so it's easier for the next person looking at this code to figure what's going on. Note: no need to unset variables at the end of the version check file (the file is read in a nested scope).
2019-09-20Merge pull request #1625 from hobu/cmake-proj_lib-testsKristian Evers
set PROJ_LIB on test targets for CMake
2019-09-19set PROJ_LIB on test targets for CMakeHoward Butler
2019-09-19Require C99 compiler see #1621Charles Karney
cmake and autoconf now stipulate C99 change c89 to c99 in travis jobs remove HAVE_C99_MATH checks (unrelated) relax Visual Studio compatibility check in cmake/project-config-version.cmake.in (VS 2019 can use a VS 2015 library but not vice versa).
2019-09-03stick with proj.lib on windowsJuergen E. Fischer
2019-06-05Update GitHub references: proj.4 -> PROJMike Taves
2019-06-01Update website: proj4.org -> proj.orgMike Taves
2019-05-23Remove ProjSystemInfo.cmake module as unusedMateusz Łoskot
None of variables calculated by the module are currently used. Besides, this is legacy module which should not be necessary for anything. Related to #1263
2019-04-16CMake: better support for Intel compilerMike Taves
2019-03-21Build: automatically enable system error messagesChris Mayo
Define HAVE_STRERROR during configuration. Before: $ cs2cs +proj=latlong +to +proj=latlong dummy <cs2cs>: Sys errno: 2: <system mess. texts unavail.> dummy After: $ cs2cs +proj=latlong +to +proj=latlong dummy <cs2cs>: Sys errno: 2: No such file or directory dummy
2019-03-19Normalize CMake with cmakelint, 2-space indentMike Taves
2019-03-11Fix cross-compilation detectionSean Warren
2019-02-22CMake warning about second proj_config.hMike Taves
2019-02-18Windows CMAKE Paths to match osx/linux (#1274)Alan D. Snow
Addressing issue #1177.
2019-02-13Address issue #801: set CMake ${PROJ4_LIBRARIES} to PROJ4::projCharles Karney
2019-02-04Remove all traces of nad2bin and nad2nadKristian Evers
The source material for the default grids used by PROJ has been moved to the proj-datumgrid repository. For that reason it is no longer necessary to include the nad2bin program in the PROJ repository and source distribution. From now on the nad2bin application will be kept in the proj-datumgrid repo. Previously the null grid was generated by running nad2bin on the null.lla file. Since nad2bin is no longer available null.lla has been replaced by its binary counterpart null. This file will be distributed and installed alongside PROJ. Build scripts and documenation has been adjusted so that nad2bin is not mentioned anywhere. Additionally all references to nad2nad has been removed as well. nad2nad has not been part of the PROJ distribution for quite some time so this has been long overdue.
2018-12-01Rename test/old/ to test/cli/ to better reflect their natureEven 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-10-26cmake: remove unused codeBen Boeckel
These functions aren't called from anywhere else in the codebase.
2018-10-26ProjVersion: use cmake_parse_argumentsBen Boeckel
CMake provides this function, but only in CMake 2.8.3 and up. This minimum version bump is OK because it is from 2010, but the code requires C++11 features to exist. Any platform with a suitable compiler, but too-old of a CMake can easily compile the required CMake version as well.
2018-09-18Move data/test* scripts and expected results to test/old/Even Rouault
2018-09-18Rename nad/ directory as data/Even Rouault
2018-06-02Upgrade http:// to https:// where feasibleMike Toews
2018-03-26Tidy soci/proj4 referencesMike Toews
2018-03-26Rename CMake infrastructure to remove 4mwtoews
2018-03-25Add PACKAGE_URL for autoconf/CMakemwtoews
2018-03-25PACKAGE_NAME: PROJ.4 Projections -> PROJmwtoews
2018-02-27Modify project bugreport (autoconf)Mike Toews
2018-02-10Re-do pull request #451 export CMake targets with PROJ4:: namespaceCharles Karney
This version takes to add the include path to the target definition for cmake 2.8.11 and later. Also the documentation sticks to the existing convention of using cmake variables ${PROJ4_LIBRARIES} and ${PROJ4_INCLUDE_DIRS}. However, the namespace variables are still being included. Here's the roll-out plan (0) Version 4.9.x: The target is proj and PROJ4_LIBRARIES is set to this. (1) Version 5.0.x: Two targets, proj and PROJ4::proj, are defined; PROJ4_LIBRARIES = proj. (2) In a year or two: Two targets, proj and PROJ4::proj, are defined; PROJ4_LIBRARIES = PROJ4::proj. (3) With a change in the library which breaks backwards compatibility: The target is PROJ4::proj and PROJ4_LIBRARIES = PROJ4::proj.
2018-01-09Add gie tests to CMake testing facilityKristian Evers
2017-09-27CMake updates (#578)Howard Butler
* install proj4 data in share/proj, not share/ * no need for CMP0022 policy anymore
2017-09-27Add detection of MSVC 14.0 and 14.1+ to CMake configuration (#580)Mateusz Łoskot
2017-09-25fix #560 install cmake config file to lib and use GNUInstallDirs on Unix (#561)Nicolas David
* fix #560 install proj4-config.cmake to defaut path * add some variable and cmake option to specify where the cmake config file should be installed. * change project_root_dir use in project-config.cmake.in variable from hard coded path to computed path with file(RELATIVE_PATH) function. * Still use the old project-config.cmake/configure_file way of generate config file. A cleaner way could be to use the modern cmake export(target ..) * use GNUInstallDirs for default unix install path
2016-03-07Fixed a cmake option message that was being truncated due to being split ↵Sean McBride
into multiple lines
2015-10-01Fix cmake version check so it works for cmake 3.xCharles Karney
2015-09-10BLD: Remove Makefile.in.Elliott Sales de Andrade
These files are generated by automake.
2015-07-09Make multistresstext.exe compile, and work, with mingw cross compiler ↵Even Rouault
(autoconf build)
2015-07-07Make pj_init() locale safe and no longer modify locale (#226)Even Rouault
Remove setlocale() use in pj_init_ctx(), and replace uses of atof() & strtod() by their locale safe variants pj_atof() and pj_strtod(). Proj versions from now advertize #define PJ_LOCALE_SAFE 1 in proj_api.h and export pj_atof() & pj_strtod()
2015-03-03Switch cmake name from PROJ to PROJ4Charles Karney
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2644 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-02-23add missing MSVC compilers to cmake configHoward Butler
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2634 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-02-22add #264 cmake scripts to cmake/Makefile.amHoward Butler
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2633 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-02-22More CMake churn #264Howard Butler
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2632 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-02-21autogen'd stuff in preparation for 4.9.1RC3Howard Butler
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2631 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-02-21align CMake SOVERSION with autotools #263Howard Butler
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2629 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-02-21install missing CMake support files for dist-all targetEven Rouault
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2617 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-02-21adapt Charles Karney's patches for smoother CMake #258Howard Butler
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2614 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-02-20update libtool build stuff in preparation for 4.9.1RC1 using 2.4.2 ↵Howard Butler
Debian-2.4.2-1.7ubuntu1 git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2612 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-02-17#256: CMake tweaksHoward Butler
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2608 4e78687f-474d-0410-85f9-8d5e500ac6b2
2014-09-13rerun autogen for 4.9.0 releaseFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2534 4e78687f-474d-0410-85f9-8d5e500ac6b2
2014-09-13more CMake-related dist fixups #243Howard Butler
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2531 4e78687f-474d-0410-85f9-8d5e500ac6b2