summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2015-09-29 20:36:36 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2015-09-29 20:36:36 +0300
commita904729ad2a51b7752d8f3f240b92c91f0fa4411 (patch)
tree582705cd1fa6725d060d85cfee10036e0d6a5c50 /server
parent01050fcdbf0184c9ded1eeb6021b8a6549e643aa (diff)
protocol:
split to multiple proto files
Diffstat (limited to 'server')
-rw-r--r--server/udm-server.project20
1 files changed, 19 insertions, 1 deletions
diff --git a/server/udm-server.project b/server/udm-server.project
index 39a75cc..0c59c5a 100644
--- a/server/udm-server.project
+++ b/server/udm-server.project
@@ -20,7 +20,6 @@
<Description/>
<Dependencies/>
<VirtualDirectory Name="src">
- <File Name="../protocol/udm.pb.cc"/>
<File Name="src/api_core.cpp"/>
<File Name="src/client.cpp"/>
<File Name="src/main.cpp"/>
@@ -48,6 +47,17 @@
<File Name="include/utilities.h"/>
</VirtualDirectory>
<Dependencies Name="Debug"/>
+ <VirtualDirectory Name="protocol">
+ <File Name="../protocol/events.pb.cc"/>
+ <File Name="../protocol/udm.pb.cc"/>
+ <File Name="../protocol/ui.pb.cc"/>
+ <File Name="../protocol/download.pb.cc"/>
+ <File Name="../protocol/misc.pb.cc"/>
+ <File Name="../protocol/auth.pb.cc"/>
+ <File Name="../protocol/core.pb.cc"/>
+ <File Name="../protocol/module.pb.cc"/>
+ <File Name="../protocol/settings.pb.cc"/>
+ </VirtualDirectory>
<Settings Type="Executable">
<GlobalSettings>
<Compiler Options="" C_Options="" Assembler="">
@@ -90,6 +100,14 @@
</Debugger>
<PreBuild>
<Command Enabled="yes">[ -d ../protocol ] || mkdir ../protocol</Command>
+ <Command Enabled="yes">protoc --cpp_out=../protocol --proto_path=../protocol ../protocol/misc.proto</Command>
+ <Command Enabled="yes">protoc --cpp_out=../protocol --proto_path=../protocol ../protocol/ui.proto</Command>
+ <Command Enabled="yes">protoc --cpp_out=../protocol --proto_path=../protocol ../protocol/events.proto</Command>
+ <Command Enabled="yes">protoc --cpp_out=../protocol --proto_path=../protocol ../protocol/download.proto</Command>
+ <Command Enabled="yes">protoc --cpp_out=../protocol --proto_path=../protocol ../protocol/settings.proto</Command>
+ <Command Enabled="yes">protoc --cpp_out=../protocol --proto_path=../protocol ../protocol/module.proto</Command>
+ <Command Enabled="yes">protoc --cpp_out=../protocol --proto_path=../protocol ../protocol/auth.proto</Command>
+ <Command Enabled="yes">protoc --cpp_out=../protocol --proto_path=../protocol ../protocol/core.proto</Command>
<Command Enabled="yes">protoc --cpp_out=../protocol --proto_path=../protocol ../protocol/udm.proto</Command>
</PreBuild>
<PostBuild/>