mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-29 19:11:18 +01:00
80 lines
1.8 KiB
CMake
80 lines
1.8 KiB
CMake
|
|
||
|
include_directories( ${QT_INCLUDES} ${QJSON_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||
|
|
||
|
set ( LIBMYGPO_QT_SRC
|
||
|
DeviceSyncResult.cpp
|
||
|
Settings.cpp
|
||
|
AddRemoveResult.cpp
|
||
|
Tag.cpp
|
||
|
JsonCreator.cpp
|
||
|
Podcast.cpp
|
||
|
Episode.cpp
|
||
|
EpisodeAction.cpp
|
||
|
EpisodeActionList.cpp
|
||
|
ApiRequest.cpp
|
||
|
RequestHandler.cpp
|
||
|
UrlBuilder.cpp
|
||
|
TagList.cpp
|
||
|
EpisodeList.cpp
|
||
|
PodcastList.cpp
|
||
|
DeviceUpdates.cpp
|
||
|
DeviceList.cpp
|
||
|
Device.cpp
|
||
|
)
|
||
|
|
||
|
set ( LIBMYGPO_QT_MOC_H
|
||
|
Podcast.h
|
||
|
Podcast_p.h
|
||
|
PodcastList.h
|
||
|
PodcastList_p.h
|
||
|
Episode.h
|
||
|
Episode_p.h
|
||
|
EpisodeList.h
|
||
|
EpisodeList_p.h
|
||
|
Tag.h
|
||
|
Tag_p.h
|
||
|
TagList.h
|
||
|
TagList_p.h
|
||
|
Device.h
|
||
|
Device_p.h
|
||
|
DeviceList.h
|
||
|
DeviceList_p.h
|
||
|
DeviceSyncResult.h
|
||
|
DeviceSyncResult_p.h
|
||
|
DeviceUpdates.h
|
||
|
DeviceUpdates_p.h
|
||
|
EpisodeAction.h
|
||
|
EpisodeAction_p.h
|
||
|
EpisodeActionList.h
|
||
|
EpisodeActionList_p.h
|
||
|
Settings.h
|
||
|
Settings_p.h
|
||
|
AddRemoveResult.h
|
||
|
AddRemoveResult_p.h
|
||
|
)
|
||
|
|
||
|
set ( LIBMYGPO_QT_INSTALL_H
|
||
|
ApiRequest.h
|
||
|
mygpo_export.h
|
||
|
Podcast.h
|
||
|
PodcastList.h
|
||
|
Episode.h
|
||
|
EpisodeList.h
|
||
|
Tag.h
|
||
|
TagList.h
|
||
|
Device.h
|
||
|
DeviceList.h
|
||
|
DeviceSyncResult.h
|
||
|
DeviceUpdates.h
|
||
|
EpisodeAction.h
|
||
|
EpisodeActionList.h
|
||
|
Settings.h
|
||
|
AddRemoveResult.h
|
||
|
)
|
||
|
|
||
|
QT4_WRAP_CPP(LIBMYGPO_QT_MOC_SRC ${LIBMYGPO_QT_MOC_H} )
|
||
|
|
||
|
add_library( mygpo-qt STATIC ${LIBMYGPO_QT_SRC} ${LIBMYGPO_QT_MOC_SRC} )
|
||
|
|
||
|
target_link_libraries( mygpo-qt ${QJSON_LIBRARIES} ${QT_QTCORE_LIBRARY} ${QT_QTNETWORK_LIBRARY} )
|