aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-02-05 14:09:34 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-04-21 20:57:03 +0200
commit9f96225dc93a97467f1e2107e23b79cb10744917 (patch)
tree07d5b8bfecf3c629d41e4924c58cc4dccd8fda1f /example
parentb74d4016bd84bfe1c97c3ec0f2cfcadfda296a28 (diff)
downloadayatana-ido-9f96225dc93a97467f1e2107e23b79cb10744917.tar.gz
ayatana-ido-9f96225dc93a97467f1e2107e23b79cb10744917.tar.bz2
ayatana-ido-9f96225dc93a97467f1e2107e23b79cb10744917.zip
Add CMakeLists.txt files.
Diffstat (limited to 'example')
-rw-r--r--example/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt
new file mode 100644
index 0000000..fed6750
--- /dev/null
+++ b/example/CMakeLists.txt
@@ -0,0 +1,7 @@
+# menus
+
+set_source_files_properties(menus.c PROPERTIES COMPILE_FLAGS ${COMPILE_FLAGS})
+add_executable("menus" menus.c)
+target_include_directories("menus" PUBLIC ${PROJECT_DEPS_INCLUDE_DIRS})
+target_link_libraries("menus" ${PROJECT_DEPS_LIBRARIES} "-L${CMAKE_BINARY_DIR}/src" -layatana-ido3-0.4)
+target_include_directories("menus" PUBLIC "${CMAKE_SOURCE_DIR}/src")