You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-guidance/mountconfig/CMakeLists.txt

61 lines
1.2 KiB

include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${PYTHONIZE_INCLUDE_DIRS}
${PYTHON_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
add_custom_command(
OUTPUT fuser_ui.py
COMMAND ${PYUIC_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/fuser_ui.ui
COMMENT "Generate fuser_ui.py file..."
)
add_custom_target( fuser_ui-py DEPENDS fuser_ui.py )
#### kcm_mountconfig (kpart)
tde_add_kpart( kcm_mountconfig
SOURCES
kcm_mountconfig.cpp
LINK
tdecore-shared
tdeui-shared
${PYTHONIZE_LIBRARIES}
${PYTHON_LIBRARIES}
dl
DEPENDENCIES fuser_ui-py
DESTINATION ${PLUGIN_INSTALL_DIR}
)
##### other data
tde_create_translated_desktop( mountconfig.desktop )
install(
PROGRAMS fuser.py mountconfig.py SimpleCommandRunner.py sizeview.py SMBShareSelectDialog.py fuser_ui.py
DESTINATION ${DATA_INSTALL_DIR}/python-support/tde-guidance-trinity
)
if ( WITH_HAL )
install(
PROGRAMS MicroHAL.py
DESTINATION ${DATA_INSTALL_DIR}/python-support/tde-guidance-trinity
)
endif( WITH_HAL )