Transform to CMake project.

This commit is contained in:
SET
2022-10-16 17:48:10 +02:00
parent 854711694d
commit b28fad3041
20 changed files with 55 additions and 1156 deletions

18
CMakeLists.txt Normal file
View File

@@ -0,0 +1,18 @@
cmake_minimum_required(VERSION 3.0)
project(pmp7)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/CMake")
find_package(Boost COMPONENTS program_options CONFIG REQUIRED)
find_package(DBusCpp REQUIRED)
add_executable(pmp7
mpris_proxy.hpp pod_proxy.hpp
DBusMprisProxy.cpp DBusPODProxy.cpp main.cpp)
target_link_libraries(pmp7 ${Boost_LIBRARIES} ${DBUSCPP_LIBRARIES})
install(TARGETS pmp7 RUNTIME DESTINATION bin)