Moved source files to "src" folder.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>pull/13/head
parent
7d3c2ed4e8
commit
f9c9e15267
@ -0,0 +1,73 @@
|
|||||||
|
#################################################
|
||||||
|
#
|
||||||
|
# (C) 2010-2011 Serghei Amelian
|
||||||
|
# serghei (DOT) amelian (AT) gmail.com
|
||||||
|
#
|
||||||
|
# Improvements and feedback are welcome
|
||||||
|
#
|
||||||
|
# This file is released under GPL >= 2
|
||||||
|
#
|
||||||
|
#################################################
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
${DBUS_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### install headers ###########################
|
||||||
|
|
||||||
|
install( FILES
|
||||||
|
tqdbuserror.h tqdbusmessage.h tqdbusconnection.h
|
||||||
|
tqdbusvariant.h tqdbusobject.h tqdbusproxy.h
|
||||||
|
tqdbusmacros.h tqdbusdata.h tqdbusdatalist.h
|
||||||
|
tqdbusdatamap.h tqdbusobjectpath.h tqdbusunixfd.h
|
||||||
|
tqdbusdataconverter.h
|
||||||
|
DESTINATION ${INCLUDE_INSTALL_DIR} )
|
||||||
|
|
||||||
|
|
||||||
|
##### dbus-1-tqt (shared) #########################
|
||||||
|
|
||||||
|
tde_add_library( dbus-1-tqt SHARED AUTOMOC
|
||||||
|
SOURCES ${dbus_tqt_MOCS}
|
||||||
|
tqdbusconnection.cpp tqdbuserror.cpp tqdbusintegrator.cpp
|
||||||
|
tqdbusmarshall.cpp tqdbusmessage.cpp tqdbusserver.cpp
|
||||||
|
tqdbusproxy.cpp tqdbusdata.cpp tqdbusdatalist.cpp
|
||||||
|
tqdbusobjectpath.cpp tqdbusunixfd.cpp
|
||||||
|
tqdbusdataconverter.cpp
|
||||||
|
VERSION 0.0.0
|
||||||
|
LINK ${TQT_LIBRARIES} ${DBUS_LIBRARIES}
|
||||||
|
DESTINATION ${LIB_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### dbusxml2qt3 (executable) ##################
|
||||||
|
|
||||||
|
tde_add_executable( dbusxml2qt3
|
||||||
|
SOURCES
|
||||||
|
tools/dbusxml2qt3/classgen.cpp
|
||||||
|
tools/dbusxml2qt3/main.cpp
|
||||||
|
tools/dbusxml2qt3/methodgen.cpp
|
||||||
|
LINK ${TQT_LIBRARIES}
|
||||||
|
DESTINATION ${BIN_INSTALL_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### add apidox targets ############
|
||||||
|
|
||||||
|
add_custom_target( apidox
|
||||||
|
COMMAND test -d ${APIDOX_DIRECTORY} || mkdir -p ${APIDOX_DIRECTORY}
|
||||||
|
COMMAND doxygen ${CMAKE_BINARY_DIR}/dbus-1-tqt.Doxyfile
|
||||||
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
add_custom_target( install-apidox
|
||||||
|
COMMAND "./install_apidox" "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" "${APIDOX_HTML_DIRECTORY}"
|
||||||
|
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/cmake/"
|
||||||
|
)
|
Loading…
Reference in New Issue