OpenEtherCATsociety / soem-ng

Other
10 stars 14 forks source link

soem-ng

Prerequisites for all platforms

Windows

Start a developer command prompt, then:

$ mkdir build $ cd build $ cmake .. -DPCAP_ROOT_DIR=p:/WpdPack/ -DGTEST_ROOT=p:/gtest-1.7.0 $ msbuild SOEM.sln

To build NSIS installer:

$ set PATH=%PATH%;p:\nsis $ msbuild PACKAGE.vcxproj

Cygwin

Linux

rt-kernel

Start a command prompt, then:

$ mkdir build $ cd build $ export RTK=/p/rt-kernel-src $ export BSP=integrator $ cmake -DCMAKE_TOOLCHAIN_FILE=/p/cmake/toolchain/rt-kernel-arm9e.cmake .. -G "Unix Makefiles" -DGTEST_ROOT=/p/gtest-1.7.0 $ make

Substitute BSP and toolchain file as appropriate.