initial commit
This commit is contained in:
commit
11b648c3ba
9 changed files with 1604 additions and 0 deletions
16
CMakeLists.txt
Normal file
16
CMakeLists.txt
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
cmake_minimum_required(VERSION 3.20)
|
||||
|
||||
project(pipewirestreamwatcher LANGUAGES CXX)
|
||||
set(CXX_STANDARD 17)
|
||||
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(PIPEWIRE REQUIRED libpipewire-0.3)
|
||||
|
||||
add_executable(${PROJECT_NAME} main.cpp log.cpp Socket.cpp)
|
||||
add_dependencies(${PROJECT_NAME} ${PROJECT_NAME})
|
||||
target_link_libraries(${PROJECT_NAME} ${PIPEWIRE_LIBRARIES})
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC ${PIPEWIRE_INCLUDE_DIRS})
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "-Wall -O2 -march=x86-64-v2 -g" LINK_FLAGS "-flto")
|
||||
install(TARGETS ${PROJECT_NAME} DESTINATION bin)
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue