Skip to content

Commit 7b070a6

Browse files
committed
Fix Windows build
Export symbols and manual visibility for static members
1 parent a900ef1 commit 7b070a6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

+6
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,12 @@ add_library(behavior_tree_editor SHARED
144144
${APP_CPPS}
145145
${FORMS_HEADERS}
146146
)
147+
set_target_properties(behavior_tree_editor PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
148+
include(GenerateExportHeader)
149+
generate_export_header(behavior_tree_editor)
150+
target_include_directories(behavior_tree_editor PUBLIC
151+
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
152+
)
147153

148154
SET(GROOT_DEPENDENCIES QtNodeEditor )
149155

0 commit comments

Comments
 (0)