Commit dc7e4d4
fix: addon-scope static CRT (Windows/Max) + complete ui in the class header
- Set CMAKE_MSVC_RUNTIME_LIBRARY at the top of the addon so the object
library and every back-end external share the /MT runtime the Max
external needs (mixing /MT and /MD trips MSVC LNK2038).
- Include UI.hpp from the class header so <Class>::ui is a complete type
for the score plugin generator (it includes the class header, not the
MAIN_FILE, and needs the full ui to build the process layer).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 3797e79 commit dc7e4d4
2 files changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
5 | 13 | | |
6 | 14 | | |
7 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
0 commit comments