diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-27 17:32:57 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-27 17:32:57 +0000 |
commit | b41a969e527c35ffacc8dc6b5601d5c6f81896b1 (patch) | |
tree | dd0a9c7fddfd7e83a7e5c4877763c5ce82b7ab74 /kpdf/shell/CMakeLists.txt | |
parent | 46fd5b93bebf092d7aca1635bf966395671c8a9b (diff) | |
download | tdegraphics-b41a969e527c35ffacc8dc6b5601d5c6f81896b1.tar.gz tdegraphics-b41a969e527c35ffacc8dc6b5601d5c6f81896b1.zip |
[kdegraphics/kpdf] added cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1229555 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpdf/shell/CMakeLists.txt')
-rw-r--r-- | kpdf/shell/CMakeLists.txt | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/kpdf/shell/CMakeLists.txt b/kpdf/shell/CMakeLists.txt new file mode 100644 index 00000000..59f84caa --- /dev/null +++ b/kpdf/shell/CMakeLists.txt @@ -0,0 +1,36 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES kpdf.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +install( FILES shell.rc DESTINATION ${DATA_INSTALL_DIR}/kpdf ) + + +##### kpdf (executable) ######################### + +tde_add_executable( kpdf AUTOMOC + SOURCES main.cpp shell.cpp + LINK kparts-shared + DESTINATION ${BIN_INSTALL_DIR} +) |