forked from AchimTuran/adsp.biquad.filters
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
54 lines (44 loc) · 1.95 KB
/
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
50
51
52
53
54
project(adsp.biquad.filters)
cmake_minimum_required(VERSION 2.6)
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR})
enable_language(CXX)
find_package(kodi REQUIRED)
find_package(kodiplatform REQUIRED)
find_package(platform REQUIRED)
find_package(TinyXML REQUIRED)
find_package(asplib REQUIRED)
include_directories(${kodiplatform_INCLUDE_DIRS}
${platform_INCLUDE_DIRS}
${TINYXML_INCLUDE_DIRS}
${KODI_INCLUDE_DIR}
${ASPLIB_INCLUDE_DIRS}
${PROJECT_SOURCE_DIR}/src
${PROJECT_SOURCE_DIR}/src/template)
set(TEMPLATE_SOURCES src/DSPProcessor.cpp
src/BiquadFiltersSettings.cpp
src/ADDONOptional.cpp
src/Dialogs/GUIDialogPostProcess.cpp
src/template/AddonHelpers.cpp
src/template/ADSPAddonHandler.cpp
src/template/ADSPHelpers.cpp
src/template/ADSPProcessorHandle.cpp
src/template/client.cpp
src/template/GUIDialogBase.cpp
src/template/IADDONOptional.cpp
src/template/IADSPProcessor.cpp
src/template/Settings/SettingsManager.cpp
src/template/Settings/SettingsHelpers.cpp
src/template/Messages/ADSPModeMessage.cpp
src/template/configuration/templateConfiguration.cpp)
set(DEPLIBS ${platform_LIBRARIES}
${ASPLIB_LIBRARIES}
${TINYXML_LIBRARIES})
build_addon(adsp.biquad.filters TEMPLATE DEPLIBS)
# For generating the doxy
find_package(Doxygen)
if(DOXYGEN_FOUND)
add_custom_target(doc ${DOXYGEN_EXECUTABLE} ${PROJECT_SOURCE_DIR}/doxygen_resources/Doxyfile
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
COMMENT "Generating API documentation" VERBATIM)
endif()
include(CPack)