Commit Graph

15 Commits

Author SHA1 Message Date
Alex Brinkman 9a077ddd39 add STATUS to CMake message statements 2021-02-18 09:11:29 -08:00
Alex Brinkman e0c3806045 improved logic around BUILD_TESTS 2021-02-14 09:22:48 -08:00
Alex Brinkman 59821cb410 add userdata to ec_context 2021-02-13 12:26:38 -08:00
seanyen 7fe05b5b4b Improved SOEM portability.
* Replaced CMAKE_SOURCE_DIR with CMAKE_CURRENT_LIST_DIR to make SOEM CMakeLists.txt more relocatable.
* Installed SOEM CMake config files to a more universal location to search.
2020-01-07 16:08:50 +01:00
Giuseppe Iellamo 09d48acc32 Update to CMakeLists.txt 2019-10-08 14:14:47 +02:00
Marc Butler 812403783c Add port to macOS (#286)
* Port to macOS

This port to macOS is an amalgam of the existing Linux and Win32
ports. Consequently code is duplicated from each in this port:
primarily from win32 in oshw, and Linux is osal.

Synthesizing a shared common posix port, did not seem warranted given
the modest amount of code, and stable api.

This port uses the default pcap interface provided in the development
libraries shipped with XCode.

Limited testing on os releases: 10.13 and 10.14.

* fix possible race condition as for win32

See aed0f81724

* fix spelling as for linux / win32

See 7beba91c62
2019-05-15 07:35:31 +02:00
Nikolaos Tsiogkas 94217505df Move to RTEMS 5 and don't build tests for RTEMS 2018-07-06 11:33:22 +02:00
Zihan Chen 415131e3f1 Fixed windows x64 link path 2018-02-22 12:12:59 -08:00
Nick Tsiogkas 3cc1e9739e Integrate SOEM with RTEMS 2018-01-23 17:07:59 +01:00
Hans-Erik Floryd 3daefaea61 Normalize line endings (#126)
* add .gitattributes

* normalize line-endings
2017-08-16 20:07:39 +02:00
Hans-Erik Floryd da7d55e893 Enable and fix warnings (#123)
* cleanup CMakeLists.txt

* build with more warnings, warnings as errors

* fix expression has no effect warning

* fix unused parameter warnings

* fix loss of precision warning

* remove obsolete files
2017-08-16 13:48:51 +02:00
Hans-Erik Floryd fb975cbc70 allow setting CMAKE_INSTALL_PREFIX externally (#86)
looks fine
2017-03-31 17:47:20 +02:00
Shahbaz Youssefi 593a81a177 Build simple_test, but don't install
Signed-off-by: Shahbaz Youssefi <syoussefi@kinova.ca>
2015-12-18 13:15:24 -05:00
Shahbaz Youssefi e7a7ef39da Allow proper installation on host system
This commit allows sane installation of SOEM on the host system, while
minimally affecting the current usage of cross-compilation.

The changes are:

- CMAKE_INSTALL_PREFIX is not overriden when installing on host,
- header files are installed in include/soem/ when installing on host,
- libsoem.a is installed in lib/ instead of bin/,
- simple_test is not installed on host.

Usage is:

    cmake -DHOST_INSTALL=1 .

Closes #21
Closes #22

Signed-off-by: Shahbaz Youssefi <syoussefi@kinova.ca>
2015-12-17 10:57:23 -05:00
Mikael Heden 77da52b89d Change to cmake build system 2015-07-09 17:57:59 +02:00