summaryrefslogtreecommitdiffstats
path: root/plugins/CMakeLists.txt
blob: 0ddaf4531a5796aba1360aedbee01a2da69c9f4e (plain)
1
2
3
4
5
6
7
8
9
10
11
SET(AUDIO_PLUGIN audio/audio-api.c)
SET(SESSION_PLUGIN session/token-api.c)
SET(SAMPLE_PLUGINS samples/HelloWorld.c)
IF(librtlsdr_FOUND)
  SET(RADIO_PLUGIN radio/radio-rtlsdr.c radio/radio-api.c)
ENDIF(librtlsdr_FOUND)

SET(PLUGINS_SOURCES ${AUDIO_PLUGIN} ${SESSION_PLUGIN} ${RADIO_PLUGIN} ${SAMPLE_PLUGINS})

ADD_LIBRARY(plugins OBJECT ${PLUGINS_SOURCES})
INCLUDE_DIRECTORIES(${include_dirs})