steinbergmedia / vst3projectgenerator

VST3 Project Generator
Other
27 stars 5 forks source link

Unknown command `smtg_enable_vst3_sdk` #1

Closed GavinRay97 closed 1 year ago

GavinRay97 commented 3 years ago

Hello, thank you for writing this useful tool. I appreciate it very much =) Even with this error, it still seems to generate a project. I am not sure if this error is a problem or not:

C:\Program Files\CMake\bin\CMake.exe C:\Users\rayga\Projects\tmp\vst3projectgenerator\build\Debug\VST3_Project_Generator\Resources\GenerateVST3Plugin.cmake -DSMTG_VST3_SDK_SOURCE_DIR_CLI="C:/Users/rayga/Projects/tmp/VST_SDK/VST3_SDK" -DSMTG_GENERATOR_OUTPUT_DIRECTORY_CLI="C:/Users/rayga/Projects/tmp/VST_SDK/my_plugins/test_output" -DSMTG_PLUGIN_NAME_CLI="Sample Plugin2" -DSMTG_PLUGIN_CATEGORY_CLI="Fx" -DSMTG_CMAKE_PROJECT_NAME_CLI="Sample_Plugin2" -DSMTG_PLUGIN_BUNDLE_NAME_CLI="Sample Plugin2" -DSMTG_PLUGIN_IDENTIFIER_CLI="com.company.pluginname" -DSMTG_MACOS_DEPLOYMENT_TARGET_CLI="10.12" -DSMTG_VENDOR_NAME_CLI="" -DSMTG_VENDOR_HOMEPAGE_CLI="" -DSMTG_VENDOR_EMAIL_CLI="" -DSMTG_PREFIX_FOR_FILENAMES_CLI="" -DSMTG_PLUGIN_CLASS_NAME_CLI="SamplePlugin" -DSMTG_ENABLE_VSTGUI_SUPPORT_CLI=OFF -P "C:\Users\rayga\Projects\tmp\vst3projectgenerator\build\Debug\VST3_Project_Generator\Resources\GenerateVST3Plugin.cmake"
==================================================

 Steinberg Media Technologies GmbH
 VST3 Project Generator

==================================================

-- Found Git: C:/Program Files/Git/mingw64/bin/git.exe (found version "2.30.0.windows.1") 
-- SMTG_CMAKE_SCRIPT_DIR           : C:/Users/rayga/Projects/tmp/vst3projectgenerator/build/Debug/VST3_Project_Generator/Resources
-- SMTG_ENABLE_VSTGUI_SUPPORT      : OFF
-- SMTG_GENERATOR_OUTPUT_DIRECTORY : C:/Users/rayga/Projects/tmp/VST_SDK/my_plugins/test_output
-- SMTG_TEMPLATE_FILES_PATH        : C:/Users/rayga/Projects/tmp/vst3projectgenerator/build/Debug/VST3_Project_Generator/Resources/cmake/templates
-- SMTG_VST3_SDK_SOURCE_DIR        : C:/Users/rayga/Projects/tmp/VST_SDK/VST3_SDK

-- SMTG_VENDOR_NAME            : My Plug-in Company
-- SMTG_VENDOR_HOMEPAGE        : https://www.mycompanyname.com
-- SMTG_VENDOR_EMAIL           : info@mycompanyname.com
-- SMTG_SOURCE_COPYRIGHT_HEADER: Copyright(c) 2021 My Plug-in Company.
-- SMTG_PLUGIN_NAME            : Sample Plugin2
-- SMTG_PREFIX_FOR_FILENAMES   : e.g. myplugincontroller.h
-- SMTG_PLUGIN_IDENTIFIER      : com.company.pluginname, used e.g. in Info.plist
-- SMTG_PLUGIN_BUNDLE_NAME     : Sample Plugin2

-- SMTG_CMAKE_PROJECT_NAME     : e.g. Sample_Plugin2 will output Sample_Plugin2.vst3
-- SMTG_VENDOR_NAMESPACE       : e.g. namespace MyCompanyName {...}
-- SMTG_PLUGIN_CLASS_NAME      : e.g. class SamplePluginProcessor : public AudioEffect {...}
-- SMTG_PLUGIN_CATEGORY        : Fx
-- SMTG_MACOS_DEPLOYMENT_TARGET: 10.12

-- SMTG_Processor_UUID         : 0xD886CDCD, 0x29C65D42, 0x9FADC2E0, 0x43282C7A
-- SMTG_Controller_UUID        : 0x18B80D2C, 0x70EF5ADA, 0x84713AB2, 0x88F80CF0

-- Configured: C:/Users/rayga/Projects/tmp/VST_SDK/my_plugins/test_output/Sample Plugin2/CMakeLists.txt
-- Configured: C:/Users/rayga/Projects/tmp/VST_SDK/my_plugins/test_output/Sample Plugin2/resource/Info.plist
-- Copied    : C:/Users/rayga/Projects/tmp/VST_SDK/my_plugins/test_output/Sample Plugin2/resource/D886CDCD29C65D429FADC2E043282C7A_snapshot.png
-- Copied    : C:/Users/rayga/Projects/tmp/VST_SDK/my_plugins/test_output/Sample Plugin2/resource/D886CDCD29C65D429FADC2E043282C7A_snapshot_2.0x.png
-- Configured: C:/Users/rayga/Projects/tmp/VST_SDK/my_plugins/test_output/Sample Plugin2/resource/myplugineditor.uidesc
-- Configured: C:/Users/rayga/Projects/tmp/VST_SDK/my_plugins/test_output/Sample Plugin2/resource/win32resource.rc
-- Configured: C:/Users/rayga/Projects/tmp/VST_SDK/my_plugins/test_output/Sample Plugin2/source/version.h
-- Configured: C:/Users/rayga/Projects/tmp/VST_SDK/my_plugins/test_output/Sample Plugin2/source/myplugincids.h
-- Configured: C:/Users/rayga/Projects/tmp/VST_SDK/my_plugins/test_output/Sample Plugin2/source/myplugincontroller.cpp
-- Configured: C:/Users/rayga/Projects/tmp/VST_SDK/my_plugins/test_output/Sample Plugin2/source/myplugincontroller.h
-- Configured: C:/Users/rayga/Projects/tmp/VST_SDK/my_plugins/test_output/Sample Plugin2/source/mypluginentry.cpp
-- Configured: C:/Users/rayga/Projects/tmp/VST_SDK/my_plugins/test_output/Sample Plugin2/source/mypluginprocessor.cpp
-- Configured: C:/Users/rayga/Projects/tmp/VST_SDK/my_plugins/test_output/Sample Plugin2/source/mypluginprocessor.h

C:\Program Files\CMake\bin\CMake.exe -G "Ninja" -S "C:/Users/rayga/Projects/tmp/VST_SDK/my_plugins/test_output\Sample Plugin2" -B "C:/Users/rayga/Projects/tmp/VST_SDK/my_plugins/test_output\Sample Plugin2\build" -DSMTG_ADD_VSTGUI=OFF 
-- The C compiler identification is Clang 13.0.0 with GNU-like command-line
-- The CXX compiler identification is Clang 13.0.0 with GNU-like command-line
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Users/rayga/Projects/tmp/llvm-project/llvm-13.0.0-msbuild-vs2019-x64-rel/bin/clang.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Users/rayga/Projects/tmp/llvm-project/llvm-13.0.0-msbuild-vs2019-x64-rel/bin/clang++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- SMTG_VST3_TARGET_PATH is set to : C:/Program Files (x86)/Common Files/VST3
-- SMTG_MYPLUGINS_SRC_PATH is set to : C:/Users/rayga/Projects/tmp/VST_SDK/VST3_SDK/../my_plugins
-- SMTG_AAX_SDK_PATH is not set. If you need it, please download the AAX SDK!
CMake Error at CMakeLists.txt:13 (smtg_enable_vst3_sdk):
  Unknown CMake command "smtg_enable_vst3_sdk".

-- Configuring incomplete, errors occurred!
See also "C:/Users/rayga/Projects/tmp/VST_SDK/my_plugins/test_output/Sample Plugin2/build/CMakeFiles/CMakeOutput.log".
ygrabit commented 2 years ago

Hi @GavinRay97 Do you still have this issue with the last VST3 SDK? Cheers