Skip to content
CMakeLists.txt 733 B
Newer Older
project(arbitrateor)
set(CMAKE_CXX_STANDARD 11) #Change to 17 when possible for filesystem support
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")

find_package(Wt REQUIRED)
find_package(Groove REQUIRED)

add_executable(arbitrateor src/main.cpp src/WebInterface.cpp src/GroovePlayer.cpp src/ui/LoginInterface.cpp src/ui/PlayerInterface.cpp)
target_link_libraries(arbitrateor ${Wt_LIBRARIES} ${GROOVE_LIBRARY} ${GROOVE_FINGERPRINT_LIBRARY} ${GROOVE_PLAYER_LIBRARY} pthread stdc++fs) #TODO get threading links based on platform. Remove gcc experimental fs when official c++17 exists.

install(TARGETS arbitrateor RUNTIME DESTINATION bin)