mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Get the executables building on WSL2 Fedora.
This commit is contained in:
17
dep/fmt/build.py
Normal file
17
dep/fmt/build.py
Normal file
@@ -0,0 +1,17 @@
|
||||
from build.c import cxxlibrary, HostToolchain
|
||||
|
||||
cxxlibrary(
|
||||
name="fmt",
|
||||
srcs=[
|
||||
"./src/format.cc",
|
||||
"./src/os.cc",
|
||||
],
|
||||
cflags=["-Idep/fmt/include"],
|
||||
hdrs={
|
||||
"fmt/args.h": "./include/fmt/args.h",
|
||||
"fmt/chrono.h": "./include/fmt/chrono.h",
|
||||
"fmt/core.h": "./include/fmt/core.h",
|
||||
"fmt/format.h": "./include/fmt/format.h",
|
||||
"fmt/ostream.h": "./include/fmt/ostream.h",
|
||||
"fmt/ranges.h": "./include/fmt/ranges.h",
|
||||
})
|
||||
@@ -61,7 +61,7 @@ clibrary(
|
||||
name="libusbp",
|
||||
srcs=srcs,
|
||||
cflags=["-Idep/libusbp/include", "-Idep/libusbp/src"],
|
||||
ldflags=ldflags,
|
||||
caller_ldflags=ldflags,
|
||||
deps=deps,
|
||||
hdrs={
|
||||
"libusbp_internal.h": "./src/libusbp_internal.h",
|
||||
|
||||
Reference in New Issue
Block a user