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.
This commit is contained in:
Michael Görner 2020-03-29 20:47:26 +02:00 committed by GitHub
parent 0eae0e652e
commit 90f5d22e83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,8 @@ if(NOT MOVEIT_MASTER)
endif()
add_definitions(-DMOVEIT_MASTER=${MOVEIT_MASTER})
add_compile_options(-fvisibility-inlines-hidden)
set(PROJECT_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/include/moveit/task_constructor)
add_subdirectory(src)