Browse Source

fixing Windows build

doc_update_sequoia
Volker Birk 6 years ago
parent
commit
7f4212018b
3 changed files with 8 additions and 4 deletions
  1. +6
    -2
      build-windows/pEpEngine.vcxproj
  2. +1
    -1
      sync/gen_statemachine.ysl2
  3. +1
    -1
      sync/generated/sync_fsm.c

+ 6
- 2
build-windows/pEpEngine.vcxproj View File

@ -69,7 +69,9 @@
</Link>
<PreBuildEvent>
<Command>cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_statemachine.ysl2 devicegroup.fsm -o .statemachines
cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -ygen_actions_skeleton.ysl2 devicegroup.fsm -o .skeletons
cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -ygen_actions.ysl2 devicegroup.fsm -o .skeletons
cd "$(ProjectDir)..\sync" &amp;&amp; xcopy generated\*.c ..\src\ /y
cd "$(ProjectDir)..\sync" &amp;&amp; xcopy generated\*.h ..\src\ /y
</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
@ -97,7 +99,9 @@ cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -ygen
</Link>
<PreBuildEvent>
<Command>cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -y gen_statemachine.ysl2 devicegroup.fsm -o .statemachines
cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -ygen_actions_skeleton.ysl2 devicegroup.fsm -o .skeletons
cd "$(ProjectDir)..\sync" &amp;&amp; python "%YML_PATH%\yml2proc" -E utf-8 -ygen_actions.ysl2 devicegroup.fsm -o .skeletons
cd "$(ProjectDir)..\sync" &amp;&amp; xcopy generated\*.c ..\src\ /y
cd "$(ProjectDir)..\sync" &amp;&amp; xcopy generated\*.h ..\src\ /y
</Command>
</PreBuildEvent>
</ItemDefinitionGroup>


+ 1
- 1
sync/gen_statemachine.ysl2 View File

@ -181,8 +181,8 @@ tstylesheet {
||
document "generated/{@filename}_fsm.c", "text"
||
#include "«@filename»_fsm.h"
#include "pEp_internal.h"
#include "«@filename»_fsm.h"
// state machine for «@name»


+ 1
- 1
sync/generated/sync_fsm.c View File

@ -1,5 +1,5 @@
#include "sync_fsm.h"
#include "pEp_internal.h"
#include "sync_fsm.h"
// state machine for DeviceState


Loading…
Cancel
Save