mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
3d0eefb6d4
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522661
44 lines
896 B
CMake
44 lines
896 B
CMake
kde4_header()
|
|
|
|
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
|
|
|
|
|
|
########### next target ###############
|
|
|
|
set(oKular_SRCS main.cpp shell.cpp )
|
|
|
|
kde4_automoc(${oKular_SRCS})
|
|
|
|
kde4_add_executable(oKular ${oKular_SRCS})
|
|
|
|
target_link_libraries(oKular ${KDE4_KDECORE_LIBS} ${KDE4_KPARTS_LIBS} )
|
|
|
|
install_targets(/bin oKular )
|
|
|
|
|
|
########### install files ###############
|
|
|
|
install_files( ${XDG_APPS_DIR} FILES oKular.desktop )
|
|
install_files( ${DATA_INSTALL_DIR}/oKular FILES shell.rc )
|
|
|
|
kde4_footer()
|
|
|
|
|
|
|
|
#original Makefile.am contents follow:
|
|
|
|
#INCLUDES = -I$(top_builddir)/kpdf $(all_includes)
|
|
#
|
|
#METASOURCES = AUTO
|
|
#
|
|
#bin_PROGRAMS = oKular
|
|
#
|
|
#oKular_SOURCES = main.cpp shell.cpp
|
|
#oKular_LDFLAGS = $(KDE_RPATH) $(all_libraries)
|
|
#oKular_LDADD = $(LIB_KPARTS)
|
|
#
|
|
#EXTRA_DIST = oKular.desktop
|
|
#xdg_apps_DATA = oKular.desktop
|
|
#
|
|
#shellrcdir = $(kde_datadir)/oKular
|
|
#shellrc_DATA = shell.rc
|