add hint of how to compile geojson unit test without scons

This commit is contained in:
Dane Springmeyer 2015-10-29 08:01:36 -07:00
parent 8a762a0a19
commit 1ac12a4430

View file

@ -22,7 +22,6 @@
#include "catch.hpp"
#include <mapnik/map.hpp>
#include <mapnik/datasource.hpp>
#include <mapnik/datasource_cache.hpp>
#include <mapnik/geometry.hpp>
@ -32,6 +31,15 @@
#include <boost/optional/optional_io.hpp>
/*
Compile and run just this test:
clang++ -o test-geojson -g -I./test/ test/unit/run.cpp test/unit/datasource/geojson.cpp `mapnik-config --all-flags`
./test-geojson -d yes
*/
namespace {
std::pair<mapnik::datasource_ptr,mapnik::feature_ptr> fetch_first_feature(std::string const& filename, bool cache_features)