summaryrefslogtreecommitdiff
path: root/src/tools/echo/CMakeLists.txt
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-03-21 17:41:29 +0100
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-03-21 17:41:29 +0100
commit3c6f5161b2903c1bf59bcc959301a7390c3c5c79 (patch)
tree87aaeaea67881739220cf7a89d7b9a1a668e20f2 /src/tools/echo/CMakeLists.txt
parent02681c391cbc1cc08f2dea5d8499f301d9321147 (diff)
downloadouroboros-3c6f5161b2903c1bf59bcc959301a7390c3c5c79.tar.gz
ouroboros-3c6f5161b2903c1bf59bcc959301a7390c3c5c79.zip
tools: Simple echo application
This adds a simple echo application written to show application how to use the API. It also updates the dev.h header file with the insights gained from performing this excercise.
Diffstat (limited to 'src/tools/echo/CMakeLists.txt')
-rw-r--r--src/tools/echo/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/tools/echo/CMakeLists.txt b/src/tools/echo/CMakeLists.txt
new file mode 100644
index 00000000..b3d88089
--- /dev/null
+++ b/src/tools/echo/CMakeLists.txt
@@ -0,0 +1,16 @@
+include_directories(${CMAKE_CURRENT_SOURCE_DIR})
+include_directories(${CMAKE_CURRENT_BINARY_DIR})
+
+include_directories(${CMAKE_SOURCE_DIR}/include)
+include_directories(${CMAKE_BINARY_DIR}/include)
+
+set(SOURCE_FILES
+ # Add source files here
+ echo.c
+)
+
+add_executable(echo-app ${SOURCE_FILES})
+
+target_link_libraries(echo-app LINK_PUBLIC ouroboros)
+
+install(TARGETS echo-app RUNTIME DESTINATION bin)