summaryrefslogtreecommitdiff
path: root/server/udm-server.project
diff options
context:
space:
mode:
Diffstat (limited to 'server/udm-server.project')
-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/>