change build for sync generation sync
authorVolker Birk <vb@pep.foundation>
Fri, 05 Oct 2018 16:35:23 +0200
branchsync
changeset 3022f0a61ee487df
parent 3021 a4601c5747b6
child 3027 4c44c1ed06ba
change build for sync generation
build-windows/pEpEngine.vcxproj
build-windows/pEpEngine.vcxproj.filters
     1.1 --- a/build-windows/pEpEngine.vcxproj	Fri Oct 05 16:14:17 2018 +0200
     1.2 +++ b/build-windows/pEpEngine.vcxproj	Fri Oct 05 16:35:23 2018 +0200
     1.3 @@ -68,7 +68,15 @@
     1.4        <AdditionalDependencies>$(TargetDir)\pEpEngineASN1.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies>
     1.5      </Link>
     1.6      <PreBuildEvent>
     1.7 -      <Command>cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_actions.ysl2 sync.fsm -o .actions</Command>
     1.8 +      <Command>cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_actions.ysl2 sync.fsm -o .actions
     1.9 +cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_statemachine.ysl2 sync.fsm -o .statemachines
    1.10 +cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_codec.ysl2 sync.fsm -o .codecs
    1.11 +cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_messages.ysl2 sync.fsm -o .messages
    1.12 +cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_message_func.ysl2 sync.fsm -o .messages
    1.13 +cd "$(ProjectDir)..\sync" &amp;&amp; xcopy /y generated\*.asn1 ..\asn.1\
    1.14 +cd "$(ProjectDir)..\sync" &amp;&amp; xcopy /y generated\*.c ..\src\
    1.15 +cd "$(ProjectDir)..\sync" &amp;&amp; xcopy /y generated\*.h ..\src\
    1.16 +</Command>
    1.17      </PreBuildEvent>
    1.18    </ItemDefinitionGroup>
    1.19    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    1.20 @@ -94,7 +102,15 @@
    1.21        <AdditionalDependencies>$(TargetDir)\pEpEngineASN1.lib;Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies>
    1.22      </Link>
    1.23      <PreBuildEvent>
    1.24 -      <Command>cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_actions.ysl2 sync.fsm -o .actions</Command>
    1.25 +      <Command>cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_actions.ysl2 sync.fsm -o .actions
    1.26 +cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_statemachine.ysl2 sync.fsm -o .statemachines
    1.27 +cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_codec.ysl2 sync.fsm -o .codecs
    1.28 +cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_messages.ysl2 sync.fsm -o .messages
    1.29 +cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_message_func.ysl2 sync.fsm -o .messages
    1.30 +cd "$(ProjectDir)..\sync" &amp;&amp; xcopy /y generated\*.asn1 ..\asn.1\
    1.31 +cd "$(ProjectDir)..\sync" &amp;&amp; xcopy /y generated\*.c ..\src\
    1.32 +cd "$(ProjectDir)..\sync" &amp;&amp; xcopy /y generated\*.h ..\src\
    1.33 +</Command>
    1.34      </PreBuildEvent>
    1.35    </ItemDefinitionGroup>
    1.36    <ItemGroup>
    1.37 @@ -107,6 +123,7 @@
    1.38      <ClCompile Include="..\src\etpan_mime.c" />
    1.39      <ClCompile Include="..\src\identity_list.c" />
    1.40      <ClCompile Include="..\src\keymanagement.c" />
    1.41 +    <ClCompile Include="..\src\KeySync_fsm.c" />
    1.42      <ClCompile Include="..\src\labeled_int_list.c" />
    1.43      <ClCompile Include="..\src\map_asn1.c" />
    1.44      <ClCompile Include="..\src\message.c" />
    1.45 @@ -121,12 +138,11 @@
    1.46      <ClCompile Include="..\src\sqlite3.c" />
    1.47      <ClCompile Include="..\src\stringlist.c" />
    1.48      <ClCompile Include="..\src\stringpair.c" />
    1.49 -    <ClCompile Include="..\src\sync.c" />
    1.50 -    <ClCompile Include="..\src\sync_actions.c" />
    1.51 -    <ClCompile Include="..\src\sync_driver.c" />
    1.52 -    <ClCompile Include="..\src\sync_fsm.c" />
    1.53 -    <ClCompile Include="..\src\sync_impl.c" />
    1.54 -    <ClCompile Include="..\src\sync_send_actions.c" />
    1.55 +    <ClCompile Include="..\src\Sync_actions.c" />
    1.56 +    <ClCompile Include="..\src\sync_api.c" />
    1.57 +    <ClCompile Include="..\src\sync_codec.c" />
    1.58 +    <ClCompile Include="..\src\Sync_event.c" />
    1.59 +    <ClCompile Include="..\src\Sync_impl.c" />
    1.60      <ClCompile Include="..\src\timestamp.c" />
    1.61      <ClCompile Include="..\src\transport.c" />
    1.62      <ClCompile Include="..\src\trans_auto.c" />
    1.63 @@ -142,6 +158,7 @@
    1.64      <ClInclude Include="..\src\etpan_mime.h" />
    1.65      <ClInclude Include="..\src\identity_list.h" />
    1.66      <ClInclude Include="..\src\keymanagement.h" />
    1.67 +    <ClInclude Include="..\src\KeySync_fsm.h" />
    1.68      <ClInclude Include="..\src\labeled_int_list.h" />
    1.69      <ClInclude Include="..\src\map_asn1.h" />
    1.70      <ClInclude Include="..\src\message.h" />
    1.71 @@ -161,6 +178,9 @@
    1.72      <ClInclude Include="..\src\stringlist.h" />
    1.73      <ClInclude Include="..\src\stringpair.h" />
    1.74      <ClInclude Include="..\src\sync.h" />
    1.75 +    <ClInclude Include="..\src\sync_api.h" />
    1.76 +    <ClInclude Include="..\src\sync_codec.h" />
    1.77 +    <ClInclude Include="..\src\Sync_event.h" />
    1.78      <ClInclude Include="..\src\sync_fsm.h" />
    1.79      <ClInclude Include="..\src\sync_impl.h" />
    1.80      <ClInclude Include="..\src\timestamp.h" />
     2.1 --- a/build-windows/pEpEngine.vcxproj.filters	Fri Oct 05 16:14:17 2018 +0200
     2.2 +++ b/build-windows/pEpEngine.vcxproj.filters	Fri Oct 05 16:35:23 2018 +0200
     2.3 @@ -72,36 +72,18 @@
     2.4      <ClCompile Include="..\src\blacklist.c">
     2.5        <Filter>Quelldateien</Filter>
     2.6      </ClCompile>
     2.7 -    <ClCompile Include="..\src\sync.c">
     2.8 -      <Filter>Quelldateien</Filter>
     2.9 -    </ClCompile>
    2.10 -    <ClCompile Include="..\src\sync_actions.c">
    2.11 -      <Filter>Quelldateien</Filter>
    2.12 -    </ClCompile>
    2.13 -    <ClCompile Include="..\src\sync_driver.c">
    2.14 -      <Filter>Quelldateien</Filter>
    2.15 -    </ClCompile>
    2.16 -    <ClCompile Include="..\src\sync_fsm.c">
    2.17 -      <Filter>Quelldateien</Filter>
    2.18 -    </ClCompile>
    2.19      <ClCompile Include="..\src\map_asn1.c">
    2.20        <Filter>Quelldateien</Filter>
    2.21      </ClCompile>
    2.22      <ClCompile Include="..\src\baseprotocol.c">
    2.23        <Filter>Quelldateien</Filter>
    2.24      </ClCompile>
    2.25 -    <ClCompile Include="..\src\sync_send_actions.c">
    2.26 -      <Filter>Quelldateien</Filter>
    2.27 -    </ClCompile>
    2.28      <ClCompile Include="..\src\openpgp_compat.c">
    2.29        <Filter>Quelldateien</Filter>
    2.30      </ClCompile>
    2.31      <ClCompile Include="..\src\asn1_helper.c">
    2.32        <Filter>Quelldateien</Filter>
    2.33      </ClCompile>
    2.34 -    <ClCompile Include="..\src\sync_impl.c">
    2.35 -      <Filter>Quelldateien</Filter>
    2.36 -    </ClCompile>
    2.37      <ClCompile Include="..\src\resource_id.c">
    2.38        <Filter>Quelldateien</Filter>
    2.39      </ClCompile>
    2.40 @@ -111,6 +93,24 @@
    2.41      <ClCompile Include="..\src\labeled_int_list.c">
    2.42        <Filter>Quelldateien</Filter>
    2.43      </ClCompile>
    2.44 +    <ClCompile Include="..\src\Sync_actions.c">
    2.45 +      <Filter>Quelldateien</Filter>
    2.46 +    </ClCompile>
    2.47 +    <ClCompile Include="..\src\sync_api.c">
    2.48 +      <Filter>Quelldateien</Filter>
    2.49 +    </ClCompile>
    2.50 +    <ClCompile Include="..\src\sync_codec.c">
    2.51 +      <Filter>Quelldateien</Filter>
    2.52 +    </ClCompile>
    2.53 +    <ClCompile Include="..\src\Sync_event.c">
    2.54 +      <Filter>Quelldateien</Filter>
    2.55 +    </ClCompile>
    2.56 +    <ClCompile Include="..\src\Sync_impl.c">
    2.57 +      <Filter>Quelldateien</Filter>
    2.58 +    </ClCompile>
    2.59 +    <ClCompile Include="..\src\KeySync_fsm.c">
    2.60 +      <Filter>Quelldateien</Filter>
    2.61 +    </ClCompile>
    2.62    </ItemGroup>
    2.63    <ItemGroup>
    2.64      <ClInclude Include="..\src\keymanagement.h">
    2.65 @@ -218,6 +218,18 @@
    2.66      <ClInclude Include="..\src\labeled_int_list.h">
    2.67        <Filter>Headerdateien</Filter>
    2.68      </ClInclude>
    2.69 +    <ClInclude Include="..\src\sync_api.h">
    2.70 +      <Filter>Quelldateien</Filter>
    2.71 +    </ClInclude>
    2.72 +    <ClInclude Include="..\src\sync_codec.h">
    2.73 +      <Filter>Quelldateien</Filter>
    2.74 +    </ClInclude>
    2.75 +    <ClInclude Include="..\src\Sync_event.h">
    2.76 +      <Filter>Quelldateien</Filter>
    2.77 +    </ClInclude>
    2.78 +    <ClInclude Include="..\src\KeySync_fsm.h">
    2.79 +      <Filter>Quelldateien</Filter>
    2.80 +    </ClInclude>
    2.81    </ItemGroup>
    2.82    <ItemGroup>
    2.83      <Text Include="..\LICENSE.txt" />