Warning, /plasma/smaragd/src/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 include_directories (
0002     ${CMAKE_CURRENT_SOURCE_DIR}/include
0003     ${CMAKE_CURRENT_SOURCE_DIR}/engines
0004 )
0005 
0006 # Allow // comments in .c files
0007 set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
0008 
0009 set (emerald_engines_SOURCES
0010     engines/legacy.c
0011     engines/line.c
0012     engines/oxygen.c
0013     engines/pixmap.c
0014     engines/truglass.c
0015     engines/vrunner.c
0016     engines/zootreeves.c
0017 )
0018 
0019 set (smaragd_SOURCES
0020     kwin_smaragd.cpp
0021     emerald.c
0022     main.c
0023     shadowengine.cpp
0024 )
0025 
0026 set (smaragd_config_SOURCES
0027 #    config/kwin_smaragd_config.cpp
0028 )
0029 
0030 ki18n_wrap_ui (smaragd_config_SOURCES config/kwin_smaragd_dialog.ui)
0031 
0032 add_library  (kwin_smaragd MODULE
0033     ${smaragd_SOURCES}
0034     ${smaragd_config_SOURCES}
0035     ${emerald_engines_SOURCES}
0036 )
0037 target_link_libraries (kwin_smaragd
0038     Qt::Core
0039     Qt::Gui
0040     Qt::Widgets
0041     KF5::ConfigCore
0042     KF5::CoreAddons
0043     KF5::I18n
0044     KF5::WidgetsAddons
0045     KDecoration2::KDecoration
0046     ${CAIRO_LIBRARIES}
0047     ${GLIB2_LIBRARIES}
0048     ${Intl_LIBRARIES}
0049 )
0050 
0051 install (TARGETS kwin_smaragd DESTINATION ${PLUGIN_INSTALL_DIR}/org.kde.kdecoration2)
0052 install (FILES smaragd.knsrc DESTINATION ${CONFIG_INSTALL_DIR})
0053