1
General Board / Build an exectuable state machine with Visual Studio
« on: May 16, 2022, 10:43:39 pm »
Hej everyone
I am using the model from the EA examples called Entering A State.
It is a class with a state machine attached to the class.
There is also a executable statemachine artifact to build the model.
I am using Visual Studio 2019 to build the model.
I have written the following script (batch) on the execution analyzer.
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat" x86
if not exist SimulationOutput mkdir SimulationOutput
cl.exe /Od /Zi /EHsc /Fo".\SimulationOutput/" /Fd".\SimulationOutput/" *.cpp /link /out:".\SimulationOutput\Artifact1.exe"
I do not get any errors when I am building the application.
Although nothing is generated inside the path folder.
Any ideas why ?
Thanks
I am using the model from the EA examples called Entering A State.
It is a class with a state machine attached to the class.
There is also a executable statemachine artifact to build the model.
I am using Visual Studio 2019 to build the model.
I have written the following script (batch) on the execution analyzer.
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat" x86
if not exist SimulationOutput mkdir SimulationOutput
cl.exe /Od /Zi /EHsc /Fo".\SimulationOutput/" /Fd".\SimulationOutput/" *.cpp /link /out:".\SimulationOutput\Artifact1.exe"
I do not get any errors when I am building the application.
Although nothing is generated inside the path folder.
Any ideas why ?
Thanks
