mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-25 03:12:53 +00:00
27 lines
793 B
CMake
27 lines
793 B
CMake
project(plasma-qalculate)
|
|
|
|
set(CMAKE_CXX_FLAGS "${KDE4_ENABLE_EXCEPTIONS} -Wno-deprecated")
|
|
|
|
# We add our source code here
|
|
set(qalculate_SRCS
|
|
qalculate_applet.cpp
|
|
qalculate_labels.cpp
|
|
qalculate_settings.cpp
|
|
qalculate_engine.cpp
|
|
qalculate_history.cpp
|
|
outputlabel.cpp
|
|
qalculate_graphicswidget.cpp
|
|
)
|
|
|
|
# Now make sure all files get to the right place
|
|
kde4_add_plugin(plasma_applet_qalculate ${qalculate_SRCS})
|
|
target_link_libraries(plasma_applet_qalculate
|
|
${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_SOLID_LIBS} ${KDE4_KIO_LIBS} ${QALCULATE_LIBRARIES} ${CLN_LIBRARIES})
|
|
|
|
install(TARGETS plasma_applet_qalculate
|
|
DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES plasma-applet-qalculate.desktop
|
|
DESTINATION ${SERVICES_INSTALL_DIR})
|
|
|
|
add_subdirectory(icons)
|