| 1 | = Building On Unix with NetBeans IDE = |
| 2 | |
| 3 | The instructions below explain how to import GDAL building infrastructure to [http://www.netbeans.org/ NetBeans IDE] to be able to build GDAL directly from the IDE. Tested with NetBeans IDE 6. Thanks to Ivan Lucena who originally [http://lists.osgeo.org/pipermail/gdal-dev/2009-January/019655.html posted] them on the mailing list. |
| 4 | |
| 5 | * Main Form: |
| 6 | 1. Select File/New Project |
| 7 | |
| 8 | * New Project wizard dialog: |
| 9 | 1. Choose Project |
| 10 | * Category: C/C++ |
| 11 | * Projects: C/C++ Project From Existing Code |
| 12 | * Click on "Next >" |
| 13 | 2. Build Tool: |
| 14 | * Select "Using existing makefile" |
| 15 | * Browse or type the full path for the main GNUmakefile. Alternatively, select "Using a makefile generate by a 'configure' script. ''Note'': I never used that options since I already run ./configure from the command line but that could a a good way to go too. |
| 16 | 3. Build actions: |
| 17 | * Working Directory: <main GDAL folder path> |
| 18 | * Build command: make |
| 19 | * Clean command: make clean |
| 20 | 4. Source files: |
| 21 | * Click on "Add Folder: <main GDAL folder path> |
| 22 | 5. Code assistance configuration: |
| 23 | * Select "Automatic configuration" |
| 24 | 6. Project Name and location |
| 25 | * Note: Those path doesn't need to be GDAL folder path |
| 26 | |
| 27 | That is it. |