|
|
|
#################################################
|
|
|
|
#
|
|
|
|
# (C) 2010-2011 Serghei Amelian
|
|
|
|
# serghei (DOT) amelian (AT) gmail.com
|
|
|
|
#
|
|
|
|
# Improvements and feedback are welcome
|
|
|
|
#
|
|
|
|
# This file is released under GPL >= 2
|
|
|
|
#
|
|
|
|
#################################################
|
|
|
|
|
|
|
|
add_subdirectory( dcop )
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
${CMAKE_SOURCE_DIR}/lib/interfaces
|
|
|
|
${TDE_INCLUDE_DIR}
|
|
|
|
${TQT_INCLUDE_DIRS}
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
##### headers ###################################
|
|
|
|
|
|
|
|
install( FILES
|
|
|
|
codebrowserfrontend.h tdevappfrontend.h tdevcreatefile.h
|
|
|
|
tdevdifffrontend.h tdevmakefrontend.h tdevquickopen.h
|
|
|
|
tdevsourceformatter.h tdevversioncontrol.h
|
|
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/interfaces/extensions )
|
|
|
|
|
|
|
|
install( FILES
|
|
|
|
tdevelopappfrontend.desktop tdevelopcodebrowserfrontend.desktop
|
|
|
|
tdevelopcreatefile.desktop tdevelopdifffrontend.desktop
|
|
|
|
tdevelopmakefrontend.desktop tdevelopquickopen.desktop
|
|
|
|
tdevelopsourceformatter.desktop tdevelopversioncontrol.desktop
|
|
|
|
DESTINATION ${SERVICETYPES_INSTALL_DIR} )
|
|
|
|
|
|
|
|
|
|
|
|
##### tdevextensions (static) ###################
|
|
|
|
|
|
|
|
add_custom_command( OUTPUT codebrowserfrontend.moc.cpp
|
|
|
|
COMMAND
|
|
|
|
${TMOC_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/codebrowserfrontend.h -o codebrowserfrontend.moc.cpp
|
|
|
|
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/codebrowserfrontend.h )
|
|
|
|
|
|
|
|
add_custom_command( OUTPUT tdevversioncontrol.moc.cpp
|
|
|
|
COMMAND
|
|
|
|
${TMOC_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/tdevversioncontrol.h -o tdevversioncontrol.moc.cpp
|
|
|
|
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/tdevversioncontrol.h )
|
|
|
|
|
|
|
|
tde_add_library( tdevextensions STATIC_PIC AUTOMOC
|
|
|
|
SOURCES
|
|
|
|
tdevappfrontend.cpp tdevappfrontend.cpp tdevmakefrontend.cpp
|
|
|
|
codebrowserfrontend.moc.cpp tdevversioncontrol.moc.cpp
|
|
|
|
)
|