add boost include dir

This commit is contained in:
badaix 2019-10-07 22:34:11 +02:00
parent 6e5ff3c47d
commit c13831f4cc
3 changed files with 25 additions and 13 deletions

View file

@ -10,6 +10,7 @@ set(CLIENT_SOURCES
set(CLIENT_LIBRARIES ${CMAKE_THREAD_LIBS_INIT} common) set(CLIENT_LIBRARIES ${CMAKE_THREAD_LIBS_INIT} common)
set(CLIENT_INCLUDE set(CLIENT_INCLUDE
${Boost_INCLUDE_DIR}
${CMAKE_SOURCE_DIR}/client ${CMAKE_SOURCE_DIR}/client
${CMAKE_SOURCE_DIR}/common ${CMAKE_SOURCE_DIR}/common
${ASIO_INCLUDE_DIRS} ${ASIO_INCLUDE_DIRS}

View file

@ -24,6 +24,7 @@ set(SERVER_LIBRARIES
common) common)
set(SERVER_INCLUDE set(SERVER_INCLUDE
${Boost_INCLUDE_DIR}
${CMAKE_SOURCE_DIR}/server ${CMAKE_SOURCE_DIR}/server
${CMAKE_SOURCE_DIR}/common) ${CMAKE_SOURCE_DIR}/common)

View file

@ -1,45 +1,55 @@
################################## ###############################################################################
### ### # ______ #
### Snapserver config file ### # / _____) #
### ### # ( (____ ____ _____ ____ ___ _____ ____ _ _ _____ ____ #
################################## # \____ \ | _ \ (____ || _ \ /___)| ___ | / ___)| | | || ___ | / ___) #
# _____) )| | | |/ ___ || |_| ||___ || ____|| | \ V / | ____|| | #
# (______/ |_| |_|\_____|| __/ (___/ |_____)|_| \_/ |_____)|_| #
# |_| #
# #
# Snapserver config file #
# #
###############################################################################
# default values are commented # default values are commented
# to change them, just uncomment # uncomment to change them
# HTTP RPC #################################################################### # HTTP RPC ####################################################################
# #
[http] [http]
# enable HTTP Json RPC (HTTP POST and websockets) # enable HTTP Json RPC (HTTP POST and websockets)
enabled = true #enabled = true
# address to listen on # address to listen on
# TODO: not implemented yet # TODO: not implemented yet
bind_to_address = 127.0.0.1 #bind_to_address = 127.0.0.1
# which port the server should listen to # which port the server should listen to
port = 1780 #port = 1780
# serve a website from the doc_root location # serve a website from the doc_root location
doc_root = /home/johannes/Develop/snapcast/control doc_root = /home/johannes/Develop/snapcast/control
# #
############################################################################### ###############################################################################
# TCP RPC ##################################################################### # TCP RPC #####################################################################
# #
[tcp] [tcp]
# enable TCP Json RPC # enable TCP Json RPC
enabled = true_ #enabled = true
# address to listen on # address to listen on
# TODO: not implemented yet # TODO: not implemented yet
bind_to_address = 127.0.0.1 #bind_to_address = 127.0.0.1
# which port the server should listen to # which port the server should listen to
port = 1705 #port = 1705
# #
############################################################################### ###############################################################################
# Stream settings ############################################################# # Stream settings #############################################################
# #
[stream] [stream]
@ -53,7 +63,6 @@ port = 1705
# stream URI of the PCM input stream, can be configured multiple times # stream URI of the PCM input stream, can be configured multiple times
# Format: TYPE://host/path?name=NAME[&codec=CODEC][&sampleformat=SAMPLEFORMAT] # Format: TYPE://host/path?name=NAME[&codec=CODEC][&sampleformat=SAMPLEFORMAT]
stream = pipe:///tmp/snapfifo?name=default stream = pipe:///tmp/snapfifo?name=default
stream = pipe:///tmp/snapfifo2?name=default2
# Default sample format # Default sample format
#sampleformat = 48000:16:2 #sampleformat = 48000:16:2
@ -74,6 +83,7 @@ stream = pipe:///tmp/snapfifo2?name=default2
# #
############################################################################### ###############################################################################
# Logging options ############################################################# # Logging options #############################################################
# #
[logging] [logging]