Skip to content

Commit

Permalink
Merge pull request #28 from ethz-asl/feature/install
Browse files Browse the repository at this point in the history
support catkin install
  • Loading branch information
eggerk authored Jul 16, 2018
2 parents de911f7 + a952c89 commit dcb4559
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@
*.exe
*.out
*.app

# Bloom.
debian
obj*
14 changes: 7 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ ExternalProject_Add(glog_src
INSTALL_COMMAND cd ../glog_src/ && make install -j 8
)

cs_add_library(${PROJECT_NAME} src/dependency_tracker.cc)
add_dependencies(${PROJECT_NAME} glog_src)
target_link_libraries(${PROJECT_NAME} ${CATKIN_DEVEL_PREFIX}/lib/libglog${CMAKE_SHARED_LIBRARY_SUFFIX})

cs_install()

install(DIRECTORY ${CATKIN_DEVEL_PREFIX}/include/glog
DESTINATION ${CATKIN_GLOBAL_INCLUDE_DESTINATION}
FILES_MATCHING PATTERN "*.h")
install(DIRECTORY ${CATKIN_DEVEL_PREFIX}/lib/
DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
FILES_MATCHING PATTERN "libglog*")
cs_export(INCLUDE_DIRS ${CATKIN_DEVEL_PREFIX}/include
CFG_EXTRAS glog-extras.cmake)
LIBRARIES glog)
4 changes: 0 additions & 4 deletions cmake/glog-extras.cmake.in

This file was deleted.

2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<package format="2">
<name>glog_catkin</name>
<version>0.0.0</version>
<version>0.3.5</version>
<description>glog_catkin</description>
<maintainer email="[email protected]">Simon Lynen</maintainer>

Expand Down
Empty file removed src/dependency_tracker.cc
Empty file.

0 comments on commit dcb4559

Please sign in to comment.