Commit 1b934d69 authored by Guilhem Saurel's avatar Guilhem Saurel Committed by ostasse@laas.fr

[CMake] put headers in library definition

parent b96cd1a5
......@@ -76,8 +76,7 @@ ENDIF (NOT (\"${CMAKE_VERBOSITY_LEVEL}\" STREQUAL \"\"))
#include_directories(${Boost_INCLUDE_DIRS})
#link_directories(${Boost_LIBRARY_DIRS})
ADD_LIBRARY(${LIBRARY_NAME}
SHARED
SET(${PROJECT_NAME}_SOURCES
src/debug/debug.cpp
src/debug/real-time-logger.cpp
src/debug/logger.cpp
......@@ -154,6 +153,9 @@ SET(${PROJECT_NAME}_HEADERS
include/dynamic-graph/logger.h
)
ADD_LIBRARY(${LIBRARY_NAME}
SHARED ${${PROJECT_NAME}_SOURCES} ${${PROJECT_NAME}_HEADERS})
SET(PUBLIC_HEADER ${${PROJECT_NAME}_HEADERS})
INSTALL(TARGETS ${PROJECT_NAME}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment