summaryrefslogtreecommitdiff
path: root/cppbuild.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-06-11 21:29:09 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-06-11 21:29:09 +0200
commitee825bf2e966a1b565473753adb3f2b74f6d0ce4 (patch)
tree1c88ce85788c1678f0946d880b0a3737c592e9d7 /cppbuild.cc
parent6e3070181fadbe47511b52c12af5e1409a9a70b0 (diff)
Flags'n'stuff
Diffstat (limited to 'cppbuild.cc')
-rw-r--r--cppbuild.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/cppbuild.cc b/cppbuild.cc
index b06b082..275512f 100644
--- a/cppbuild.cc
+++ b/cppbuild.cc
@@ -14,6 +14,12 @@ BuildConfiguration configs()
// source files
"src/foo.cc",
"src/bar.cc",
- }
+ },
+ // cxx flags
+ "-g -Wall -Werror -std=c++17",
+ // c flags
+ "-g -Wall -Werror",
+ // linker flags
+ "-lm",
};
}