- CMake 2.8.0 or later
cmake .
make package
The buildenv project provides wrappers around jenkins build swarm nodes allowing a developer to test compilations or to build one-off projects such as an RPM for a target machine.
Steps:
- check out buildenv
- build your target environment
- build artefact for target
So to build the soem rpm for rocky 8:
$ cd ~/
$ git clone [email protected]:LCOGT/buildenv.git
$ cd buildenv
$ ./makeenv r8
$ cd ~/workspace/SOEM
$ cmake . && make package
- Find soem rpm path you have built.
- scp rpm file as root to the relevant repo, e.g. for rocky8 fsfs:/data/repos/lcogt/8
- run lcogt.bash script in fsfs:/data/repos to add to yum (as root)
- Start a Visual Studio command prompt then:
mkdir build
cd build
cmake .. -G "NMake Makefiles"
nmake
See https://openethercatsociety.github.io/doc/soem/
If you want to contribute to SOEM or SOES you will need to sign a Contributor License Agreement and send it to us either by e-mail or by physical mail. More information is available in the PDF.