fixing Windows build
authorVolker Birk <vb@pep-project.org>
Thu, 08 Dec 2016 13:55:07 +0100
changeset 147661323550db84
parent 1475 f76bc25570df
child 1477 c0d761ae1fd9
fixing Windows build
build-windows/pEpEngine.vcxproj
sync/gen_statemachine.ysl2
sync/generated/sync_fsm.c
     1.1 --- a/build-windows/pEpEngine.vcxproj	Thu Dec 08 10:52:05 2016 +0100
     1.2 +++ b/build-windows/pEpEngine.vcxproj	Thu Dec 08 13:55:07 2016 +0100
     1.3 @@ -69,7 +69,9 @@
     1.4      </Link>
     1.5      <PreBuildEvent>
     1.6        <Command>cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_statemachine.ysl2 devicegroup.fsm -o .statemachines
     1.7 -cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -ygen_actions_skeleton.ysl2 devicegroup.fsm -o .skeletons
     1.8 +cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -ygen_actions.ysl2 devicegroup.fsm -o .skeletons
     1.9 +cd "$(ProjectDir)..\sync" &amp;&amp; xcopy generated\*.c ..\src\ /y
    1.10 +cd "$(ProjectDir)..\sync" &amp;&amp; xcopy generated\*.h ..\src\ /y
    1.11  </Command>
    1.12      </PreBuildEvent>
    1.13    </ItemDefinitionGroup>
    1.14 @@ -97,7 +99,9 @@
    1.15      </Link>
    1.16      <PreBuildEvent>
    1.17        <Command>cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_statemachine.ysl2 devicegroup.fsm -o .statemachines
    1.18 -cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -ygen_actions_skeleton.ysl2 devicegroup.fsm -o .skeletons
    1.19 +cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -ygen_actions.ysl2 devicegroup.fsm -o .skeletons
    1.20 +cd "$(ProjectDir)..\sync" &amp;&amp; xcopy generated\*.c ..\src\ /y
    1.21 +cd "$(ProjectDir)..\sync" &amp;&amp; xcopy generated\*.h ..\src\ /y
    1.22  </Command>
    1.23      </PreBuildEvent>
    1.24    </ItemDefinitionGroup>
     2.1 --- a/sync/gen_statemachine.ysl2	Thu Dec 08 10:52:05 2016 +0100
     2.2 +++ b/sync/gen_statemachine.ysl2	Thu Dec 08 13:55:07 2016 +0100
     2.3 @@ -181,8 +181,8 @@
     2.4          ||
     2.5          document "generated/{@filename}_fsm.c", "text"
     2.6          ||
     2.7 +        #include "pEp_internal.h"
     2.8          #include "«@filename»_fsm.h"
     2.9 -        #include "pEp_internal.h"
    2.10  
    2.11          // state machine for «@name»
    2.12  
     3.1 --- a/sync/generated/sync_fsm.c	Thu Dec 08 10:52:05 2016 +0100
     3.2 +++ b/sync/generated/sync_fsm.c	Thu Dec 08 13:55:07 2016 +0100
     3.3 @@ -1,5 +1,5 @@
     3.4 +#include "pEp_internal.h"
     3.5  #include "sync_fsm.h"
     3.6 -#include "pEp_internal.h"
     3.7  
     3.8  // state machine for DeviceState
     3.9