generated from ossia-templates/score-avnd-simple-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
50 lines (41 loc) · 905 Bytes
/
CMakeLists.txt
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
cmake_minimum_required(VERSION 3.24 FATAL_ERROR)
if(NOT TARGET score_lib_base)
include(ScoreExternalAddon)
endif()
if(NOT TARGET score_plugin_avnd)
return()
endif()
project(score_addon_gbap LANGUAGES CXX)
###### GBAP ############
avnd_score_plugin_init(
BASE_TARGET score_addon_gbap
)
avnd_score_plugin_add(
BASE_TARGET score_addon_gbap
SOURCES
GBAP/GBAP.hpp
GBAP/GBAPModel.hpp
GBAP/GBAPModel.cpp
GBAP/GridWidget.hpp
GBAP/GridWidget.cpp
GBAP/GBAPUi.hpp
TARGET GBAP
MAIN_CLASS GBAP
NAMESPACE Example
)
avnd_score_plugin_add(
BASE_TARGET score_addon_gbap
SOURCES
matrix/matrix.hpp
matrix/matrixModel.hpp
matrix/matrixModel.cpp
matrix/matrixUi.hpp
TARGET matrix
MAIN_CLASS matrix
NAMESPACE Example
)
avnd_score_plugin_finalize(
BASE_TARGET score_addon_gbap
PLUGIN_VERSION 1
PLUGIN_UUID "1057641E-4253-4BD3-802B-09F063FF559C"
)