Commit 24b2396
parent 464ffca
author Rashad Kanavath <[email protected]> 1497210739 +0200
committer Markus Neteler <[email protected]> 1669989265 +0100
parent 464ffca
author Rashad Kanavath <[email protected]> 1497210739 +0200
committer Markus Neteler <[email protected]> 1669989193 +0100
parent 464ffca
author Rashad Kanavath <[email protected]> 1497210739 +0200
committer Markus Neteler <[email protected]> 1669989189 +0100
parent 464ffca
author Rashad Kanavath <[email protected]> 1497210739 +0200
committer Markus Neteler <[email protected]> 1669989180 +0100
parent 464ffca
author Rashad Kanavath <[email protected]> 1497210739 +0200
committer Markus Neteler <[email protected]> 1669988019 +0100
parent 464ffca
author Rashad Kanavath <[email protected]> 1497210739 +0200
committer Markus Neteler <[email protected]> 1669987997 +0100
parent 464ffca
author Rashad Kanavath <[email protected]> 1497210739 +0200
committer Markus Neteler <[email protected]> 1669987899 +0100
parent 464ffca
author Rashad Kanavath <[email protected]> 1497210739 +0200
committer Markus Neteler <[email protected]> 1669986420 +0100
parent 464ffca
author Rashad Kanavath <[email protected]> 1497210739 +0200
committer Markus Neteler <[email protected]> 1669986410 +0100
parent 464ffca
author Rashad Kanavath <[email protected]> 1497210739 +0200
committer Markus Neteler <[email protected]> 1669985337 +0100
parent 464ffca
author Rashad Kanavath <[email protected]> 1497210739 +0200
committer Markus Neteler <[email protected]> 1669984062 +0100
parent 464ffca
author Rashad Kanavath <[email protected]> 1497210739 +0200
committer Markus Neteler <[email protected]> 1669984050 +0100
parent 464ffca
author Rashad Kanavath <[email protected]> 1497210739 +0200
committer Markus Neteler <[email protected]> 1669984037 +0100
parent 464ffca
author Rashad Kanavath <[email protected]> 1497210739 +0200
committer Markus Neteler <[email protected]> 1669984013 +0100
inital work on grass cmake build
wip: cmake fixes
add find iconv script
fix blas error wrong target added
link with dl lib on linux
disable some modules (wip)
search whatever is fftw's inlcude dir
driver lib depends on iconv
fftw in required package
build fftw modules
add python libs
test with py3
install sqlfiles to etc/sql
install lock, clean_temp, echo to ./etc/
install libs
link with dl lib
cleanup cmake code
fix python script & lib install dirs
fixed gisbase for grass startup script
install modules to bin
add PNG as dependency to r.out.png
install __init__.py
wrong install dir for python api
install with rpath to avoid LD_LIBRARY_PATH
whitespace fixes
MSVC: check for _WIN32 to use msvc and mingw32
MSVC: disable some programs temporarily
update cmake scripts to manage thirdparty libs
disable X11 on windows
update generation of config.h
fix list of cmake depends
msvc compile fixes
use INIFINITY rather than gcc only division by zero
ignore visual studio, cmake files
use INFINITY rather than divide by zero
use _WIN32 for mingw32 and msvc
add ssize_t for msvc
msvc add _USE_MATH_DEFINES an d export dll
keep check for long long int in cache
include driver/init.c when building display drivers
use _WIN32 to build msvc and mingw32
update cmake for lib/db
link with libm only on unix
msvc: skip chmod on windows msvc
use INFINITY rather than diivide by zero
add msvc specific headers: unistd.h, dirent.h
grass moved to git... So follow that in cmake.
fix check for HAVE_LONG_LONG
include math.h only on msvc. To be discussed
void* arithmetic (GCC extension) is not allowed in msvc
disable d.mon, d.font on msvc. TBD
missing O_ACCMODE on msvc
Add unistd.h on windows
Source copied from http://stackoverflow.com/a/826027
dbmi_base: add dirent.h and dirent.c for msvc
use macro INFINITY rather than GCC divide by zero
MSVC: fix missing strings.h
use math defines on msvc
update find package of fftw
added required defines into parent scope
update setting of HAVE_* defines. 1/n
use cmake target check if possible
add odbc target on windows
update values in generated config.h
reorganize cmake option defaults, cmake flags, macros
cmake c and cxx flags include _CRT_SECURE_NO_WARNINGS to avoid a lot msdn warnings
check_target macro is a helper to reduce number of lines in include/CMakeLists.txt
simlib: min, max are already available
Find which C standard library does not provide them
And if there is one, see if grass support that compiler/platform combination
To be discussed
CMake: reorganize cmake functions, macros, find_scripts (Like a Pro)
make_script_in_dir is renamed to build_script_in_subdir
I still don't the naming of macro is clear.
One without knowledge of CMake, AutoMake or any
other build scripting experience must be able to deduct
what is the macro/functions.
Even if there will be a header comment with 'PURPOSE' field.
fix define used in lib/rst/interp_float
fix tools/timer build
add gettimeofday windowss implemenation from postgresql
CMake: reorganize cmake functions (2)
MSVC: copy UINT64CONST(x) from postgresql
WIP: disable pyc generation with g.parser on msvc
fix ccmath complex struct for msvc
take out GCC'sim and stick to C standard
copy external/ccmath/ccmath.h to include/grass/ccmath_grass.h
CMake: enable cmake export all symbols on for shared libs
CMake: build lib/python on MSVC
fix ctypesgen.cmake
reorg cmake functions used by python
add new cmake function to copy_python_files and compile
MSVC: include sys/time.h if available or time.h
CMake: remove debug trace
CMake: minor cleanup
CMake: make gui/images
CMake: fix run_grass of locale_strings and ctypesgen
CMake: link with postgres is optional
gid_t, uid_t, pid_t exists on *nix
use find_library_suffix to switch between debug and rest
avoid touch .stamp files and depend on generated pyc file
CMake: update definiition of HAVE_PROJ_H
include winsock.h only on msvc
CMake: remove annoying logs
for fix TODO for g.version
CMake: depend on pyc file not on a new .stamp file
CMake: fix syntax error
CMake: fix sqlite include dir variable
CMake: detect version of proj4 before activating defines
MSVC: avoid pulling min max on windows
CMake: update list of enabled modules
TODO r.watershed, fix cmake proj4 library varname
Revert "simlib: min, max are already available"
This reverts commit ab2b961.
CMake: update proj library variables (remove suffix 4)
use macro INFINITY
MSVC: fix gisinit initialized flag
export initialized using dllexport when building.
export macros has been generated by CMake's GenerateExportHeader.
cmake calls this for all libraries in build_module function.
There is a change in initialized variable decl on msvc and rest of compilers.
This point has to be discussed with other devs
MSVC: fix min, max macro stuff
update TODO, list of modules not built by cmake
CMake: update find scripts to find debug then release
update list of options.
WITH_PYTHON addded to build python bindings (default is OFF)
CMake: zlib is check with cmake target
demolocation is configured in lib/init/CMakeLists.txt
CMake: generate grass.py and grass.sh scripts (build tree)
CMake: fix startup script generation (install tree)
fix generation of startup scripts
fix g.list building 1/2
MSVC: missing regex, use PCRE (wip)
lib/init: fix startup script on linux
fix input configure_file
activate building g.remove on msvc
add cmake messages for lib/init/
include sys/time.h if not on msvc.
As we don't include grass/config.h we cannot simply check against
HAVE_SYS_TIME_H
install proj data files
geotiff_csv only required in windows
check this with devs
wip: add compile defs via interface library
fix g.version, grass_gproj with proj6
create startup shell scripts in bin
fix startup script
MSVC: configure run_grass.bat, run_python.bat
generate html docs
fix copy_python_file (used in gui/wxpython, lib/python)
build all gui/wxpython modules
wrapper scripts to build html docs
skip html-description for g.parser
update msvc target properties
fix install directory for running from binary tree
install tools for buildtree and installtree
fix build docs using cmake POST_BUILD
update mkhtml.py for cmake
copy header to binary directory using add_custom_command
install extra files in lib/gis using post_build
add copy_header as depdendency to grass_datetime
first install tools directory
find cairo debug and then release libs
add POST_BUILD target for documentation only if WITH_DOCS
build gui/wxpython, fix html description generation
MSVC: uninitialized variable
CMake: update to work with autoconf and cmake
CMake: install et copy gui/images gui/icons
CMake: fix grass version date
CMake: fix building gui (python files, docs, html)
fix dist include dir name
build docs only if requested
fix typo
fix cmake syntax errors
cmake linux fixes
check for _WIN32 define to work with msvc
fix newline at end of file
WIP: update helper cmake scripts
update copy_header target
use gisbase as dist directory for build tree
cmake: fix build for db/drivers
ignore __pycache__ directory when scanning for .py files
wip: use a gisbase as dist directory
WIP: temporary fix for find_library output variable
CMake: move wxpython cmake codes to gui/wxpython
raise ScriptError
wip wip build docs
minor cleanup
install html docs for driver db
update building html docs (wip)
add missing dependencies for v.lrs
update building python modules (wip)
use target property to check if running python script (docs)
cleanup cmake helper functions (exe, libs, python, docs)
copy strings.h and unistd.h on msvc
python files (target) depend only grass.script if building docs
fix build docs for windows and linux (wip)
seperate list of g.gui.* modules
try to make generic build docs (wip)
build docs html for not win32 (wip)
fix cmake syntax error
update pgm extension for running html description
remove temp files after docs are finished
CMake: fix IN_LIST syntax
ficx cmake syntax error
fix again linux html description for python with a main script
wip: include from config build is breaking msvc
msvc: disable db drivers (wip)
add test.raster3d.lib into NO_HTML_DESCR_TARGETS
CMake: missing endif()
x extension on running html descr
copy r.in.wms directory to etc/
fix building py modules
add grass dll directory to path windows grass.bat
debug linux build failures
cmake missing endif
set main script file only for those selected modules
cmake: fix python docs for linux and windows
create scripts directory in gisbase
cmake debug message
add missing include
add cmake find scripts for liblas, netcdf, postgresql
update proj4 detection to support 4.x, 5.x , 6.x versions
update cmake functions to build grass modules
add proj4 version defines (support 5.x+)
add options for v.in.dwg and liblas modules
activate build of modules deactivated
detecting of new 3rdd party libraries
fix i.landsat.acca on msvc
add dll export macro for iostream, dspf, calc
fix r.terraflow on msvc
use _WIN32 rather than __MINGW32__ for msvc
use infinity macro to build on msvc
missing include on msvc
copy VERSIONUMBER and license to gisbase/etc
support for multiple proj4 version
update building lib/python (except ctypes)
use INFINITY macro to work with msvc
fix building gui/wxpython/xml
use approach with cmake env command for cross platform build
void* arithmetic is not allowed in msvc
To be discussed
copy __init__.py for python/grass/
fix wrong cmake varible used
copy init py to etc/python/grass/
db/drviers: odbc, sqlite, dbf, ogr, postgresql
check for PQCmdTuples in postgresql
add defines to be posix conformat on msvc
bring in testing using ctest (wip)
improve proj4 detection
Signed-off-by: Rashad Kanavath <[email protected]>
keep proj4 version string in cache (very useful later)
find optional packages quietly
use PRIMARY_DEPENDS option in build_module
generate wxpython menu xml stuff after building all executables
ogsf and nviz depends on grass_raster
update gui/wxpython build
add missing modules to build
missing v.clip
install html file is exists
cmake cleanup
reorder dependencies of gui/wxpython modules
avoid breakage in autconf build
missing file copy
fix mkhtml doc building, exe, lib, python, gui
fix find scripts on windows
fix always out of date for custom targets
fix missing optional dependds to grass gis library
fix missing math.h include
wrong path used under cmake binary directory
keep autoconf build conflict with cmake
.bat files must be in scripts/
fix installation of gui/images, gui/icons
Revert "install html file is exists"
This reverts commit 9e83f6f.
Apply suggestions from code review
trivial changes (comment style) applied
moved tools/ -> utils/
sync to main
sync to main
fix indentation
remove trailing white space
remove trailing white space
revert C related INFINITY/NAN changes (taken care of in OSGeo#2681)1 parent e298bca commit 24b2396
File tree
159 files changed
+5624
-174
lines changed- cmake
- find_scripts
- modules
- tests
- db
- drivers
- odbc
- demolocation
- display
- doc
- general
- g.region
- manage/lister
- gui
- icons
- images
- wxpython
- docs
- imagery
- i.ortho.photo
- include
- grass
- defs
- iostream
- lib
- cairodriver
- calc
- db
- dbmi_base
- msvc
- dbmi_client
- sqlp
- dspf
- external/ccmath
- fonts
- gis
- imagery
- init
- iostream
- manage
- pngdriver
- proj
- raster3d
- test
- raster
- rst
- interp_float
- temporal
- vector
- Vlib
- dglib
- diglib
- neta
- vedit
- man
- misc
- msvc
- python
- grass
- pygrass
- libgrass_interface_generator
- raster3d
- r3.flow
- r3.in.lidar
- raster
- r.colors.out
- r.colors
- r.horizon
- r.in.bin
- r.in.lidar
- r.li
- r.li.daemon
- r.li.padrange
- r.mapcalc
- r.out.gdal
- r.series.accumulate
- r.sim
- simlib
- r.spread
- r.terraflow
- r.to.vect
- r.univar
- r.viewshed
- r.watershed
- scripts
- temporal
- thirdparty
- utils
- timer
- vector
- v.cluster
- v.distance
- v.lrs
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
159 files changed
+5624
-174
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
0 commit comments