Added class TellStickDuo to CMakeLists.txt
This commit is contained in:
parent
ff1f0b9c7d
commit
1212f6fa4b
1 changed files with 10 additions and 1 deletions
|
@ -12,11 +12,18 @@ SET( telldus-core_SRCS
|
||||||
Manager.cpp
|
Manager.cpp
|
||||||
Settings.cpp
|
Settings.cpp
|
||||||
telldus-core.cpp
|
telldus-core.cpp
|
||||||
|
TellStickDuo.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
SET( telldus-core_HDRS
|
SET( telldus-core_HDRS
|
||||||
telldus-core.h
|
telldus-core.h
|
||||||
)
|
)
|
||||||
|
|
||||||
|
SET( telldus-core_MOC_HDRS
|
||||||
|
)
|
||||||
|
|
||||||
|
QT4_WRAP_CPP( telldus-core_MOC_SRCS ${telldus-core_MOC_HDRS} )
|
||||||
|
QT4_AUTOMOC ( ${telldus-core_SRCS} )
|
||||||
|
|
||||||
IF (APPLE)
|
IF (APPLE)
|
||||||
SET( telldus-core_TARGET TelldusCore )
|
SET( telldus-core_TARGET TelldusCore )
|
||||||
|
@ -44,16 +51,17 @@ ENDIF (APPLE)
|
||||||
ADD_LIBRARY(${telldus-core_TARGET} SHARED
|
ADD_LIBRARY(${telldus-core_TARGET} SHARED
|
||||||
${telldus-core_SRCS}
|
${telldus-core_SRCS}
|
||||||
${telldus-core_HDRS}
|
${telldus-core_HDRS}
|
||||||
|
${telldus-core_MOC_SRCS}
|
||||||
)
|
)
|
||||||
|
|
||||||
SET_PROPERTY(TARGET ${telldus-core_TARGET}
|
SET_PROPERTY(TARGET ${telldus-core_TARGET}
|
||||||
PROPERTY PUBLIC_HEADER {$telldus-core_HDRS}
|
PROPERTY PUBLIC_HEADER {$telldus-core_HDRS}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
FIND_LIBRARY(FTD2XX_LIBRARY ftd2xx)
|
||||||
|
|
||||||
IF (APPLE)
|
IF (APPLE)
|
||||||
FIND_LIBRARY(COREFOUNDATION_LIBRARY CoreFoundation)
|
FIND_LIBRARY(COREFOUNDATION_LIBRARY CoreFoundation)
|
||||||
FIND_LIBRARY(FTD2XX_LIBRARY ftd2xx)
|
|
||||||
|
|
||||||
TARGET_LINK_LIBRARIES(${telldus-core_TARGET}
|
TARGET_LINK_LIBRARIES(${telldus-core_TARGET}
|
||||||
${COREFOUNDATION_LIBRARY}
|
${COREFOUNDATION_LIBRARY}
|
||||||
|
@ -67,6 +75,7 @@ IF (APPLE)
|
||||||
ELSE (APPLE)
|
ELSE (APPLE)
|
||||||
TARGET_LINK_LIBRARIES(${telldus-core_TARGET}
|
TARGET_LINK_LIBRARIES(${telldus-core_TARGET}
|
||||||
${QT_LIBRARIES}
|
${QT_LIBRARIES}
|
||||||
|
${FTD2XX_LIBRARY}
|
||||||
confuse
|
confuse
|
||||||
)
|
)
|
||||||
ENDIF (APPLE)
|
ENDIF (APPLE)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue