~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to kwin/clients/oxygen/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
########### add version number into compilation defines
 
2
add_definitions ( -DAPP_VERSION=\\\"${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}\\\")
 
3
add_subdirectory( config )
 
4
add_subdirectory( demo )
 
5
 
 
6
include_directories(${KDEBASE_WORKSPACE_SOURCE_DIR}/libs/oxygen)
 
7
 
 
8
########### next target ###############
 
9
set(kwin_oxygen_SRCS
 
10
     oxygenbutton.cpp
 
11
     oxygenclient.cpp
 
12
     oxygenclientgroupitemdata.cpp
 
13
     oxygenconfiguration.cpp
 
14
     oxygendecohelper.cpp
 
15
     oxygenexception.cpp
 
16
     oxygenexceptionlist.cpp
 
17
     oxygenfactory.cpp
 
18
     oxygensizegrip.cpp
 
19
     oxygentitleanimationdata.cpp
 
20
  )
 
21
 
 
22
kde4_add_plugin(kwin3_oxygen ${kwin_oxygen_SRCS})
 
23
target_link_libraries(
 
24
    kwin3_oxygen
 
25
    ${KDE4_KDEUI_LIBS}
 
26
    ${X11_X11_LIB}
 
27
    ${X11_Xrender_LIB}
 
28
    kdecorations
 
29
    oxygenstyle
 
30
  )
 
31
 
 
32
install(TARGETS kwin3_oxygen  DESTINATION ${PLUGIN_INSTALL_DIR} )
 
33
 
 
34
########### install files ###############
 
35
install( FILES oxygenclient.desktop  DESTINATION  ${DATA_INSTALL_DIR}/kwin/ )
 
36