1
# Include the directory itself as a path to include directories
2
#set(CMAKE_INCLUDE_CURRENT_DIR ON)
4
# Create a variable called sralm_SOURCES containing all .cpp files:
5
set(srRobot_SOURCES robotKIT.cpp robotKIT2.cpp robotRegistry.cpp)
7
# Create an executable file called helloworld from sources:
8
add_library(srRobot SHARED ${srRobot_SOURCES})
10
#MESSAGE ("Libraries included: ${LIBS}")
12
# Symbrion/Replicator is abbreviated to sr
13
TARGET_LINK_LIBRARIES(srRobot srActuator srCore srBody srFactory ${LIBS})
16
INSTALL(TARGETS srRobot DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)