summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2021-06-11 14:44:54 +0200
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2021-06-11 14:44:54 +0200
commita1612e796554207544d30e298d6a57834b335c37 (patch)
tree997a7df9aa8f7884290800389c0a3df115cf153b
parent90b840f701111dd6d32b8c2a415feea415b77457 (diff)
Update examples/README
-rw-r--r--examples/README4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/README b/examples/README
index 29413fd..a79c5d9 100644
--- a/examples/README
+++ b/examples/README
@@ -3,10 +3,10 @@ Examples:
surfaces: demonstrates how to use various surface types
text: various examples of drawing text
-
These examples are built automatically as part of cairomm, and you can
easily try them out if you are building from source. If cairomm has been
installed on your system, you can compile an example program with
- g++ `pkg-config --cflags --libs cairomm-1.0` main.cc
+ g++ main.cc `pkg-config --cflags --libs cairomm-1.0` -std=c++11
+with main.cc replaced by the name of the program you want to build.