|
|
|
@ -11,12 +11,14 @@ link_directories(
|
|
|
|
|
${TDE_LIB_DIR}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set_property(
|
|
|
|
|
SOURCE kmplot.cpp
|
|
|
|
|
APPEND PROPERTY OBJECT_DEPENDS
|
|
|
|
|
${CMAKE_BINARY_DIR}/kmplot/kmplot/settings.cpp
|
|
|
|
|
${CMAKE_BINARY_DIR}/kmplot/kmplot/FktDlgData.cpp
|
|
|
|
|
${CMAKE_BINARY_DIR}/kmplot/kmplot/qminmax.cpp
|
|
|
|
|
|
|
|
|
|
##### target for generating common files
|
|
|
|
|
|
|
|
|
|
add_custom_target( kmplot-generated-common
|
|
|
|
|
DEPENDS
|
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/settings.cpp
|
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/FktDlgData.cpp
|
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/qminmax.cpp
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -35,6 +37,9 @@ tde_add_executable( kmplot AUTOMOC
|
|
|
|
|
tdeio-shared
|
|
|
|
|
tdeparts-shared
|
|
|
|
|
|
|
|
|
|
DEPENDENCIES
|
|
|
|
|
kmplot-generated-common
|
|
|
|
|
|
|
|
|
|
DESTINATION ${BIN_INSTALL_DIR}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
@ -87,6 +92,9 @@ tde_add_kpart( libkmplotpart AUTOMOC
|
|
|
|
|
tdeprint-shared
|
|
|
|
|
tdeparts-shared
|
|
|
|
|
|
|
|
|
|
DEPENDENCIES
|
|
|
|
|
kmplot-generated-common
|
|
|
|
|
|
|
|
|
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|