SOEM/test/linux/slaveinfo/CMakeLists.txt

6 lines
144 B
CMake

set(SOURCES slaveinfo.c)
add_executable(slaveinfo ${SOURCES})
target_link_libraries(slaveinfo soem)
install(TARGETS slaveinfo DESTINATION bin)