diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-03-21 17:41:29 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-03-21 17:41:29 +0100 |
commit | 3c6f5161b2903c1bf59bcc959301a7390c3c5c79 (patch) | |
tree | 87aaeaea67881739220cf7a89d7b9a1a668e20f2 /src/tools/echo/CMakeLists.txt | |
parent | 02681c391cbc1cc08f2dea5d8499f301d9321147 (diff) | |
download | ouroboros-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.txt | 16 |
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) |