1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-22 07:54:18 +01:00
Clementine-audio-player-Mac.../ext/libclementine-common/CMakeLists.txt

43 lines
823 B
CMake
Raw Normal View History

include_directories(${PROTOBUF_INCLUDE_DIRS})
include_directories(${CMAKE_CURRENT_BINARY_DIR})
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
include_directories(${CMAKE_SOURCE_DIR}/src)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++0x")
set(SOURCES
core/closure.cpp
core/latch.cpp
core/logging.cpp
core/messagehandler.cpp
core/messagereply.cpp
core/waitforsignal.cpp
core/workerpool.cpp
)
set(HEADERS
core/closure.h
core/latch.h
core/messagehandler.h
core/messagereply.h
core/workerpool.h
)
2015-03-02 17:50:23 +01:00
if(APPLE)
list(APPEND SOURCES core/scoped_nsautorelease_pool.mm)
endif(APPLE)
2015-04-11 22:51:40 +02:00
qt5_wrap_cpp(MOC ${HEADERS})
add_library(libclementine-common STATIC
${SOURCES}
${MOC}
)
target_link_libraries(libclementine-common
2018-12-05 18:16:34 +01:00
Qt5::Core
Qt5::Network
${TAGLIB_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT}
)