summaryrefslogtreecommitdiff
path: root/src/tools/echo/CMakeLists.txt
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2016-03-22 15:27:23 +0100
committerDimitri Staessens <[email protected]>2016-03-22 15:27:23 +0100
commiteb46e3ddc161c543ea268c54f0c6db40019d25c1 (patch)
treead998716754303d8bb791baaa6506835539a01f2 /src/tools/echo/CMakeLists.txt
parent8d2ac4877bb14df8e10d13b61d5db6c5e11d87c3 (diff)
parent3c6f5161b2903c1bf59bcc959301a7390c3c5c79 (diff)
downloadouroboros-eb46e3ddc161c543ea268c54f0c6db40019d25c1.tar.gz
ouroboros-eb46e3ddc161c543ea268c54f0c6db40019d25c1.zip
Merged in sandervrijders/ouroboros/be (pull request #38)
tools: Simple echo application
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)