Add yaw-shepard CMakeLists, plugin version and info
This commit is contained in:
parent
474dce4da9
commit
5777881728
|
@ -1,4 +1,4 @@
|
||||||
dpf_add_plugin(yaw-tab
|
dpf_add_plugin(yaw-tab-shepard
|
||||||
TARGETS vst2
|
TARGETS vst2
|
||||||
FILES_DSP
|
FILES_DSP
|
||||||
dsp.cpp
|
dsp.cpp
|
||||||
|
@ -8,15 +8,9 @@ dpf_add_plugin(yaw-tab
|
||||||
rtstylus.cpp
|
rtstylus.cpp
|
||||||
ui.cpp)
|
ui.cpp)
|
||||||
|
|
||||||
target_include_directories(yaw-tab PUBLIC
|
target_include_directories(yaw-tab-shepard PUBLIC
|
||||||
"."
|
"."
|
||||||
"../../lib/wintab"
|
"../../lib/wintab"
|
||||||
)
|
)
|
||||||
target_compile_definitions(yaw-tab PUBLIC YAW_USE_WINTAB)
|
|
||||||
|
|
||||||
set_target_properties(yaw-tab PROPERTIES VS_DOTNET_REFERENCES "System")
|
|
||||||
set_target_properties(yaw-tab PROPERTIES COMPILE_FLAGS "/clr")
|
|
||||||
set_target_properties(yaw-tab PROPERTIES COMPILE_FLAGS "/Zc:twoPhase-")
|
|
||||||
|
|
||||||
# default compiler flags from CMAKE conflict with managed code compliation, probably a better way of doing this.
|
|
||||||
|
|
||||||
|
target_compile_definitions(yaw-tab-shepard PUBLIC YAW_USE_WINTAB)
|
|
@ -15,13 +15,13 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
const char* getLabel() const override { return "yaw-tab"; }
|
const char* getLabel() const override { return "yaw-tab-shepard"; }
|
||||||
const char* getDescription() const override { return "Drawing tablet synth UI"; }
|
const char* getDescription() const override { return "Drawing tablet Shepard buzz tone"; }
|
||||||
const char* getMaker() const override { return "yaw-audio"; }
|
const char* getMaker() const override { return "yaw-audio"; }
|
||||||
const char* getHomePage() const override { return "https://yaw.man/plugins/yaw-tab"; }
|
const char* getHomePage() const override { return "https://yaw.man/plugins/yaw-tab"; }
|
||||||
const char* getLicense() const override { return "ISC"; }
|
const char* getLicense() const override { return "ISC"; }
|
||||||
uint32_t getVersion() const override { return d_version(1, 0, 0); }
|
uint32_t getVersion() const override { return d_version(1, 0, 0); }
|
||||||
int64_t getUniqueId() const override { return d_cconst('y', 'w', 't', 'b'); }
|
int64_t getUniqueId() const override { return d_cconst('y', 's', 'p', 'd'); }
|
||||||
|
|
||||||
|
|
||||||
void initParameter(uint32_t index, Parameter& parameter) override
|
void initParameter(uint32_t index, Parameter& parameter) override
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
option(USE_WINTAB true)
|
||||||
|
option(USE_CLR false)
|
||||||
|
|
||||||
dpf_add_plugin(yaw-tab
|
dpf_add_plugin(yaw-tab
|
||||||
TARGETS vst2
|
TARGETS vst2
|
||||||
FILES_DSP
|
FILES_DSP
|
||||||
|
@ -12,11 +15,13 @@ target_include_directories(yaw-tab PUBLIC
|
||||||
"."
|
"."
|
||||||
"../../lib/wintab"
|
"../../lib/wintab"
|
||||||
)
|
)
|
||||||
|
|
||||||
target_compile_definitions(yaw-tab PUBLIC YAW_USE_WINTAB)
|
target_compile_definitions(yaw-tab PUBLIC YAW_USE_WINTAB)
|
||||||
|
|
||||||
|
if(USE_CLR)
|
||||||
set_target_properties(yaw-tab PROPERTIES VS_DOTNET_REFERENCES "System")
|
set_target_properties(yaw-tab PROPERTIES VS_DOTNET_REFERENCES "System")
|
||||||
set_target_properties(yaw-tab PROPERTIES COMPILE_FLAGS "/clr")
|
set_target_properties(yaw-tab PROPERTIES COMPILE_FLAGS "/clr")
|
||||||
set_target_properties(yaw-tab PROPERTIES COMPILE_FLAGS "/Zc:twoPhase-")
|
set_target_properties(yaw-tab PROPERTIES COMPILE_FLAGS "/Zc:twoPhase-")
|
||||||
|
endif()
|
||||||
# default compiler flags from CMAKE conflict with managed code compliation, probably a better way of doing this.
|
# default compiler flags from CMAKE conflict with managed code compliation, probably a better way of doing this.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue