Commit graph

3 commits

Author SHA1 Message Date
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