Skip to content

Commit 2ee3182

Browse files
committed
Add SMTG_USE_STATIC_CRT and additional include directories
- Set SMTG_USE_STATIC_CRT=ON to match pluginval's static CRT linking - Add vst and utility include directories for VST3 SDK module compilation https://claude.ai/code/session_01AY9chvBEmsCVjNZSUkNcbw
1 parent 214500d commit 2ee3182

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ endif()
5656
option(PLUGINVAL_VST3_VALIDATOR "Build with embedded VST3 validator" ON)
5757

5858
if(PLUGINVAL_VST3_VALIDATOR)
59+
# Use static CRT on Windows to match pluginval's settings
60+
set(SMTG_USE_STATIC_CRT ON CACHE BOOL "" FORCE)
61+
5962
CPMAddPackage(
6063
NAME vst3sdk
6164
GITHUB_REPOSITORY steinbergmedia/vst3sdk
@@ -151,7 +154,9 @@ if(PLUGINVAL_VST3_VALIDATOR)
151154
${vst3sdk_SOURCE_DIR}/base
152155
${vst3sdk_SOURCE_DIR}/public.sdk
153156
${vst3sdk_SOURCE_DIR}/public.sdk/source
157+
${vst3sdk_SOURCE_DIR}/public.sdk/source/vst
154158
${vst3sdk_SOURCE_DIR}/public.sdk/source/vst/hosting
159+
${vst3sdk_SOURCE_DIR}/public.sdk/source/vst/utility
155160
)
156161
endif()
157162

0 commit comments

Comments
 (0)