Split C and C++ libraries, so that you can use C++ compiler flags. Build with

C++17.
This commit is contained in:
David Given
2023-10-24 22:00:09 +02:00
parent 44fc532d63
commit ca6b90f8c1
9 changed files with 54 additions and 25 deletions

View File

@@ -1,6 +1,6 @@
from build.c import clibrary
from build.c import cxxlibrary
clibrary(
cxxlibrary(
name="agg",
srcs=[
"./src/agg_arrowhead.cpp",

View File

@@ -1,6 +1,6 @@
from build.c import clibrary
from build.c import cxxlibrary
clibrary(
cxxlibrary(
name="snowhouse",
hdrs={
"snowhouse/snowhouse.h": "./include/snowhouse/snowhouse.h",