CMakeLists.txt 531 Bytes
Newer Older
jhammen's avatar
jhammen committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

project(handrumr)

add_library(${PROJECT_NAME} SHARED
  handrumr.cpp
  plugin.cpp
  sample.cpp
)
# no 'lib' prefix for handrumr.so
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")

# linked libraries
target_link_libraries(${PROJECT_NAME} "jsoncpp")
target_link_libraries(${PROJECT_NAME} "sndfile")

install(TARGETS handrumr DESTINATION /usr/local/lib/lv2/${PROJECT_NAME}.lv2)
17
18
19
20
21
install(
  FILES
  "manifest.ttl"
  "handrumr.ttl"
  "handrumr2.ttl"
jhammen's avatar
jhammen committed
22
  "handrumr16.ttl"
23
24
  DESTINATION
  /usr/local/lib/lv2/${PROJECT_NAME}.lv2)