-
Notifications
You must be signed in to change notification settings - Fork 0
/
geomap.nimble
40 lines (29 loc) · 962 Bytes
/
geomap.nimble
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
#import osproc
# Package
version = "3.2.0"
author = "Paul Norrie"
description = "Manipulate geospatial data and images"
license = "MIT"
#srcDir = "map"
# Dependencies
requires "nim >= 1.4.8"
requires "optionsutils"
requires "arraymancer"
#requires "mathexpr"
#before install:
# import distros
# if detectOs(MacOSX):
# to distribute on MacOSX you will need to either:
# brew install gdal (for command line applications distributed on Homebrew)
# or,
# statically link libraries for a App Package (.dmg)
# foreignDepCmd("gdal")
# discard exec("brew install gdal")
# else if detectOs(Linux):
# to distribute on Linux you will need gdal-dev package
# foreignDepCmd("gdal-dev")
# else if detectOs(Windows):
# else:
## Tasks
#task build, "builds Map dynamically linking to GDAL":
#task build_static: "builds Map statically linking to GDAL":