blob: cf5514be0feddd1c597a34da4c6cd079be24fe05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
#################################################
#
# (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
)
|