diff options
Diffstat (limited to 'ksplashml/themeengine')
-rw-r--r-- | ksplashml/themeengine/CMakeLists.txt | 42 | ||||
-rw-r--r-- | ksplashml/themeengine/default/CMakeLists.txt | 45 | ||||
-rw-r--r-- | ksplashml/themeengine/redmond/CMakeLists.txt | 38 | ||||
-rw-r--r-- | ksplashml/themeengine/redmond/pics/CMakeLists.txt | 12 | ||||
-rw-r--r-- | ksplashml/themeengine/simple/CMakeLists.txt | 36 | ||||
-rw-r--r-- | ksplashml/themeengine/standard/CMakeLists.txt | 47 | ||||
-rw-r--r-- | ksplashml/themeengine/standard/pics/CMakeLists.txt | 12 |
7 files changed, 232 insertions, 0 deletions
diff --git a/ksplashml/themeengine/CMakeLists.txt b/ksplashml/themeengine/CMakeLists.txt new file mode 100644 index 000000000..0d4192299 --- /dev/null +++ b/ksplashml/themeengine/CMakeLists.txt @@ -0,0 +1,42 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( default ) +add_subdirectory( standard ) +add_subdirectory( redmond ) +add_subdirectory( simple ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES themeengine.h objkstheme.h DESTINATION ${INCLUDE_INSTALL_DIR}/ksplash ) +install( FILES ksplashplugins.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} ) + + +##### ksplashthemes (shared) #################### + +tde_add_library( ksplashthemes SHARED AUTOMOC + SOURCES themeengine.cpp objkstheme.cpp + VERSION 0.0.0 + LINK kdeui-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/ksplashml/themeengine/default/CMakeLists.txt b/ksplashml/themeengine/default/CMakeLists.txt new file mode 100644 index 000000000..ba3866e35 --- /dev/null +++ b/ksplashml/themeengine/default/CMakeLists.txt @@ -0,0 +1,45 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + #${CMAKE_CURRENT_SOURCE_DIR} + #${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/ksplashml/themeengine + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES ksplashdefault.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### ksplashdefault (module) ################### + +tde_add_kpart( ksplashdefault AUTOMOC + SOURCES main.cpp + LINK themedefault-static ksplashthemes-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### themedefault (static) ##################### + +tde_add_library( themedefault STATIC_PIC AUTOMOC + SOURCES themelegacy.cpp + LINK ksplashthemes-shared +) diff --git a/ksplashml/themeengine/redmond/CMakeLists.txt b/ksplashml/themeengine/redmond/CMakeLists.txt new file mode 100644 index 000000000..b8947a0aa --- /dev/null +++ b/ksplashml/themeengine/redmond/CMakeLists.txt @@ -0,0 +1,38 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( pics ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/ksplashml/themeengine + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES Theme.rc DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/Redmond ) +install( FILES ksplashredmond.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### ksplashredmond (module) ################### + +tde_add_kpart( ksplashredmond AUTOMOC + SOURCES previewredmond.cpp themeredmond.cpp + LINK ksplashthemes-shared kio-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/ksplashml/themeengine/redmond/pics/CMakeLists.txt b/ksplashml/themeengine/redmond/pics/CMakeLists.txt new file mode 100644 index 000000000..1b4f09de0 --- /dev/null +++ b/ksplashml/themeengine/redmond/pics/CMakeLists.txt @@ -0,0 +1,12 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES Preview.png Background.png DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/Redmond ) diff --git a/ksplashml/themeengine/simple/CMakeLists.txt b/ksplashml/themeengine/simple/CMakeLists.txt new file mode 100644 index 000000000..6f4c2dcb9 --- /dev/null +++ b/ksplashml/themeengine/simple/CMakeLists.txt @@ -0,0 +1,36 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +if( WITH_XINERAMA ) + check_include_file( "X11/extensions/Xinerama.h" X11_EXTENSIONS_XINERAMA_H ) + if( X11_EXTENSIONS_XINERAMA_H ) + check_library_exists( Xinerama XineramaQueryExtension "" HAVE_XINERAMA ) + endif( X11_EXTENSIONS_XINERAMA_H ) + if( NOT HAVE_XINERAMA ) + tde_message_fatal( "xinerama are requested, but not found on your system" ) + endif( NOT HAVE_XINERAMA ) + set( XINERAMA_LIBRARY Xinerama ) +endif( WITH_XINERAMA ) + + +include_directories( + ${CMAKE_BINARY_DIR} + ${TQT_INCLUDE_DIRS} +) + + +##### ksplashsimple (executable) ################ + +tde_add_executable( ksplashsimple + SOURCES main.cpp + LINK X11 ${XINERAMA_LIBRARY} + DESTINATION ${BIN_INSTALL_DIR} +) diff --git a/ksplashml/themeengine/standard/CMakeLists.txt b/ksplashml/themeengine/standard/CMakeLists.txt new file mode 100644 index 000000000..ca85efe96 --- /dev/null +++ b/ksplashml/themeengine/standard/CMakeLists.txt @@ -0,0 +1,47 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( pics ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/ksplashml/themeengine + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES Theme.rc DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/Standard ) +install( FILES ksplashstandard.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### ksplashstandard (module) ################## + +tde_add_kpart( ksplashstandard AUTOMOC + SOURCES themestandardlib.cpp + LINK themestandard-static + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### themestandard (static) #################### + +tde_add_library( themestandard STATIC_PIC AUTOMOC + SOURCES themestandard.cpp wndicon.cpp wndstatus.cpp + LINK ksplashthemes-shared +) diff --git a/ksplashml/themeengine/standard/pics/CMakeLists.txt b/ksplashml/themeengine/standard/pics/CMakeLists.txt new file mode 100644 index 000000000..01a6355d3 --- /dev/null +++ b/ksplashml/themeengine/standard/pics/CMakeLists.txt @@ -0,0 +1,12 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES Preview.png DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/Standard ) |