summaryrefslogtreecommitdiff
path: root/src/tools/irm/CMakeLists.txt
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-02-22 17:34:21 +0100
committerDimitri Staessens <dimitri.staessens@intec.ugent.be>2016-02-23 01:53:26 +0100
commit9fb8dff10efc9869264e55da64b64c4aadf805a6 (patch)
treefcac980032d9c414ae086756f3dd7b94d1a7cc55 /src/tools/irm/CMakeLists.txt
parent4251bbb496e64aeeceb70ab1a6716201051769e1 (diff)
downloadouroboros-9fb8dff10efc9869264e55da64b64c4aadf805a6.tar.gz
ouroboros-9fb8dff10efc9869264e55da64b64c4aadf805a6.zip
src: Rename daemons and add tools folder
This renames the daemons to end with a 'd', as is common for UNIX daemons. It also adds a tools folder, that will hold the tools of the Ouroboros prototype. Examples are a simple echo application, an application to instruct the IRM ...
Diffstat (limited to 'src/tools/irm/CMakeLists.txt')
-rw-r--r--src/tools/irm/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/tools/irm/CMakeLists.txt b/src/tools/irm/CMakeLists.txt
new file mode 100644
index 00000000..82c73e38
--- /dev/null
+++ b/src/tools/irm/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
+ main.c
+)
+
+add_executable (irm ${SOURCE_FILES})
+
+target_link_libraries (irm LINK_PUBLIC ouroboros)
+
+install(TARGETS irm RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})