From 2f26038fff88d8f053e65a51351cfdd712de33dc Mon Sep 17 00:00:00 2001 From: Olga Khlopkova Date: Mon, 27 Apr 2020 16:35:50 +0300 Subject: [PATCH] update for build instruction --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index be2e8af..d54e1ea 100644 --- a/README.md +++ b/README.md @@ -96,12 +96,12 @@ StopTimes get_stop_times_for_trip(const Id & trip_id, bool sort_by_sequence = tr ## How to use library - For including the library in your own project: just_gtfs is completely contained inside a single header and therefore it is sufficient to copy include/just_gtfs/just_gtfs.h to your include pathes. The library does not have to be explicitly build. - For running library tests: -Clone just_gtfs with `git clone --recursive` or run `git submodule update --init --recursive` after cloning. +Clone just_gtfs with `git clone --recursive` or run `git submodule update --init --recursive --remote` after cloning. In the just_gtfs project directory build the project and run unit tests: ``` cmake . make -ctest --output-on-failure +ctest --output-on-failure --verbose ``` The library makes use of the C++17 features and therefore you have to use appropriate compiler version. - For including as a submodule: use branch "for-usage-as-submodule" which consists of a single header.