46 lines
989 B
Text
46 lines
989 B
Text
|
kde4_header()
|
||
|
|
||
|
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||
|
|
||
|
|
||
|
########### next target ###############
|
||
|
|
||
|
set(kwmtheme_SRCS main.cpp )
|
||
|
|
||
|
kde4_automoc(${kwmtheme_SRCS})
|
||
|
|
||
|
kde4_add_executable(kwmtheme ${kwmtheme_SRCS})
|
||
|
|
||
|
target_link_libraries(kwmtheme ${QT_AND_KDECORE_LIBS} )
|
||
|
|
||
|
install_targets(/bin kwmtheme )
|
||
|
|
||
|
|
||
|
########### install files ###############
|
||
|
|
||
|
|
||
|
kde4_footer()
|
||
|
|
||
|
|
||
|
|
||
|
#original Makefile.am contents follow:
|
||
|
|
||
|
#
|
||
|
## set the include path for X, qt and KDE
|
||
|
#INCLUDES= $(all_includes)
|
||
|
#
|
||
|
######## This part is very kwmtheme specific
|
||
|
## you can add here more. This one gets installed
|
||
|
#bin_PROGRAMS = kwmtheme
|
||
|
#
|
||
|
## Which sources should be compiled for kwmtheme.
|
||
|
#kwmtheme_SOURCES = main.cpp
|
||
|
#
|
||
|
## the library search path.
|
||
|
#kwmtheme_LDFLAGS = $(all_libraries) $(KDE_RPATH)
|
||
|
#
|
||
|
## the libraries to link against. Be aware of the order. First the libraries,
|
||
|
## that depend on the following ones.
|
||
|
#kwmtheme_LDADD = $(LIB_KDECORE)
|
||
|
#
|