From 3c6f5161b2903c1bf59bcc959301a7390c3c5c79 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Mon, 21 Mar 2016 17:41:29 +0100 Subject: 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. --- src/tools/echo/CMakeLists.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/tools/echo/CMakeLists.txt (limited to 'src/tools/echo/CMakeLists.txt') 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) -- cgit v1.2.3