Completed generic LV2 configuration

This commit is contained in:
redtide 2019-11-25 23:28:16 +01:00
parent f38c538ee1
commit 2087502c40
2 changed files with 11 additions and 9 deletions

9
cmake/LV2Config.cmake Normal file
View file

@ -0,0 +1,9 @@
# Configuration for this plugin
# TODO: generate version from git
set (LV2PLUGIN_VERSION_MINOR 0)
set (LV2PLUGIN_VERSION_MICRO 1)
set (LV2PLUGIN_NAME "Sfizz")
set (LV2PLUGIN_COMMENT "SFZ sampler")
set (LV2PLUGIN_URI "http://sfztools.github.io/sfizz")
set (LV2PLUGIN_AUTHOR "Paul Ferrand")
set (LV2PLUGIN_SPDX_LICENSE_ID "BSD-2-Clause")

View file

@ -6,15 +6,8 @@ set (LV2PLUGIN_PRJ_NAME "${CMAKE_PROJECT_NAME}_lv2")
# Set the build directory as <build_dir>/lv2/<plugin_name>.lv2/
set (PROJECT_BINARY_DIR "${PROJECT_BINARY_DIR}/${CMAKE_PROJECT_NAME}.lv2")
# Configuration for this plugin
# TODO: generate version from git
set (LV2PLUGIN_VERSION_MINOR 0)
set (LV2PLUGIN_VERSION_MICRO 1)
set (LV2PLUGIN_NAME "Sfizz")
set (LV2PLUGIN_COMMENT "SFZ sampler")
set (LV2PLUGIN_URI "http://sfztools.github.io/sfizz")
set (LV2PLUGIN_AUTHOR "Paul Ferrand")
set (LV2PLUGIN_SPDX_LICENSE_ID "BSD-2-Clause")
# LV2 plugin specific settings
include (LV2Config)
if (WIN32)
set (LV2PLUGIN_EXT "dll")