diff options
| author | Ted Gould <ted@gould.cx> | 2010-02-04 12:15:43 -0800 |
|---|---|---|
| committer | Ted Gould <ted@gould.cx> | 2010-02-04 12:15:43 -0800 |
| commit | f4e269ae5e012ceacdb2f1f853786e65d0d50b20 (patch) | |
| tree | af7ab25989026812eac2b6bd1805ec14274e8a72 /tools/testapp/CMakeLists.txt | |
| parent | 3ebb5c0a4f9066c4b04bdcfb55a499370ab4237b (diff) | |
| parent | 2f1f7b99f47fa830f1a09825905d4cfea0832210 (diff) | |
| download | libdbusmenu-f4e269ae5e012ceacdb2f1f853786e65d0d50b20.tar.gz libdbusmenu-f4e269ae5e012ceacdb2f1f853786e65d0d50b20.tar.bz2 libdbusmenu-f4e269ae5e012ceacdb2f1f853786e65d0d50b20.zip | |
* Upstream Release 0.2.2
* Adding tools for timing dbusmenu
Diffstat (limited to 'tools/testapp/CMakeLists.txt')
| -rw-r--r-- | tools/testapp/CMakeLists.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tools/testapp/CMakeLists.txt b/tools/testapp/CMakeLists.txt new file mode 100644 index 0000000..b848e50 --- /dev/null +++ b/tools/testapp/CMakeLists.txt @@ -0,0 +1,29 @@ +find_package(PkgConfig REQUIRED) + +pkg_check_modules(DBUSMENUGLIB REQUIRED dbusmenu-glib) +pkg_check_modules(GLIB REQUIRED glib-2.0) +pkg_check_modules(JSONGLIB REQUIRED json-glib-1.0) + +set(glibapp_SRCS + main.c + ) + +include_directories( + ${DBUSMENUGLIB_INCLUDE_DIRS} + ${GLIB_INCLUDE_DIRS} + ${JSONGLIB_INCLUDE_DIRS} + ) + +link_directories( + ${DBUSMENUGLIB_LIBRARY_DIRS} + ${GLIB_LIBRARY_DIRS} + ${JSONGLIB_LIBRARY_DIRS} + ) + +add_executable(dbusmenubench-glibapp ${glibapp_SRCS}) + +target_link_libraries(dbusmenubench-glibapp + ${DBUSMENUGLIB_LIBRARIES} + ${GLIB_LIBARIES} + ${JSONGLIB_LIBRARIES} + ) |
