summaryrefslogtreecommitdiffstats
path: root/tqt3integration/utils/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-09-28 02:50:01 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-09-28 02:50:32 +0200
commita72081c4238ad2309872da8a5b751ddcc736b4a9 (patch)
tree542e79cbc57c07b6a4ee0882d42768812d9ca77d /tqt3integration/utils/CMakeLists.txt
parent99ec83a68787294651683a10afa4ad5faa31173a (diff)
downloadtdebase-a72081c4238ad2309872da8a5b751ddcc736b4a9.tar.gz
tdebase-a72081c4238ad2309872da8a5b751ddcc736b4a9.zip
qt => tqt conversion:
+ libqtkde => libtqtkde Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tqt3integration/utils/CMakeLists.txt')
-rw-r--r--tqt3integration/utils/CMakeLists.txt21
1 files changed, 13 insertions, 8 deletions
diff --git a/tqt3integration/utils/CMakeLists.txt b/tqt3integration/utils/CMakeLists.txt
index da78e6a99..ffdd72739 100644
--- a/tqt3integration/utils/CMakeLists.txt
+++ b/tqt3integration/utils/CMakeLists.txt
@@ -9,7 +9,7 @@
#
#################################################
-add_subdirectory( qt )
+add_subdirectory( tqt )
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
@@ -32,13 +32,18 @@ tde_add_executable( gen AUTOMOC
)
ADD_CUSTOM_COMMAND(
- OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/qtkde_functions.cpp ${CMAKE_CURRENT_BINARY_DIR}/module_functions.cpp ${CMAKE_CURRENT_BINARY_DIR}/module_functions.h
- COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/qt
+ OUTPUT
+ ${CMAKE_CURRENT_BINARY_DIR}/tqtkde_functions.cpp
+ ${CMAKE_CURRENT_BINARY_DIR}/module_functions.cpp
+ ${CMAKE_CURRENT_BINARY_DIR}/module_functions.h
+ COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/tqt
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/gen ${CMAKE_CURRENT_SOURCE_DIR}/gen.txt
- COMMAND cat ${CMAKE_CURRENT_BINARY_DIR}/qt/in/qtkdeintegration_x11_0.cpp ${CMAKE_CURRENT_SOURCE_DIR}/qt/in/qtkdeintegration_x11_1.cpp ${CMAKE_CURRENT_BINARY_DIR}/qtkdeintegration_x11.cpp.gen ${CMAKE_CURRENT_SOURCE_DIR}/qt/in/qtkdeintegration_x11_2.cpp > ${CMAKE_CURRENT_BINARY_DIR}/qt/qtkdeintegration_x11.cpp
- COMMAND cat ${CMAKE_CURRENT_SOURCE_DIR}/qt/in/qtkdeintegration_x11_p_1.h ${CMAKE_CURRENT_BINARY_DIR}/qtkdeintegration_x11_p.h.gen ${CMAKE_CURRENT_SOURCE_DIR}/qt/in/qtkdeintegration_x11_p_2.h > ${CMAKE_CURRENT_BINARY_DIR}/qt/qtkdeintegration_x11_p.h
- COMMAND rm -f ${CMAKE_CURRENT_BINARY_DIR}/qtkdeintegration_x11.cpp.gen ${CMAKE_CURRENT_BINARY_DIR}/qtkdeintegration_x11_p.h.gen
-# COMMAND cp -f ${CMAKE_CURRENT_SOURCE_DIR}/qt/in/qt.patch ${CMAKE_CURRENT_BINARY_DIR}/qt/
+ COMMAND cat ${CMAKE_CURRENT_BINARY_DIR}/tqt/in/tqtkdeintegration_x11_0.cpp ${CMAKE_CURRENT_SOURCE_DIR}/tqt/in/tqtkdeintegration_x11_1.cpp ${CMAKE_CURRENT_BINARY_DIR}/tqtkdeintegration_x11.cpp.gen ${CMAKE_CURRENT_SOURCE_DIR}/tqt/in/tqtkdeintegration_x11_2.cpp > ${CMAKE_CURRENT_BINARY_DIR}/tqt/tqtkdeintegration_x11.cpp
+ COMMAND cat ${CMAKE_CURRENT_SOURCE_DIR}/tqt/in/tqtkdeintegration_x11_p_1.h ${CMAKE_CURRENT_BINARY_DIR}/tqtkdeintegration_x11_p.h.gen ${CMAKE_CURRENT_SOURCE_DIR}/tqt/in/tqtkdeintegration_x11_p_2.h > ${CMAKE_CURRENT_BINARY_DIR}/tqt/tqtkdeintegration_x11_p.h
+ COMMAND rm -f ${CMAKE_CURRENT_BINARY_DIR}/tqtkdeintegration_x11.cpp.gen ${CMAKE_CURRENT_BINARY_DIR}/tqtkdeintegration_x11_p.h.gen
DEPENDS gen
)
-ADD_CUSTOM_TARGET(generate_tqt3_bindings DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/qtkde_functions.cpp) \ No newline at end of file
+
+ADD_CUSTOM_TARGET( generate_tqt3_bindings
+ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/tqtkde_functions.cpp
+)