Browse Source

change build for sync generation

sequoia
Volker Birk 4 years ago
parent
commit
a7ca17c100
2 changed files with 53 additions and 21 deletions
  1. +28
    -8
      build-windows/pEpEngine.vcxproj
  2. +25
    -13
      build-windows/pEpEngine.vcxproj.filters

+ 28
- 8
build-windows/pEpEngine.vcxproj View File

@ -68,7 +68,15 @@
<AdditionalDependencies>$(TargetDir)\pEpEngineASN1.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PreBuildEvent>
<Command>cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_actions.ysl2 sync.fsm -o .actions</Command>
<Command>cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_actions.ysl2 sync.fsm -o .actions
cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_statemachine.ysl2 sync.fsm -o .statemachines
cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_codec.ysl2 sync.fsm -o .codecs
cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_messages.ysl2 sync.fsm -o .messages
cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_message_func.ysl2 sync.fsm -o .messages
cd "$(ProjectDir)..\sync" &amp;&amp; xcopy /y generated\*.asn1 ..\asn.1\
cd "$(ProjectDir)..\sync" &amp;&amp; xcopy /y generated\*.c ..\src\
cd "$(ProjectDir)..\sync" &amp;&amp; xcopy /y generated\*.h ..\src\
</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
@ -94,7 +102,15 @@
<AdditionalDependencies>$(TargetDir)\pEpEngineASN1.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PreBuildEvent>
<Command>cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_actions.ysl2 sync.fsm -o .actions</Command>
<Command>cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_actions.ysl2 sync.fsm -o .actions
cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_statemachine.ysl2 sync.fsm -o .statemachines
cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_codec.ysl2 sync.fsm -o .codecs
cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_messages.ysl2 sync.fsm -o .messages
cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_message_func.ysl2 sync.fsm -o .messages
cd "$(ProjectDir)..\sync" &amp;&amp; xcopy /y generated\*.asn1 ..\asn.1\
cd "$(ProjectDir)..\sync" &amp;&amp; xcopy /y generated\*.c ..\src\
cd "$(ProjectDir)..\sync" &amp;&amp; xcopy /y generated\*.h ..\src\
</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
@ -107,6 +123,7 @@
<ClCompile Include="..\src\etpan_mime.c" />
<ClCompile Include="..\src\identity_list.c" />
<ClCompile Include="..\src\keymanagement.c" />
<ClCompile Include="..\src\KeySync_fsm.c" />
<ClCompile Include="..\src\labeled_int_list.c" />
<ClCompile Include="..\src\map_asn1.c" />
<ClCompile Include="..\src\message.c" />
@ -121,12 +138,11 @@
<ClCompile Include="..\src\sqlite3.c" />
<ClCompile Include="..\src\stringlist.c" />
<ClCompile Include="..\src\stringpair.c" />
<ClCompile Include="..\src\sync.c" />
<ClCompile Include="..\src\sync_actions.c" />
<ClCompile Include="..\src\sync_driver.c" />
<ClCompile Include="..\src\sync_fsm.c" />
<ClCompile Include="..\src\sync_impl.c" />
<ClCompile Include="..\src\sync_send_actions.c" />
<ClCompile Include="..\src\Sync_actions.c" />
<ClCompile Include="..\src\sync_api.c" />
<ClCompile Include="..\src\sync_codec.c" />
<ClCompile Include="..\src\Sync_event.c" />
<ClCompile Include="..\src\Sync_impl.c" />
<ClCompile Include="..\src\timestamp.c" />
<ClCompile Include="..\src\transport.c" />
<ClCompile Include="..\src\trans_auto.c" />
@ -142,6 +158,7 @@
<ClInclude Include="..\src\etpan_mime.h" />
<ClInclude Include="..\src\identity_list.h" />
<ClInclude Include="..\src\keymanagement.h" />
<ClInclude Include="..\src\KeySync_fsm.h" />
<ClInclude Include="..\src\labeled_int_list.h" />
<ClInclude Include="..\src\map_asn1.h" />
<ClInclude Include="..\src\message.h" />
@ -161,6 +178,9 @@
<ClInclude Include="..\src\stringlist.h" />
<ClInclude Include="..\src\stringpair.h" />
<ClInclude Include="..\src\sync.h" />
<ClInclude Include="..\src\sync_api.h" />
<ClInclude Include="..\src\sync_codec.h" />
<ClInclude Include="..\src\Sync_event.h" />
<ClInclude Include="..\src\sync_fsm.h" />
<ClInclude Include="..\src\sync_impl.h" />
<ClInclude Include="..\src\timestamp.h" />


+ 25
- 13
build-windows/pEpEngine.vcxproj.filters View File

@ -72,43 +72,43 @@
<ClCompile Include="..\src\blacklist.c">
<Filter>Quelldateien</Filter>
</ClCompile>
<ClCompile Include="..\src\sync.c">
<ClCompile Include="..\src\map_asn1.c">
<Filter>Quelldateien</Filter>
</ClCompile>
<ClCompile Include="..\src\sync_actions.c">
<ClCompile Include="..\src\baseprotocol.c">
<Filter>Quelldateien</Filter>
</ClCompile>
<ClCompile Include="..\src\sync_driver.c">
<ClCompile Include="..\src\openpgp_compat.c">
<Filter>Quelldateien</Filter>
</ClCompile>
<ClCompile Include="..\src\sync_fsm.c">
<ClCompile Include="..\src\asn1_helper.c">
<Filter>Quelldateien</Filter>
</ClCompile>
<ClCompile Include="..\src\map_asn1.c">
<ClCompile Include="..\src\resource_id.c">
<Filter>Quelldateien</Filter>
</ClCompile>
<ClCompile Include="..\src\baseprotocol.c">
<ClCompile Include="..\src\pEp_string.c">
<Filter>Quelldateien</Filter>
</ClCompile>
<ClCompile Include="..\src\sync_send_actions.c">
<ClCompile Include="..\src\labeled_int_list.c">
<Filter>Quelldateien</Filter>
</ClCompile>
<ClCompile Include="..\src\openpgp_compat.c">
<ClCompile Include="..\src\Sync_actions.c">
<Filter>Quelldateien</Filter>
</ClCompile>
<ClCompile Include="..\src\asn1_helper.c">
<ClCompile Include="..\src\sync_api.c">
<Filter>Quelldateien</Filter>
</ClCompile>
<ClCompile Include="..\src\sync_impl.c">
<ClCompile Include="..\src\sync_codec.c">
<Filter>Quelldateien</Filter>
</ClCompile>
<ClCompile Include="..\src\resource_id.c">
<ClCompile Include="..\src\Sync_event.c">
<Filter>Quelldateien</Filter>
</ClCompile>
<ClCompile Include="..\src\pEp_string.c">
<ClCompile Include="..\src\Sync_impl.c">
<Filter>Quelldateien</Filter>
</ClCompile>
<ClCompile Include="..\src\labeled_int_list.c">
<ClCompile Include="..\src\KeySync_fsm.c">
<Filter>Quelldateien</Filter>
</ClCompile>
</ItemGroup>
@ -218,6 +218,18 @@
<ClInclude Include="..\src\labeled_int_list.h">
<Filter>Headerdateien</Filter>
</ClInclude>
<ClInclude Include="..\src\sync_api.h">
<Filter>Quelldateien</Filter>
</ClInclude>
<ClInclude Include="..\src\sync_codec.h">
<Filter>Quelldateien</Filter>
</ClInclude>
<ClInclude Include="..\src\Sync_event.h">
<Filter>Quelldateien</Filter>
</ClInclude>
<ClInclude Include="..\src\KeySync_fsm.h">
<Filter>Quelldateien</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Text Include="..\LICENSE.txt" />


Loading…
Cancel
Save