Skip to content

Commit 90f5d22

Browse files
authored
do not export inline functions (#147)
This makes sure that code using `pimpl()` will not compile out of the box unless the _p header is included.
1 parent 0eae0e6 commit 90f5d22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ if(NOT MOVEIT_MASTER)
4343
endif()
4444
add_definitions(-DMOVEIT_MASTER=${MOVEIT_MASTER})
4545

46+
add_compile_options(-fvisibility-inlines-hidden)
47+
4648
set(PROJECT_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/include/moveit/task_constructor)
4749

4850
add_subdirectory(src)

0 commit comments

Comments
 (0)