Skip to content

Commit

Permalink
CONTRIBUTING.md: updates for new tree org + CMake hints
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Oct 28, 2021
1 parent 6b36bf3 commit e1decbc
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Install all required development packages: GNU make, g++, ...
Build:

```
cd gdal
./autogen.sh
./configure --with-python [other options]
make -j8 -s
cd apps; make -s test_ogrsf; cd ..
Expand All @@ -20,11 +20,39 @@ gdalinfo --version

Run autotest suite:
```
cd ../autotest
cd autotest
pip install -r requirements.txt
pytest
```

Setting development environment (CMake, EXPERIMENTAL)
=====================================================

Note: CMake builds are EXPERIMENTAL for now.

Install all required development packages: GNU make, g++, ...

Configure and build:

```
mkdir build
cd build
cmake .. [options]
make -j8 -s
```

Run command line utilities (without installing):
```
. ../scripts/setdevenv.sh
gdalinfo --version
```

Run autotest suite:
```
pip install -r ../autotest/requirements.txt
pytest autotest
```

Git workflows with GDAL
=======================

Expand Down

0 comments on commit e1decbc

Please sign in to comment.