mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-15 18:58:55 +01:00
25 lines
586 B
CMake
25 lines
586 B
CMake
|
cmake_minimum_required(VERSION 2.6)
|
||
|
|
||
|
set(CMAKE_C_FLAGS "-Wall")
|
||
|
set(CMAKE_CXX_FLAGS "-Wnon-virtual-dtor -Woverloaded-virtual -Wall")
|
||
|
|
||
|
# Source files
|
||
|
set(CLEMENTINE-SCOPE-SOURCES
|
||
|
clementinescope.cpp
|
||
|
)
|
||
|
|
||
|
include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
|
||
|
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../src")
|
||
|
|
||
|
add_library(clementine_scope SHARED
|
||
|
${CLEMENTINE-SCOPE-SOURCES}
|
||
|
)
|
||
|
target_link_libraries(clementine_scope
|
||
|
${VLC_PLUGIN_LIBRARIES}
|
||
|
${QT_LIBRARIES}
|
||
|
)
|
||
|
|
||
|
install(TARGETS clementine_scope
|
||
|
LIBRARY DESTINATION ${VLC_PLUGIN_LIBDIR}/vlc/clementine
|
||
|
)
|