Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
dynamic-graph
Commits
1b934d69
Commit
1b934d69
authored
Jan 13, 2020
by
Guilhem Saurel
Committed by
ostasse@laas.fr
Jan 13, 2020
Browse files
[CMake] put headers in library definition
parent
b96cd1a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
1b934d69
...
@@ -76,8 +76,7 @@ ENDIF (NOT (\"${CMAKE_VERBOSITY_LEVEL}\" STREQUAL \"\"))
...
@@ -76,8 +76,7 @@ ENDIF (NOT (\"${CMAKE_VERBOSITY_LEVEL}\" STREQUAL \"\"))
#include_directories(${Boost_INCLUDE_DIRS})
#include_directories(${Boost_INCLUDE_DIRS})
#link_directories(${Boost_LIBRARY_DIRS})
#link_directories(${Boost_LIBRARY_DIRS})
ADD_LIBRARY
(
${
LIBRARY_NAME
}
SET
(
${
PROJECT_NAME
}
_SOURCES
SHARED
src/debug/debug.cpp
src/debug/debug.cpp
src/debug/real-time-logger.cpp
src/debug/real-time-logger.cpp
src/debug/logger.cpp
src/debug/logger.cpp
...
@@ -154,6 +153,9 @@ SET(${PROJECT_NAME}_HEADERS
...
@@ -154,6 +153,9 @@ SET(${PROJECT_NAME}_HEADERS
include/dynamic-graph/logger.h
include/dynamic-graph/logger.h
)
)
ADD_LIBRARY
(
${
LIBRARY_NAME
}
SHARED
${${
PROJECT_NAME
}
_SOURCES
}
${${
PROJECT_NAME
}
_HEADERS
}
)
SET
(
PUBLIC_HEADER
${${
PROJECT_NAME
}
_HEADERS
}
)
SET
(
PUBLIC_HEADER
${${
PROJECT_NAME
}
_HEADERS
}
)
INSTALL
(
TARGETS
${
PROJECT_NAME
}
INSTALL
(
TARGETS
${
PROJECT_NAME
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment