We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42bb054 commit fb40267Copy full SHA for fb40267
CMakeLists.txt
@@ -13,6 +13,9 @@ if(MSVC)
13
endif()
14
15
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
16
+set(CMAKE_CXX_VISIBILITY_PRESET hidden)
17
+set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
18
+set(CMAKE_DEBUG_POSTFIX d)
19
20
set(CMAKE_CONFIG_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/cmake")
21
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CONFIG_PATH}")
@@ -39,9 +42,6 @@ endif()
39
42
40
43
set(BEHAVIOR_TREE_LIBRARY ${PROJECT_NAME})
41
44
-if(MSVC)
- set(CMAKE_DEBUG_POSTFIX d)
-endif()
45
46
# Update the policy setting to avoid an error when loading the ament_cmake package
47
# at the current cmake version level
0 commit comments