diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2012-11-17 16:06:35 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-11-17 18:35:42 +0100 |
commit | fd907e533d5ae62daa846aefbdb6d3c27fcb0b2c (patch) | |
tree | e3296be6dbbd1505bcdcd13aafc23a43fbbe6c97 /embedded | |
parent | 466b6fc982f27dcc39986e30d516a2a173879af7 (diff) | |
download | tdevelop-fd907e533d5ae62daa846aefbdb6d3c27fcb0b2c.tar.gz tdevelop-fd907e533d5ae62daa846aefbdb6d3c27fcb0b2c.zip |
Fix various cmake build issues
(cherry picked from commit 96f0726b226f4b404c38f998fbdd02cf728ba6e8)
Diffstat (limited to 'embedded')
-rw-r--r-- | embedded/CMakeLists.txt | 12 | ||||
-rw-r--r-- | embedded/visualboyadvance/CMakeLists.txt | 46 |
2 files changed, 58 insertions, 0 deletions
diff --git a/embedded/CMakeLists.txt b/embedded/CMakeLists.txt new file mode 100644 index 00000000..da81f49f --- /dev/null +++ b/embedded/CMakeLists.txt @@ -0,0 +1,12 @@ +################################################# +# +# (C) 2012 Slavek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +tde_conditional_add_subdirectory( BUILD_VISUALBOYADVANCE visualboyadvance ) diff --git a/embedded/visualboyadvance/CMakeLists.txt b/embedded/visualboyadvance/CMakeLists.txt new file mode 100644 index 00000000..7ad93de4 --- /dev/null +++ b/embedded/visualboyadvance/CMakeLists.txt @@ -0,0 +1,46 @@ +################################################# +# +# (C) 2012 Slavek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${CMAKE_SOURCE_DIR}/lib/interfaces/extensions + ${CMAKE_SOURCE_DIR}/lib/util + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### kdevvisualboyadvance (module) ############# + +tde_add_kpart( libkdevvisualboyadvance AUTOMOC + SOURCES + visualboyadvance_part.cpp vbaconfigwidgetbase.ui vbaconfigwidget.cpp + LINK kdevelop-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( + FILES kdevvisualboyadvance.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) + +install( + FILES kdevpart_visualboyadvance.rc + DESTINATION ${DATA_INSTALL_DIR}/kdevvisualboyadvance +) |