~robot3d-team/robot3d/trunk

« back to all changes in this revision

Viewing changes to src/srRobot/CMakeLists.txt

  • Committer: Anne van Rossum
  • Date: 2010-08-10 15:58:55 UTC
  • Revision ID: anne@gamix-20100810155855-kve7x2vwouagdij9
Initial import

Show diffs side-by-side

added added

removed removed

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