~cairo-dock-team/ubuntu/precise/cairo-dock/988102

« back to all changes in this revision

Viewing changes to src/CMakeLists.txt

  • Committer: Kees Cook
  • Date: 2011-08-11 19:31:26 UTC
  • mfrom: (19.1.1 cairo-dock)
  • Revision ID: kees@outflux.net-20110811193126-wh97aamdqx5gaf2f
Tags: 2.4.0~0beta2-0ubuntu1
releasing version 2.4.0~0beta2-0ubuntu1

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
add_subdirectory (icon-factory)
3
3
add_subdirectory (gldit)
4
4
add_subdirectory (implementations)
 
5
add_subdirectory (help)
5
6
 
6
7
SET(cairo_dock_SRCS
 
8
        cairo-dock.c
7
9
        cairo-dock-menu.c                                       cairo-dock-menu.h 
8
10
        cairo-dock-user-interaction.c           cairo-dock-user-interaction.h 
9
11
        cairo-dock-gui-main.c                           cairo-dock-gui-main.h
30
32
        ${PACKAGE_LIBRARY_DIRS}
31
33
        ${XEXTEND_LIBRARY_DIRS}
32
34
        ${CMAKE_SOURCE_DIR}/src/gldit
33
 
        ${CMAKE_SOURCE_DIR}/src/icon-factory
34
 
        ${CMAKE_SOURCE_DIR}/src/implementations)
 
35
        ${CMAKE_SOURCE_DIR}/src/help)
35
36
 
36
37
# Add executable that is built from the source files.
37
38
add_executable (${PROJECT_NAME}
38
 
        ${cairo_dock_SRCS}
39
 
        cairo-dock.c)
 
39
        ${cairo_dock_SRCS} )
40
40
 
41
41
# Link the executable to the librairies.
42
42
target_link_libraries (${PROJECT_NAME}
45
45
        ${LIBCRYPT_LIBS}
46
46
        gldi
47
47
        icon-factory
48
 
        implementations)
 
48
        implementations
 
49
        help)
49
50
 
50
51
# install the program once it is built.
51
52
install(
52
53
        TARGETS ${PACKAGE}
53
54
        DESTINATION bin)
54
 
 
55
 
 
56
 
if ("${build-desklet-standalone}" STREQUAL "yes")
57
 
        add_subdirectory (cairo-desklet)
58
 
endif()