090f6dcbfa
${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} in each and every file anymore [only when subdirs might depend on that]. Also ran a script which makes sure that ${KDE4_INCLUDE_DIR} and ${QT_INCLUDES} are added -last-, so that installed headers are not preferred over (possibly more uptodate) local headers. svn path=/trunk/KDE/kdebase/workspace/; revision=521887 The following changes were in SVN, but were removed from git: M wallpapers/CMakeLists.txt
37 lines
688 B
CMake
37 lines
688 B
CMake
kde4_header()
|
|
|
|
add_subdirectory( decobenchmark )
|
|
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
|
|
|
|
|
|
########### next target ###############
|
|
|
|
set(test_gravity_SRCS test_gravity.cpp )
|
|
|
|
kde4_automoc(${test_gravity_SRCS})
|
|
|
|
kde4_add_executable(test_gravity ${test_gravity_SRCS})
|
|
|
|
target_link_libraries(test_gravity ${KDE4_KDECORE_LIBS} )
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
|
kde4_footer()
|
|
|
|
|
|
|
|
#original Makefile.am contents follow:
|
|
|
|
#noinst_PROGRAMS = test_gravity
|
|
#
|
|
#SUBDIRS = decobenchmark
|
|
#
|
|
#INCLUDES = $(all_includes)
|
|
#
|
|
#test_gravity_SOURCES = test_gravity.cpp
|
|
#test_gravity_LDFLAGS = $(all_libraries) $(KDE_RPATH)
|
|
#test_gravity_LDADD = $(LIB_X11)
|
|
#
|
|
#METASOURCES = AUTO
|