mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-15 06:45:48 +00:00
Start rebuild dataengine from Python to CPP
This commit is contained in:
25
ext-sysmon/CMakeLists.txt
Normal file
25
ext-sysmon/CMakeLists.txt
Normal file
@ -0,0 +1,25 @@
|
||||
project (extsysmon)
|
||||
|
||||
# Find the required Libaries
|
||||
find_package (KDE4 REQUIRED)
|
||||
include (KDE4Defaults)
|
||||
|
||||
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
|
||||
include_directories (${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${KDE4_INCLUDES})
|
||||
|
||||
set (CMAKE_CXX_FLAGS "-fexceptions")
|
||||
set (extsysmon_engine_SRCS extsysmon.cpp)
|
||||
|
||||
# Now make sure all files get to the right place
|
||||
kde4_add_plugin (plasma_engine_extsysmon ${extsysmon_engine_SRCS})
|
||||
target_link_libraries(plasma_engine_extsysmon
|
||||
${KDE4_KDECORE_LIBS}
|
||||
${KDE4_PLASMA_LIBS})
|
||||
|
||||
install(TARGETS plasma_engine_extsysmon
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR})
|
||||
|
||||
install(FILES plasma-engine-extsysmon.desktop
|
||||
DESTINATION ${SERVICES_INSTALL_DIR})
|
Reference in New Issue
Block a user