Update documentation - add pkg-config examples.

Use -std=c++14 (instead of c++11). Pointers how to integrate with
pkg-config for non-CMake projects.
This commit is contained in:
Petr Kubánek authored and Martin Hořeňovský committed 2022-06-05 15:58:41 +02:00
1 parent 3644b4135d
commit 0c13d021da
8 files changed
+13 -9

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ SCENARIO( "vectors can be sized and resized", "[vector]" ) {
}
// Compile & run:
// - g++ -std=c++11 -Wall -I$(CATCH_SINGLE_INCLUDE) -o 120-Bdd-ScenarioGivenWhenThen 120-Bdd-ScenarioGivenWhenThen.cpp && 120-Bdd-ScenarioGivenWhenThen --success
// - g++ -std=c++14 -Wall -I$(CATCH_SINGLE_INCLUDE) -o 120-Bdd-ScenarioGivenWhenThen 120-Bdd-ScenarioGivenWhenThen.cpp && 120-Bdd-ScenarioGivenWhenThen --success
// - cl -EHsc -I%CATCH_SINGLE_INCLUDE% 120-Bdd-ScenarioGivenWhenThen.cpp && 120-Bdd-ScenarioGivenWhenThen --success
// Expected compact output (all assertions):