2021-04-17 07:08:31 +02:00
|
|
|
cmake_minimum_required(VERSION 3.0.0)
|
2012-05-27 18:28:07 +02:00
|
|
|
|
2021-03-06 08:38:18 +01:00
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Woverloaded-virtual -Wall --std=c++0x")
|
2012-05-27 18:28:07 +02:00
|
|
|
|
|
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
|
|
|
|
include_directories(${GLIB_INCLUDE_DIRS})
|
|
|
|
include_directories(${GOBJECT_INCLUDE_DIRS})
|
|
|
|
include_directories(${GSTREAMER_INCLUDE_DIRS})
|
|
|
|
include_directories(${FFTW3_INCLUDE_DIR})
|
|
|
|
|
|
|
|
set(SOURCES
|
2014-09-21 11:35:21 +02:00
|
|
|
gstfastspectrum.cpp
|
|
|
|
plugin.cpp
|
2012-05-27 18:28:07 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
add_library(gstmoodbar STATIC
|
|
|
|
${SOURCES}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(gstmoodbar
|
|
|
|
${GOBJECT_LIBRARIES}
|
|
|
|
${GLIB_LIBRARIES}
|
|
|
|
${GSTREAMER_LIBRARIES}
|
2014-09-21 11:35:21 +02:00
|
|
|
${GSTREAMER_AUDIO_LIBRARIES}
|
2012-05-27 18:28:07 +02:00
|
|
|
${GSTREAMER_BASE_LIBRARIES}
|
2012-05-27 22:39:53 +02:00
|
|
|
${FFTW3_FFTW_LIBRARY}
|
2012-05-27 18:28:07 +02:00
|
|
|
)
|
2015-04-11 22:51:40 +02:00
|
|
|
|
2018-04-16 01:05:32 +02:00
|
|
|
target_link_libraries(gstmoodbar Qt5::Core)
|