summaryrefslogtreecommitdiff
path: root/src/irmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/irmd')
-rw-r--r--src/irmd/CMakeLists.txt16
-rw-r--r--src/irmd/main.c10
2 files changed, 26 insertions, 0 deletions
diff --git a/src/irmd/CMakeLists.txt b/src/irmd/CMakeLists.txt
new file mode 100644
index 00000000..bda793b7
--- /dev/null
+++ b/src/irmd/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 (irmd ${SOURCE_FILES})
+
+target_link_libraries (irmd LINK_PUBLIC ouroboros)
+
+install(TARGETS irmd RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
diff --git a/src/irmd/main.c b/src/irmd/main.c
new file mode 100644
index 00000000..8ab071e0
--- /dev/null
+++ b/src/irmd/main.c
@@ -0,0 +1,10 @@
+#define OUROBOROS_PREFIX "irm"
+
+#include <ouroboros/logs.h>
+
+int main()
+{
+ LOG_DBG("Test of the IRM");
+
+ return 0;
+}