diff --git a/CMakeLists.txt b/CMakeLists.txt index 17bf751119..976c831587 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,7 +43,7 @@ if(OPENGLES_FOUND AND KWIN_HAVE_OPENGLES_COMPOSITING) endif(OPENGLES_FOUND AND KWIN_HAVE_OPENGLES_COMPOSITING) # for things that are also used by kwin libraries -configure_file(lib/kwinconfig.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/lib/kwinconfig.h ) +configure_file(libkwineffects/kwinconfig.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/libkwineffects/kwinconfig.h ) # for kwin internal things configure_file(config-kwin.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kwin.h ) @@ -51,9 +51,9 @@ configure_file(config-kwin.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kwin.h ) ########### global ############### include_directories( - ${CMAKE_CURRENT_BINARY_DIR}/lib + ${CMAKE_CURRENT_BINARY_DIR}/libkwineffects ${CMAKE_CURRENT_BINARY_DIR} - ${CMAKE_CURRENT_SOURCE_DIR}/lib + ${CMAKE_CURRENT_SOURCE_DIR}/libkwineffects ${CMAKE_CURRENT_SOURCE_DIR}/libkdecorations ${CMAKE_CURRENT_SOURCE_DIR}/effects ${CMAKE_CURRENT_SOURCE_DIR}/tabbox @@ -62,7 +62,7 @@ include_directories( ) add_subdirectory( libkdecorations ) -add_subdirectory( lib ) +add_subdirectory( libkwineffects ) add_subdirectory( killer ) add_subdirectory( kcmkwin ) add_subdirectory( clients ) diff --git a/kcmkwin/kwincompositing/CMakeLists.txt b/kcmkwin/kwincompositing/CMakeLists.txt index ce71832419..57d77506d5 100644 --- a/kcmkwin/kwincompositing/CMakeLists.txt +++ b/kcmkwin/kwincompositing/CMakeLists.txt @@ -6,8 +6,8 @@ set(kcm_kwincompositing_PART_SRCS main.cpp ktimerdialog.cpp ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/compositingprefs.cpp - ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/lib/kwinglobals.cpp - ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/lib/kwinglplatform.cpp + ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/libkwineffects/kwinglobals.cpp + ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/libkwineffects/kwinglplatform.cpp ) kde4_add_ui_files(kcm_kwincompositing_PART_SRCS main.ui) set(kwin_xml ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/org.kde.KWin.xml) diff --git a/kcmkwin/kwinscreenedges/CMakeLists.txt b/kcmkwin/kwinscreenedges/CMakeLists.txt index 132c938089..94e841c2c7 100644 --- a/kcmkwin/kwinscreenedges/CMakeLists.txt +++ b/kcmkwin/kwinscreenedges/CMakeLists.txt @@ -5,8 +5,8 @@ set( main.cpp monitor.cpp ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/compositingprefs.cpp - ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/lib/kwinglobals.cpp - ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/lib/kwinglplatform.cpp + ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/libkwineffects/kwinglobals.cpp + ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/libkwineffects/kwinglplatform.cpp ) kde4_add_ui_files( kcm_kwinscreenedges_PART_SRCS main.ui ) kde4_add_plugin( kcm_kwinscreenedges ${kcm_kwinscreenedges_PART_SRCS} ) diff --git a/lib/Mainpage.dox b/lib/Mainpage.dox deleted file mode 100644 index b01bf15ae9..0000000000 --- a/lib/Mainpage.dox +++ /dev/null @@ -1,25 +0,0 @@ -/** @mainpage KWin Libraries - -There are two libraries provided: -
-@ref kdecoration is a library for implementing window decoration plugins
-for KWin.
-
-@ref kwineffects is a library for implementing window transition effect
-plugins for KWin.
-
-@authors
-Lubos Lunak \
+@ref kwineffects is a library for implementing window transition effect
+plugins for KWin.
+
+@authors
+Lubos Lunak \
-Rivo Laks \
-libkwineffects: @gpl
-
-*/
-
-// DOXYGEN_SET_PROJECT_NAME = KWin Libraries
-// vim:ts=4:sw=4:expandtab:filetype=doxygen
diff --git a/lib/CMakeLists.txt b/libkwineffects/CMakeLists.txt
similarity index 98%
rename from lib/CMakeLists.txt
rename to libkwineffects/CMakeLists.txt
index 1ead7f07de..32d1c209d5 100644
--- a/lib/CMakeLists.txt
+++ b/libkwineffects/CMakeLists.txt
@@ -52,6 +52,7 @@ endif (X11_Xfixes_FOUND)
install( FILES
kwinglobals.h
kwineffects.h
+ kwinglplatform.h
kwinglutils.h
kwinglutils_funcs.h
kwinxrenderutils.h
diff --git a/libkwineffects/Mainpage.dox b/libkwineffects/Mainpage.dox
new file mode 100644
index 0000000000..696ecb3428
--- /dev/null
+++ b/libkwineffects/Mainpage.dox
@@ -0,0 +1,22 @@
+/** @mainpage KWin Effects Library
+
+
+Rivo Laks \
+Lucas Murray \
+Fredrik Höglund \
+Martin Gräßlin \