Commit 46fe516
* Fix Windows build issues (#762, #869, #836)
- Add export.h with BTCPP_API macro for proper DLL symbol visibility,
replacing fragile CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS approach (#762)
- Apply BTCPP_API to all public API classes (TreeNode, BehaviorTreeFactory,
Tree, Blackboard, ControlNode, DecoratorNode, action/condition nodes)
- Remove redundant TINYXML2_DEBUG definition that caused Debug mode
crashes on VS 2022 (#869)
- Add MSVC runtime propagation in conanfile.py (#836)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Keep CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS alongside explicit BTCPP_API macros
The BTCPP_API export macro was only applied to a few key classes, but
many free functions and other class members still need to be exported.
Restore CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS as a catch-all while keeping
the explicit export macros for forward compatibility.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Remove BTCPP_API export macros — redundant with CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS
The selective BTCPP_API approach only covered a few classes while the
library exports many more free functions and class members. Since
CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS already handles all symbol exports,
the partial BTCPP_API annotations were dead code. Remove export.h and
all BTCPP_API annotations to keep the diff minimal.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent e2460ae commit 46fe516
2 files changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
264 | 263 | | |
265 | 264 | | |
266 | 265 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
36 | 43 | | |
37 | 44 | | |
38 | 45 | | |
| |||
0 commit comments