Skip to content
Snippets Groups Projects
Commit 1fc50695 authored by Alejandro Lopez Gestoso's avatar Alejandro Lopez Gestoso
Browse files

Modified the necessary files to save the headers, the library and all the...

Modified the necessary files to  save the headers, the library and all the related files on the subdirectory iri/<package_name>
parent 9c2a8f7d
No related branches found
No related tags found
No related merge requests found
#edit the following line to add the librarie's header files #edit the following line to add the librarie's header files
FIND_PATH(dynamixel_INCLUDE_DIR dynamixel.h dynamixelserver.h dynamixelexceptions.h /usr/include/iridrivers /usr/local/include/iridrivers) FIND_PATH(dynamixel_INCLUDE_DIR dynamixel.h dynamixelserver.h dynamixelexceptions.h /usr/include/iri/dynamixel /usr/local/include/iri/dynamixel)
FIND_LIBRARY(dynamixel_LIBRARY FIND_LIBRARY(dynamixel_LIBRARY
NAMES dynamixel NAMES dynamixel
PATHS /usr/lib/iridrivers /usr/local/lib /usr/local/lib/iridrivers) PATHS /usr/lib/iri/dynamixel /usr/local/lib /usr/local/lib/iri/dynamixel)
IF (dynamixel_INCLUDE_DIR AND dynamixel_LIBRARY) IF (dynamixel_INCLUDE_DIR AND dynamixel_LIBRARY)
SET(dynamixel_FOUND TRUE) SET(dynamixel_FOUND TRUE)
......
...@@ -31,11 +31,11 @@ ADD_DEPENDENCIES(dynamixel xsd_files_gen) ...@@ -31,11 +31,11 @@ ADD_DEPENDENCIES(dynamixel xsd_files_gen)
INSTALL(TARGETS dynamixel INSTALL(TARGETS dynamixel
RUNTIME DESTINATION bin RUNTIME DESTINATION bin
LIBRARY DESTINATION lib/iridrivers LIBRARY DESTINATION lib/iri/${PROJECT_NAME}
ARCHIVE DESTINATION lib/iridrivers ARCHIVE DESTINATION lib/iri/${PROJECT_NAME}
) )
INSTALL(FILES ${headers} DESTINATION include/iridrivers) INSTALL(FILES ${headers} DESTINATION include/iri/${PROJECT_NAME})
INSTALL(FILES ../Finddynamixel.cmake DESTINATION ${CMAKE_ROOT}/Modules/) INSTALL(FILES ../Finddynamixel.cmake DESTINATION ${CMAKE_ROOT}/Modules/)
......
...@@ -39,7 +39,7 @@ IF(XSD_FOUND) ...@@ -39,7 +39,7 @@ IF(XSD_FOUND)
DEPENDS ${XSD_PATH_FILES} DEPENDS ${XSD_PATH_FILES}
COMMENT "Parsing the xml template file ${XSD_FILES}") COMMENT "Parsing the xml template file ${XSD_FILES}")
INSTALL(FILES ${XSD_PATH_FILES} DESTINATION include/iridrivers/xml) INSTALL(FILES ${XSD_PATH_FILES} DESTINATION include/iri/${PROJECT_NAME}/xml)
INSTALL(FILES ${XSD_HEADERS_INT} DESTINATION include/iridrivers/xml) INSTALL(FILES ${XSD_HEADERS_INT} DESTINATION include/iri/${PROJECT_NAME}/xml)
ENDIF(XSD_FILES) ENDIF(XSD_FILES)
ENDIF(XSD_FOUND) ENDIF(XSD_FOUND)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment