summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/udm-server.cbp13
1 files changed, 13 insertions, 0 deletions
diff --git a/server/udm-server.cbp b/server/udm-server.cbp
index 6c2a233..401c773 100644
--- a/server/udm-server.cbp
+++ b/server/udm-server.cbp
@@ -30,7 +30,20 @@
</Build>
<Compiler>
<Add option="-Wall" />
+ <Add directory="include" />
</Compiler>
+ <Linker>
+ <Add library="protobuf" />
+ </Linker>
+ <ExtraCommands>
+ <Add before="[ -d ../protocol ] || mkdir ../protocol" />
+ <Add before="protoc --cpp_out=../protocol --proto_path=../protocol ../protocol/udm.proto" />
+ </ExtraCommands>
+ <Unit filename="../protocol/udm.pb.cc" />
+ <Unit filename="../protocol/udm.pb.h" />
+ <Unit filename="include/protocol.h" />
+ <Unit filename="src/main.cpp" />
+ <Unit filename="src/protocol.cpp" />
<Extensions>
<code_completion />
<debugger />