Having downloaded the SDK from https://www.steinberg.net/vst3sdk ...
and following the \vst3sdk\README.md instructions under ### Build the examples on Windows,
I ran into this CMake Error multiple times:
CMake Error at cmake/modules/SMTG_AddSMTGLibrary.cmake:480 (add_custom_command): add_custom_command called with OUTPUT containing a "<". This character is not allowed.
I ran
cmake.exe -G "Visual Studio 16 2019" -A x64 ..\vst3sdk
instead of the suggested
cmake.exe -G "Visual Studio 17 2022" -A x64 ..\vst3sdk
because i was using VS 2019.
I was using CMake version 3.19.3 after i updated to version 3.27.0-rc4 there was no Error.
I suggest changing cmake_minimum_required (VERSION 3.19).
Having downloaded the SDK from https://www.steinberg.net/vst3sdk ... and following the \vst3sdk\README.md instructions under ### Build the examples on Windows, I ran into this CMake Error multiple times:
CMake Error at cmake/modules/SMTG_AddSMTGLibrary.cmake:480 (add_custom_command): add_custom_command called with OUTPUT containing a "<". This character is not allowed.
I ran
cmake.exe -G "Visual Studio 16 2019" -A x64 ..\vst3sdk
instead of the suggestedcmake.exe -G "Visual Studio 17 2022" -A x64 ..\vst3sdk
because i was using VS 2019.I was using CMake version
3.19.3
after i updated to version3.27.0-rc4
there was no Error. I suggest changingcmake_minimum_required (VERSION 3.19)
.I hope this was helpful.