|
|
@ -11,18 +11,34 @@ link_directories(
|
|
|
|
${TQT_LIBRARY_DIRS}
|
|
|
|
${TQT_LIBRARY_DIRS}
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
set( _basename dotparse )
|
|
|
|
tde_import( kate )
|
|
|
|
|
|
|
|
|
|
|
|
add_custom_command(
|
|
|
|
add_custom_command(
|
|
|
|
OUTPUT ${_basename}.cpp ${_basename}.hpp
|
|
|
|
OUTPUT dotparse.cpp dotparse.hpp
|
|
|
|
COMMAND ${BISON_EXECUTABLE}
|
|
|
|
COMMAND ${BISON_EXECUTABLE}
|
|
|
|
ARGS -y --output ${_basename}.cpp --defines=${_basename}.hpp ${CMAKE_CURRENT_SOURCE_DIR}/${_basename}.ypp
|
|
|
|
ARGS -y --output dotparse.cpp --defines=dotparse.hpp ${CMAKE_CURRENT_SOURCE_DIR}/dotparse.ypp
|
|
|
|
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${_basename}.ypp
|
|
|
|
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/dotparse.ypp
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
add_custom_target(
|
|
|
|
add_custom_target(
|
|
|
|
${_basename}.output
|
|
|
|
dotparse.bison
|
|
|
|
DEPENDS ${_basename}.cpp ${_basename}.hpp
|
|
|
|
DEPENDS
|
|
|
|
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dotparse.cpp
|
|
|
|
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dotparse.hpp
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add_custom_command(
|
|
|
|
|
|
|
|
OUTPUT dotscan.cc
|
|
|
|
|
|
|
|
COMMAND ${FLEX_EXECUTABLE}
|
|
|
|
|
|
|
|
ARGS ${CMAKE_CURRENT_SOURCE_DIR}/dotscan.lpp
|
|
|
|
|
|
|
|
COMMAND ${CMAKE_COMMAND}
|
|
|
|
|
|
|
|
ARGS -E rename lex.yy.c dotscan.cc
|
|
|
|
|
|
|
|
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/dotscan.lpp
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add_custom_target(
|
|
|
|
|
|
|
|
dotscan.lex
|
|
|
|
|
|
|
|
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/dotscan.cc
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
##### kscope (executable)
|
|
|
|
##### kscope (executable)
|
|
|
@ -45,7 +61,7 @@ tde_add_executable( kscope AUTOMOC
|
|
|
|
cscopefrontend.cpp cscopemsgdlg.cpp
|
|
|
|
cscopefrontend.cpp cscopemsgdlg.cpp
|
|
|
|
ctagsfrontend.cpp ctagslist.cpp
|
|
|
|
ctagsfrontend.cpp ctagslist.cpp
|
|
|
|
dirscanner.cpp dotfrontend.cpp
|
|
|
|
dirscanner.cpp dotfrontend.cpp
|
|
|
|
dotscan.lpp editormanager.cpp
|
|
|
|
editormanager.cpp
|
|
|
|
editorpage.cpp editortabs.cpp
|
|
|
|
editorpage.cpp editortabs.cpp
|
|
|
|
encoder.cpp filelist.cpp
|
|
|
|
encoder.cpp filelist.cpp
|
|
|
|
fileview.cpp frontend.cpp
|
|
|
|
fileview.cpp frontend.cpp
|
|
|
@ -68,16 +84,18 @@ tde_add_executable( kscope AUTOMOC
|
|
|
|
searchlist.cpp searchresultsdlg.cpp
|
|
|
|
searchlist.cpp searchresultsdlg.cpp
|
|
|
|
symbolcompletion.cpp symboldlg.cpp
|
|
|
|
symbolcompletion.cpp symboldlg.cpp
|
|
|
|
tabwidget.cpp treewidget.cpp
|
|
|
|
tabwidget.cpp treewidget.cpp
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/${_basename}.cpp
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dotparse.cpp
|
|
|
|
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dotscan.cc
|
|
|
|
LINK
|
|
|
|
LINK
|
|
|
|
tdeui-shared
|
|
|
|
tdeui-shared
|
|
|
|
tdeio-shared
|
|
|
|
tdeio-shared
|
|
|
|
tdecore-shared
|
|
|
|
tdecore-shared
|
|
|
|
tdeparts-shared
|
|
|
|
tdeparts-shared
|
|
|
|
kateinterfaces
|
|
|
|
kateinterfaces-shared
|
|
|
|
katepartinterfaces-shared
|
|
|
|
katepartinterfaces-shared
|
|
|
|
|
|
|
|
|
|
|
|
DESTINATION ${BIN_INSTALL_DIR}
|
|
|
|
DESTINATION ${BIN_INSTALL_DIR}
|
|
|
|
|
|
|
|
DEPENDENCIES dotparse.bison dotscan.lex
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|