diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-16 14:39:07 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-16 14:39:07 +0000 |
commit | 039cc9f8f7c3b81ca85336b02efa49e8e26dbacd (patch) | |
tree | 5de007445ec5416ecbc4c2db1696870d124596b2 /quanta/src/CMakeLists.txt | |
parent | 7af884d886e2428d5b28e9cf7d81c97d7e378123 (diff) | |
download | tdewebdev-039cc9f8f7c3b81ca85336b02efa49e8e26dbacd.tar.gz tdewebdev-039cc9f8f7c3b81ca85336b02efa49e8e26dbacd.zip |
[kdewebdev/quanta] initial cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1214824 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/src/CMakeLists.txt')
-rw-r--r-- | quanta/src/CMakeLists.txt | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/quanta/src/CMakeLists.txt b/quanta/src/CMakeLists.txt new file mode 100644 index 00000000..c639bbc5 --- /dev/null +++ b/quanta/src/CMakeLists.txt @@ -0,0 +1,78 @@ +################################################# +# +# (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} + ${CMAKE_BINARY_DIR}/quanta/dialogs + ${CMAKE_BINARY_DIR}/quanta/dialogs/settings + ${CMAKE_BINARY_DIR}/quanta/dialogs/tagdialogs + ${CMAKE_BINARY_DIR}/quanta/parts/kafka + ${CMAKE_BINARY_DIR}/quanta/components/tableeditor + ${CMAKE_BINARY_DIR}/quanta/components/csseditor + ${CMAKE_BINARY_DIR}/quanta/components/framewizard + ${CMAKE_SOURCE_DIR}/lib + ${CMAKE_SOURCE_DIR}/quanta/src + ${CMAKE_SOURCE_DIR}/quanta/project + ${CMAKE_SOURCE_DIR}/quanta/parsers + ${CMAKE_SOURCE_DIR}/quanta/parsers/dtd + ${CMAKE_SOURCE_DIR}/quanta/utility + ${CMAKE_SOURCE_DIR}/quanta/parts/kafka + ${CMAKE_SOURCE_DIR}/quanta/parts/preview + ${CMAKE_SOURCE_DIR}/quanta/components/debugger + ${CMAKE_SOURCE_DIR}/quanta/components/tableeditor + ${CMAKE_SOURCE_DIR}/quanta/components/csseditor + ${CMAKE_SOURCE_DIR}/quanta/components/framewizard + ${CMAKE_SOURCE_DIR}/quanta/messages + ${CMAKE_SOURCE_DIR}/quanta/treeviews + ${CMAKE_SOURCE_DIR}/quanta/plugins + ${CMAKE_SOURCE_DIR}/quanta/dialogs + ${CMAKE_SOURCE_DIR}/quanta/dialogs/settings + ${CMAKE_SOURCE_DIR}/quanta/dialogs/tagdialogs + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES quanta.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +install( FILES x-webprj.desktop DESTINATION ${MIME_INSTALL_DIR}/application ) + + +##### quanta (executable) ####################### + +set_source_files_properties( kqapp.cpp PROPERTIES COMPILE_FLAGS -DPREFIX=\\"${CMAKE_INSTALL_PREFIX}\\" ) + +tde_add_executable( quanta AUTOMOC + SOURCES + quanta_init.cpp quantaview.cpp quantadoc.cpp + main.cpp document.cpp kqapp.cpp quanta.cpp + dcopwindowmanagerif.skel dcopsettingsif.skel + dcopquantaif.skel dcopsettings.cpp dtds.cpp + dcopquanta.cpp viewmanager.cpp + LINK + project-static plugins-static parser-static + dtdparser-static treeviews-static dialogs-static + debuggermanager-static tagdialogs-static + settingsdialogs-static messages-static + framewizard-static csseditor-static + tableeditor-static preview-static + utility-static quantamodule-static + kafkalibrary-static kmdi-shared khtml-shared + knewstuff-shared kabc-shared ktexteditor-shared + ${LIBXML_LIBRARIES} ${LIBXSLT_LIBRARIES} + DESTINATION ${BIN_INSTALL_DIR} +) |