generated from ossia-templates/score-device-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
34 lines (28 loc) · 929 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
cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
if(NOT TARGET score_lib_base)
include("${SCORE_SOURCE_DIR}/cmake/ScoreExternalAddon.cmake")
endif()
project(score_addon_stdIO LANGUAGES CXX)
# General initialization
score_common_setup()
# Creation of the library
add_library(score_addon_stdIO
score-addon-stdIO/Device.cpp
score-addon-stdIO/Device.hpp
score-addon-stdIO/stdIO_protocol.cpp
score-addon-stdIO/stdIO_protocol.hpp
score-addon-stdIO/ProtocolFactory.cpp
score-addon-stdIO/ProtocolFactory.hpp
score-addon-stdIO/ProtocolSettingsWidget.cpp
score-addon-stdIO/ProtocolSettingsWidget.hpp
score-addon-stdIO/SpecificSettings.hpp
score-addon-stdIO/SpecificSettingsSerialization.cpp
score_addon_stdIO.hpp
score_addon_stdIO.cpp
)
# Link
target_link_libraries(score_addon_stdIO PUBLIC
score_plugin_engine
score_plugin_protocols)
# Target-specific options
setup_score_plugin(score_addon_stdIO)