~ubuntu-branches/ubuntu/lucid/libdbusmenu/lucid

« back to all changes in this revision

Viewing changes to tools/testapp/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher, Ted Gould
  • Date: 2010-02-04 13:56:49 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20100204135649-pe86ycwm3xyn0dlu
Tags: 0.2.2-0ubuntu1
* Updated for the soname changes

[ Ted Gould ]
* Upstream Release 0.2.2
  * Interoperability fixes
  * Adding timestamps to events
  * Better handling of XML
  * Adding tools for timing dbusmenu
* debian/libdbusmenu-tools.install: Adding a wildcard to get
  all of the tools in libexec

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
find_package(PkgConfig REQUIRED)
 
2
 
 
3
pkg_check_modules(DBUSMENUGLIB REQUIRED dbusmenu-glib)
 
4
pkg_check_modules(GLIB REQUIRED glib-2.0)
 
5
pkg_check_modules(JSONGLIB REQUIRED json-glib-1.0)
 
6
 
 
7
set(glibapp_SRCS
 
8
    main.c
 
9
    )
 
10
 
 
11
include_directories(
 
12
    ${DBUSMENUGLIB_INCLUDE_DIRS}
 
13
    ${GLIB_INCLUDE_DIRS}
 
14
    ${JSONGLIB_INCLUDE_DIRS}
 
15
    )
 
16
 
 
17
link_directories(
 
18
    ${DBUSMENUGLIB_LIBRARY_DIRS}
 
19
    ${GLIB_LIBRARY_DIRS}
 
20
    ${JSONGLIB_LIBRARY_DIRS}
 
21
    )
 
22
 
 
23
add_executable(dbusmenubench-glibapp ${glibapp_SRCS})
 
24
 
 
25
target_link_libraries(dbusmenubench-glibapp
 
26
    ${DBUSMENUGLIB_LIBRARIES}
 
27
    ${GLIB_LIBARIES}
 
28
    ${JSONGLIB_LIBRARIES}
 
29
    )