summaryrefslogtreecommitdiff
path: root/cppbuild.cc
diff options
context:
space:
mode:
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",
};
}