mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Move the external file format stuff into its own module.
This commit is contained in:
20
lib/external/build.py
vendored
Normal file
20
lib/external/build.py
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
from build.c import cxxlibrary
|
||||
from build.protobuf import proto, protocc
|
||||
|
||||
proto(name="fl2_proto", srcs=["./fl2.proto"])
|
||||
protocc(name="fl2_proto_lib", srcs=[".+fl2_proto"])
|
||||
|
||||
cxxlibrary(
|
||||
name="external",
|
||||
srcs=[
|
||||
"./ldbs.cc",
|
||||
"./fl2.cc",
|
||||
],
|
||||
hdrs={
|
||||
"lib/external/ldbs.h": "./ldbs.h",
|
||||
"lib/external/a2r.h": "./a2r.h",
|
||||
"lib/external/scp.h": "./scp.h",
|
||||
"lib/external/fl2.h": "./fl2.h",
|
||||
},
|
||||
deps=["lib/core", ".+fl2_proto_lib", "lib/data"],
|
||||
)
|
||||
Reference in New Issue
Block a user