kopia lustrzana https://gitlab.com/tomaszg/geostat
Try to prepare standalone library to hold common code
rodzic
d4d8011be1
commit
5573a6d929
26
meson.build
26
meson.build
|
@ -16,19 +16,21 @@ if not magick_dep.found()
|
|||
endif
|
||||
|
||||
link = ['-lheatmap']
|
||||
src = ['geostat.cpp', 'okapi.cpp', 'cache.cpp', 'debug.cpp', 'heat.cpp', 'ocdb.cpp', 'common.cpp', 'region.cpp', 'powertrail.cpp']
|
||||
src_fr = ['geofriends.cpp', 'okapi.cpp', 'cache.cpp', 'debug.cpp', 'common.cpp']
|
||||
src_lst = ['geolist.cpp', 'okapi.cpp', 'cache.cpp', 'debug.cpp', 'common.cpp']
|
||||
src_cli = ['geostat_cli.cpp', 'okapi.cpp', 'gpx.cpp', 'cache.cpp', 'debug.cpp', 'heat.cpp', 'ocdb.cpp', 'common.cpp', 'region.cpp']
|
||||
src_db = ['geodb.cpp', 'debug.cpp', 'ocdb.cpp', 'okapi.cpp', 'cache.cpp', 'common.cpp']
|
||||
src_traildb = ['powertrail.cpp', 'debug.cpp', 'traildb.cpp', 'common.cpp']
|
||||
src = ['geostat.cpp']
|
||||
src_fr = ['geofriends.cpp']
|
||||
src_lst = ['geolist.cpp']
|
||||
src_cli = ['geostat_cli.cpp', 'gpx.cpp']
|
||||
src_db = ['geodb.cpp']
|
||||
src_traildb = ['traildb.cpp']
|
||||
|
||||
executable('geostat', src, dependencies : [curl_dep, json_dep, magick_dep, sqlite_dep, boost_dep], link_args: link, install: true)
|
||||
executable('geofriends', src_fr, dependencies : [curl_dep, json_dep], install: true)
|
||||
executable('geolist', src_lst, dependencies : [curl_dep, json_dep], install: true)
|
||||
executable('geostat_cli', src_cli, dependencies : [curl_dep, json_dep, magick_dep, sqlite_dep, gpx_dep, boost_dep], link_args: link, install: true)
|
||||
executable('geodb', src_db, dependencies : [sqlite_dep, json_dep, curl_dep], install: true)
|
||||
executable('traildb', src_traildb, dependencies : [sqlite_dep, curl_dep], install: false)
|
||||
lib_geostat = library('okapi', ['okapi.cpp', 'debug.cpp', 'cache.cpp', 'powertrail.cpp', 'common.cpp', 'heat.cpp', 'ocdb.cpp', 'region.cpp'], dependencies : [curl_dep, json_dep, magick_dep, sqlite_dep, boost_dep], link_args: link, install: true)
|
||||
|
||||
executable('geostat', src, link_args: link, install: true, link_with : lib_geostat)
|
||||
executable('geofriends', src_fr, install: true, link_with : lib_geostat)
|
||||
executable('geolist', src_lst, install: true, link_with : lib_geostat)
|
||||
executable('geostat_cli', src_cli, dependencies : [gpx_dep], link_args: link, install: true, link_with : lib_geostat)
|
||||
executable('geodb', src_db, install: true, link_with : lib_geostat)
|
||||
executable('traildb', src_traildb, install: false, link_with : lib_geostat)
|
||||
|
||||
configure_file(input: 'rating-star.png', output: '@PLAINNAME@', copy: true, install: true, install_dir: '.')
|
||||
configure_file(input: 'geo.css', output: '@PLAINNAME@', copy: true, install: true, install_dir: '.')
|
||||
|
|
Ładowanie…
Reference in New Issue