-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
56 lines (51 loc) · 1.95 KB
/
CMakeLists.txt
File metadata and controls
56 lines (51 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# ==============================================================================
#
# This file is part of the YUP library.
# Copyright (c) 2024 - kunitoki@gmail.com
#
# YUP is an open source library subject to open-source licensing.
#
# The code included in this file is provided under the terms of the ISC license
# http://www.isc.org/downloads/software-support-policy/isc-license. Permission
# To use, copy, modify, and/or distribute this software for any purpose with or
# without fee is hereby granted provided that the above copyright notice and
# this permission notice appear in all copies.
#
# YUP IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
# EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
# DISCLAIMED.
#
# ==============================================================================
cmake_minimum_required(VERSION 3.31)
# ==== Prepare target
set (target_name example_plugin)
set (target_version "1.0.0")
project (${target_name} VERSION ${target_version})
yup_audio_plugin (
TARGET_NAME ${target_name}
TARGET_VERSION ${target_version}
TARGET_IDE_GROUP "Examples"
TARGET_APP_ID "org.yup.${target_name}"
TARGET_APP_NAMESPACE "org.yup"
TARGET_CXX_STANDARD 20
PLUGIN_ID "org.yup.YupCLAP"
PLUGIN_NAME "YupCLAPPZ"
PLUGIN_VENDOR "org.yup"
PLUGIN_EMAIL "kunitoki@gmail.com"
PLUGIN_VERSION "${target_version}"
PLUGIN_DESCRIPTION "The best audio plugin ever."
PLUGIN_URL "https://github.com/kunitoki/yup"
PLUGIN_IS_SYNTH ON
PLUGIN_IS_MONO OFF
PLUGIN_CREATE_CLAP ON
PLUGIN_CREATE_VST3 ON
PLUGIN_CREATE_STANDALONE ON
MODULES
yup::yup_gui
yup::yup_audio_processors)
# ==== Prepare sources
file (GLOB_RECURSE sources
"${CMAKE_CURRENT_LIST_DIR}/source/*.cpp"
"${CMAKE_CURRENT_LIST_DIR}/source/*.h")
source_group (TREE ${CMAKE_CURRENT_LIST_DIR}/ FILES ${sources})
target_sources (${target_name}_shared PUBLIC ${sources})