Skip to content

Test PR - Added Contributor Name #431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 165 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
3cc619a
Pump up to v4.0.0-dev
cvvergara Oct 2, 2024
974681a
[pgtap] adjusting some tests of work not done yet
cvvergara Nov 18, 2021
474ae4e
(locale) pump up version
cvvergara Oct 22, 2024
4c28c44
Update locale: commit 474ae4e052
github-actions[bot] Nov 18, 2024
0cbf7e4
Fix requires
rdunklau Nov 6, 2024
a0b6781
fix version
cvvergara Nov 21, 2024
f158ed7
Fix index pointer of latest release notes
cvvergara Nov 21, 2024
c121c45
[docqueries] Removing deprecated function pgr_trspViaEdges
cvvergara Oct 2, 2024
263b184
[pgtap] Removing deprecated function pgr_trspViaEdges
cvvergara Oct 2, 2024
3c677ef
[sql] Removing deprecated function pgr_trspViaEdges
cvvergara Oct 2, 2024
c49033a
[doc] Removing deprecated function pgr_trspViaEdges
cvvergara Oct 3, 2024
92647d5
[NEWS.md] [doc] Removing deprecated function _pgr_trsp_withpoints
cvvergara Oct 22, 2024
e134c83
Update translation files
weblate Dec 7, 2024
998a90b
Translated using Weblate (Spanish)
cvvergara Dec 7, 2024
b9e41cc
Merge pull request #2679 from osgeoweblate/weblate-pgrouting-pgroutin…
cvvergara Dec 7, 2024
858b385
Merge pull request #2686 from cvvergara/issue-2681-Remove-deprecated-…
cvvergara Dec 11, 2024
f18063d
Update locale: commit 858b385187
github-actions[bot] Dec 11, 2024
b5a43d2
[doc] Removing deprecated function pgr_trspViaVertices
cvvergara Oct 3, 2024
c83c07c
[sql] Removing deprecated function pgr_trspViaVertices
cvvergara Oct 3, 2024
d6b3b23
[docqueries] Removing deprecated function pgr_trspViaVertices
cvvergara Oct 3, 2024
6a49b08
[pgtap] Removing deprecated function pgr_trspViaVertices
cvvergara Oct 3, 2024
667c337
(tool) removing test using deprecated signature
cvvergara Oct 26, 2024
58b1b77
Updating NEWS
cvvergara Oct 22, 2024
65cb6e3
(docqueries) Fixing migration related query
cvvergara Dec 11, 2024
499cb1c
Update locale: commit 65cb6e3494
github-actions[bot] Dec 14, 2024
d8d4349
Pump up to 3.7.1
cvvergara Dec 11, 2024
04594a2
Update test done with boost 56
cvvergara Dec 16, 2024
f553044
(docqueries) remove pseudo-test
cvvergara Oct 26, 2024
dd64b44
(src) fix for points on an edge vertex
cvvergara Oct 26, 2024
dd241af
(pgtap/withPoints) tests having point in vertex
cvvergara Dec 14, 2024
3ec57f3
Updating NEWS & release notes
cvvergara Dec 16, 2024
636a7db
(Dmatrix) Add missing include directive
cvvergara Dec 17, 2024
3c2d52b
(Dmatrix) add missing include
cvvergara Dec 17, 2024
6ee8e31
Removing duplicated test and using unnest
cvvergara Dec 17, 2024
a6cddab
Yet again another unnest fix
cvvergara Dec 17, 2024
0c1df6e
Testing Postgres 17
cvvergara Dec 17, 2024
287860d
Update locale: commit 0c1df6ea0c
github-actions[bot] Dec 18, 2024
6e2d8a7
Cleanup index page (#2703)
cvvergara Dec 23, 2024
9ee7d24
Update locale: commit 6e2d8a77d2
github-actions[bot] Dec 23, 2024
16542a7
(trsp/handler) refining trspHandler class
cvvergara Dec 19, 2024
80ed48d
[sql] Removing deprecated function pgr_trsp
cvvergara Oct 3, 2024
db80b3c
(docqueries/trsp) removing pseudo tests of old signature
cvvergara Dec 18, 2024
fae1f73
(docqueries/src) removing queries that use deleted trsp signature
cvvergara Dec 19, 2024
e9802eb
(tools/../trsp_tests.sql) Refining and cleaning
cvvergara Dec 19, 2024
38c74bc
(pgtap/trsp/trsp) Delete tests files related to deleted signatures
cvvergara Dec 18, 2024
11fe870
(pgtap/trsp/trsp) Removing tests related to deleted signatures
cvvergara Dec 18, 2024
d3fba40
(doc/migration) Updating the migration instructions
cvvergara Dec 19, 2024
b1f65e3
(doc) Updating NEWS and release notes
cvvergara Dec 19, 2024
e3d7325
(doc) Updating release notes
cvvergara Dec 19, 2024
52fb441
Deprecated C function: _pgr_trsp, _v4trsp, _trsp
cvvergara Dec 19, 2024
40e5d86
(CI/update) fixing test Test old version before update
cvvergara Dec 19, 2024
6af23d2
(src/legacy) Using __attribute__((unused))
cvvergara Dec 21, 2024
3f37094
Update locale: commit 6af23d25f8
github-actions[bot] Jan 7, 2025
f31e1cf
Pump up to v3.7.2
cvvergara Jan 6, 2025
224a5f6
Fix #2706: pgr_betweennessCentrality
cvvergara Jan 6, 2025
525fa2e
Fix #2707 include cstdint
cvvergara Jan 6, 2025
e95c5c6
(build) Adding policies and cmake min version set to 3.12
cvvergara Jan 7, 2025
1edaa5e
(CI/winnie) simplify code of winnie build script
cvvergara Jan 9, 2025
5b36246
Update locale: commit 1edaa5efd6
github-actions[bot] Jan 10, 2025
c320919
Modify .gitignore
AuBousquet Sep 27, 2024
d209083
Merge pull request #2716 from AuBousquet/correction_gitignore
cvvergara Jan 15, 2025
f109d98
(doc) Standardizing the documentation
cvvergara Jan 10, 2025
862eec6
(doc) standardize documentation
cvvergara Jan 15, 2025
7fefaf7
(doc) fixing typo
cvvergara Jan 15, 2025
4a97025
Promotion of functions to official (#2721)
cvvergara Jan 15, 2025
3988c2c
Translations update from OSGeo Weblate (#2687)
osgeoweblate Jan 15, 2025
ff46262
Fixing docqueries generator flag -level & updating developer tools (#…
cvvergara Jan 19, 2025
86e7b72
(C++/performance) Removing passing c_str() to a function that takes s…
cvvergara Jan 19, 2025
60042ed
(C/C++,Via functions) Removing prefix pgr_
cvvergara Jan 23, 2025
4838a07
(C/C++, combinations) Removing unused code
cvvergara Jan 23, 2025
c1b21c2
(C/C++) dijkstra: simplification of code
cvvergara Jan 23, 2025
fe2abd7
(SQL) Removing unused functions
cvvergara Jan 23, 2025
964916c
(doc) documentation of the changes
cvvergara Jan 23, 2025
25f8702
Make sure `CMP0148` exists
lnicola Jan 23, 2025
28cd1f6
Merge pull request #2729 from lnicola/cmp0148-dev
cvvergara Jan 24, 2025
407edfb
Merge pull request #2730 from cvvergara/enhancements-on-dijkstra
cvvergara Jan 24, 2025
95cb6e5
Translated using Weblate (Spanish)
cvvergara Jan 15, 2025
4918c9e
Merge pull request #2722 from osgeoweblate/weblate-pgrouting-pgroutin…
cvvergara Jan 25, 2025
abfe0a7
Removing unused SQL/legacy files from erly versions of 2.x
cvvergara Jan 27, 2025
e7f06ae
(sql/drivingdistance) removing deprecated internal sql function _pgr_…
cvvergara Jan 27, 2025
e209796
(C/drivingdistance) Adding a deprecation notice to _pgr_drivingdistance
cvvergara Jan 27, 2025
6234651
(pgtap/drivingdistance) adjusting tests
cvvergara Jan 27, 2025
41e90fe
(doc/NEWS) re-organizing & updating release notes and NEWS
cvvergara Jan 27, 2025
b8aa244
reverting some changes from c1b21c2fc8
cvvergara Jan 27, 2025
54dc6d8
(C/C++) Removal of unused trsp code
cvvergara Jan 27, 2025
c4cd95c
(SQL) _pgr_withPointsVia: removal of deprecated internal function
cvvergara Feb 6, 2025
1fa5da4
_pgr_prim deprecated internal function: SQL removal, C NOTICE raised …
cvvergara Feb 6, 2025
0665496
Removal of _pgr_kruskal deprecated internal function
cvvergara Feb 7, 2025
e0cf735
(CI) upgrade test for 3.7.3 3.7.2 versions
cvvergara Feb 11, 2025
fdca43b
(build) create upgrade script for 3.7.3 3.7.2 versions
cvvergara Feb 11, 2025
eaca570
(doc/release_notes) Adding changes from 3.7.3 and fixing typos
cvvergara Feb 11, 2025
66f40fb
(doc) Fixing sphinx typos
cvvergara Feb 11, 2025
205e527
(CI/update-locale) fix script to run on documentation changes
cvvergara Feb 11, 2025
23605c8
(locale) simplifying version and updating locale
cvvergara Feb 11, 2025
2f62562
(doc) Standardizing some small phrases & bug fixes
cvvergara Feb 11, 2025
ed9c058
Update locale: commit 738b50829
github-actions[bot] Feb 11, 2025
c26e91b
(doc) Standardizing pgr_aStar name & some bug fixing
cvvergara Feb 12, 2025
489c28d
Update locale: commit e141911c9
github-actions[bot] Feb 12, 2025
1dcedb4
Translated using Weblate (Spanish)
cvvergara Feb 11, 2025
0a030d6
Update translation files
weblate Feb 11, 2025
9d44eaf
Translated using Weblate (Spanish)
cvvergara Feb 11, 2025
90735c4
Translated using Weblate (Chinese (Simplified))
cvvergara Feb 11, 2025
e90dd90
Update translation files
weblate Feb 12, 2025
4972474
Translated using Weblate (Spanish)
cvvergara Feb 12, 2025
94c1ac4
Update translation files
weblate Feb 12, 2025
12b1805
Translated using Weblate (Spanish)
cvvergara Feb 12, 2025
26e6e22
Translated using Weblate (Chinese (Simplified))
cvvergara Feb 12, 2025
f6010e8
Translated using Weblate (Spanish)
cvvergara Feb 12, 2025
70a3142
fix: documentation
AuBousquet Feb 21, 2025
6a5dcdd
Update locale: commit 70a3142b4
github-actions[bot] Feb 21, 2025
e841026
Merge pull request #2761 from AuBousquet/fix-doc
cvvergara Feb 27, 2025
c3cafb4
Adjusting pumpup to set minor version in locale files
cvvergara Feb 12, 2025
42fae47
Pump up to 3.8.0
cvvergara Feb 23, 2025
47dcccc
Fixing code rabit issues
cvvergara Feb 27, 2025
e955a11
Adjusting page_history.js fixed logic to have shorter array of renames
cvvergara Feb 16, 2025
c98f4c4
Using rabbit recomendations
cvvergara Feb 27, 2025
65a7d12
renaming: spanningTree-family.rst -> spanningTree-category.rst
cvvergara Feb 14, 2025
0cb5dc5
(internal SQL) Throw PostgreSQL errmsg, hint and error code
cvvergara Feb 20, 2025
6541d43
Work on rabbit suggestions
cvvergara Feb 27, 2025
90ebbbe
pgr_extractVertices promoted to official
cvvergara Feb 26, 2025
c746517
(pgr_findCloseEdges) Remove partial option
cvvergara Mar 2, 2025
be01825
(pgtap/degree) add todo on edge_cases test
cvvergara Mar 2, 2025
85c5b81
(pgr_findCloseEdges) promotion to official
cvvergara Mar 3, 2025
45dac97
Collapse warnings of proposed and expermiental
cvvergara Mar 4, 2025
9787fe3
(pgr_degree) Moving to metrics family
cvvergara Mar 4, 2025
e85a8cb
(pgr_degree) fixing issues detected
cvvergara Mar 4, 2025
33f70bf
(pgr_degree) Adding new overload with only edges SQL
cvvergara Feb 26, 2025
8d30aa4
(pgr_degree) promoting to official
cvvergara Mar 4, 2025
f3ff193
Fixing errors from conflict solving
cvvergara Mar 6, 2025
3ec824f
(CI) adding sphinx-collapse to workflows
cvvergara Mar 6, 2025
47db0d7
(pgtap/trsp) Refining when the test are performed
cvvergara Mar 7, 2025
9abdc8c
(sampledata/pgtap) use of pgr_findCloseEdges depends on version
cvvergara Mar 7, 2025
f63aacb
Fix of build-extension-update-files.pl
cvvergara Mar 8, 2025
1ba84bb
(contraction/pgtap) reorganizing subdirectory)
cvvergara Mar 17, 2025
846f8ec
(contraction/pgtap) the tests that need to pass
cvvergara Mar 20, 2025
e24b6d7
(contraction/docqueries) Ajusting the documentation queries
cvvergara Mar 20, 2025
893be3f
(contraction/sql) The new signature and deprecation of the other
cvvergara Mar 20, 2025
acf408e
(contraction/doc) Updating and refinement of the documentation
cvvergara Mar 20, 2025
441fc61
(lint) removing files no longer in use
cvvergara Mar 20, 2025
824ad6a
(doc) documenting changes on release notes & NEWS
cvvergara Mar 20, 2025
558b7e0
(contraction/pgtap) moving functions to function file
cvvergara Mar 21, 2025
a0181db
(contraction/sql) fixing parameter mismatch on notice
cvvergara Mar 21, 2025
2abbb12
(contraction/doc) improving readability
cvvergara Mar 21, 2025
fcdccd7
(contractionDeadEnd/pgtap) the tests that need to pass
cvvergara Mar 21, 2025
354df8b
(contractionDeadEnd/sql) The new function
cvvergara Mar 21, 2025
9874cb1
(contractionDeadEnd/docqueries) Creating the documentation queries
cvvergara Mar 21, 2025
3ab1029
(contractionDeadEnd/doc) Adding documentation
cvvergara Mar 21, 2025
f9a44a5
(doc) documenting changes on release notes & NEWS
cvvergara Mar 21, 2025
9518967
(contractionDeadEnd/pgtap) using prepared functions on tools
cvvergara Mar 22, 2025
c598002
(contractionDeadEnd/pgtap) using rabbit suggestions
cvvergara Mar 22, 2025
24da754
(contractionDeadEnd/docqueries) adding the missing change on the resu…
cvvergara Mar 22, 2025
10aafb0
(contractionLinear/pgtap) the tests that need to pass
cvvergara Mar 22, 2025
4f73619
(contractionLinear/sql) The new function
cvvergara Mar 22, 2025
e70501e
(contractionLinear/docqueries) Creating the documentation queries
cvvergara Mar 22, 2025
241e0cd
(contractionDeadEnd/doc) Adding documentation
cvvergara Mar 22, 2025
26abfd4
(doc) documenting changes on release notes & NEWS
cvvergara Mar 22, 2025
11920d5
Using rabbit suggestions
cvvergara Mar 23, 2025
b884d12
Update locale: commit 835859b5a1
github-actions[bot] Mar 24, 2025
814f353
(contraction) missed some changes from 3.8.0
cvvergara Mar 24, 2025
b364d1f
Update translation files
weblate Mar 30, 2025
e70c2c1
Translated using Weblate (Spanish)
cvvergara Mar 30, 2025
0a8c889
Update locale: commit e70c2c1e26
github-actions[bot] Mar 30, 2025
ca2579d
Removing entries from index.pot as it is used for glossary on weblate
cvvergara Mar 30, 2025
13d7050
Added my name to contributors list
Apr 4, 2025
9351052
Update locale: commit 13d705059
github-actions[bot] Apr 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/boost_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,5 @@ jobs:
sudo service postgresql start
psql -c "CREATE DATABASE ___pgr___test___;"
DIR=$(git rev-parse --show-toplevel)
bash "${DIR}/tools/testers/setup_db.sh" "${PGPORT}" ___pgr___test___ "${PG_RUNNER_USER}" "3.7.0"
bash "${DIR}/tools/testers/setup_db.sh" "${PGPORT}" ___pgr___test___ "${PG_RUNNER_USER}" "4.0.0"
pg_prove -Q -f --normalize --directives --recurse -U "${PG_RUNNER_USER}" -d ___pgr___test___ "pgtap"
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
python -m pip install --upgrade pip
pip install Sphinx
pip install sphinx-bootstrap-theme
pip install sphinx-collapse
pip list

- name: Configure
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
fail-fast: false
matrix:
psql: [13,14,15,16]
psql: [13,14,15,16,17]
postgis: [3]
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04]

Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/update-locale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ name: Update Locale
on:
workflow_dispatch:
push:
branches:
- 'develop'
paths:
- '.github/workflows/update-locale.yml'
- 'doc/**'

branches-ignore:
- 'gh-pages'

permissions:
contents: read
Expand All @@ -20,7 +24,6 @@ jobs:
contents: write # for Git to git push
name: Update Locale
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'pgRouting' }}

strategy:
fail-fast: false
Expand Down Expand Up @@ -74,6 +77,7 @@ jobs:
pip install Sphinx
pip install sphinx-bootstrap-theme
pip install sphinx-intl[transifex]
pip install sphinx-collapse
pip list

- name: Initialize mandatory git config
Expand Down
23 changes: 15 additions & 8 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,15 @@ permissions:
contents: read

jobs:
build:
update-ver:
name: Build
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
old_pgr: [3.6.3, 3.6.2, 3.6.1, 3.6.0, 3.5.1, 3.5.0, 3.4.2, 3.4.1, 3.4.0, 3.3.5, 3.3.4, 3.3.3, 3.3.2, 3.3.1, 3.3.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.6, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.2.0, 3.2.1, 3.2.2]
boost_minor: [56]
old_pgr: [3.8.0, 3.7.3, 3.7.2, 3.7.1, 3.7.0, 3.6.3, 3.6.2, 3.6.1, 3.6.0, 3.5.1, 3.5.0, 3.4.2, 3.4.1, 3.4.0, 3.3.5, 3.3.4, 3.3.3, 3.3.2, 3.3.1, 3.3.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.6, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.2.0, 3.2.1, 3.2.2]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -63,7 +64,6 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y \
libboost-graph-dev \
libtap-parser-sourcehandler-pgtap-perl \
postgresql-${PGVER} \
postgresql-${PGVER}-pgtap \
Expand All @@ -74,6 +74,10 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt

wget https://sourceforge.net/projects/boost/files/boost/1.${{ matrix.boost_minor }}.0/boost_1_${{ matrix.boost_minor }}_0.tar.bz2
sudo tar --bzip2 -xf boost_1_${{ matrix.boost_minor }}_0.tar.bz2
sudo mv boost_1_${{ matrix.boost_minor }}_0/boost /usr/include/

- name: get old version
uses: actions/checkout@v4
with:
Expand All @@ -90,16 +94,16 @@ jobs:
cmake -DPOSTGRESQL_VERSION=${PGVER} -DCMAKE_BUILD_TYPE=Release -DWITH_DOC=OFF ..
make -j 4
sudo make install
sudo service postgresql start
createdb -p "${PGPORT}" ___pgr___test___
psql -p "${PGPORT}" -d ___pgr___test___ -c "CREATE EXTENSION pgrouting CASCADE;"

- name: Test old version before update with current tests
run: |
sudo service postgresql start
createdb -p "${PGPORT}" ___pgr___test___
psql -p "${PGPORT}" -d ___pgr___test___ -c "CREATE EXTENSION pgrouting CASCADE;"
psql -p "${PGPORT}" -d ___pgr___test___ -c "SELECT * FROM pgr_full_version();"
DIR=$(git rev-parse --show-toplevel)
bash "${DIR}/tools/testers/setup_db.sh" "${PGPORT}" ___pgr___test___ "${PG_RUNNER_USER}" "${{ matrix.old_pgr }}"
psql -p "${PGPORT}" -d ___pgr___test___ -c "SELECT * FROM pgr_full_version();"
pg_prove -Q -f --normalize --directives --recurse -U "${PG_RUNNER_USER}" -d ___pgr___test___ "pgtap"

- name: Build current version
Expand All @@ -114,14 +118,17 @@ jobs:
- name: Test old version with currrent tests after installing current
run: |
sudo service postgresql start
psql -p "${PGPORT}" -d ___pgr___test___ -c "SELECT * FROM pgr_full_version();"
dropdb -p "${PGPORT}" ___pgr___test___
createdb -p "${PGPORT}" ___pgr___test___
DIR=$(git rev-parse --show-toplevel)
bash "${DIR}/tools/testers/setup_db.sh" "${PGPORT}" ___pgr___test___ "${PG_RUNNER_USER}" "${{ matrix.old_pgr }}"
psql -p "${PGPORT}" -d ___pgr___test___ -c "SELECT * FROM pgr_full_version();"
pg_prove -Q -f --normalize --directives --recurse -U "${PG_RUNNER_USER}" -d ___pgr___test___ "pgtap"

- name: Test old version with current tests after update
run: |
sudo service postgresql start
psql -p "${PGPORT}" -d ___pgr___test___ -c "SELECT * FROM pgr_full_version();"
psql -p "${PGPORT}" -d ___pgr___test___ -c "ALTER EXTENSION pgrouting UPDATE TO '3.7.0';"
psql -p "${PGPORT}" -d ___pgr___test___ -c "ALTER EXTENSION pgrouting UPDATE TO '4.0.0';"
psql -p "${PGPORT}" -d ___pgr___test___ -c "SELECT * FROM pgr_full_version();"
pg_prove -Q -f --normalize --directives --recurse -U "${PG_RUNNER_USER}" -d ___pgr___test___ "pgtap"
1 change: 1 addition & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
pip install Sphinx
pip install sphinx-bootstrap-theme
pip install sphinx-intl[transifex]
pip install sphinx-collapse
pip list

- name: Configure and build documentation
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ src/version/version.h
.directory
notUsed
*.swp

.vscode
25 changes: 21 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
cmake_minimum_required(VERSION 3.2 FATAL_ERROR)
cmake_minimum_required(VERSION 3.12 FATAL_ERROR)

if (${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
message(FATAL_ERROR "In-source builds not allowed.
Please make a new directory (called a build directory) and run CMake from there.
You may need to remove CMakeCache.txt." )
endif()

if(POLICY CMP0144)
cmake_policy(SET CMP0144 OLD)
endif()

if(POLICY CMP0167)
cmake_policy(SET CMP0167 OLD)
endif()

if(POLICY CMP0148)
cmake_policy(SET CMP0148 OLD)
endif()

#---------------------------------------------
# Setting kind of build
#---------------------------------------------
Expand All @@ -18,9 +30,9 @@ include(pgr/BuildType)
#---------------------------------------------
#---------------------------------------------

project(PGROUTING VERSION 3.7.0
project(PGROUTING VERSION 4.0.0
LANGUAGES C CXX )
set(PROJECT_VERSION_DEV "")
set(PROJECT_VERSION_DEV "-dev")
string(TOLOWER "${PROJECT_NAME}" PROJECT_NAME_LOWER)

include(pgr/GitInfo)
Expand All @@ -31,8 +43,13 @@ set(PROJECT_LIB_NAME "${PROJECT_NAME_LOWER}-${PROJECT_LIB_VERSION}")

string(TIMESTAMP COMPILATION_DATE "%Y/%m/%d" UTC)

set(MINORS 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0 2.6)
set(MINORS 4.0 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0 2.6)
set(OLD_SIGNATURES
3.8.0
3.7.3
3.7.2
3.7.1
3.7.0
3.6.3
3.6.2
3.6.1
Expand Down
Loading