summaryrefslogtreecommitdiff
path: root/src/irm
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-02-11 15:50:16 +0100
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-02-11 15:50:16 +0100
commitf78310f4886bad7029cc039971159ab7a97e00af (patch)
treec1609e42197af649ab52888a0c50186218f7a3d8 /src/irm
parent5f3ee106ad32e07e8d00513212eb0968a84b59a1 (diff)
downloadouroboros-f78310f4886bad7029cc039971159ab7a97e00af.tar.gz
ouroboros-f78310f4886bad7029cc039971159ab7a97e00af.zip
Initial build infrastructure
Contains the initial build infrastructure. Cmake was chosen for portability reasons.
Diffstat (limited to 'src/irm')
-rw-r--r--src/irm/CMakeLists.txt16
-rw-r--r--src/irm/main.c8
2 files changed, 24 insertions, 0 deletions
diff --git a/src/irm/CMakeLists.txt b/src/irm/CMakeLists.txt
new file mode 100644
index 00000000..82c73e38
--- /dev/null
+++ b/src/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})
diff --git a/src/irm/main.c b/src/irm/main.c
new file mode 100644
index 00000000..6388427f
--- /dev/null
+++ b/src/irm/main.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+
+int main()
+{
+ printf("Test of the IRM\n");
+
+ return 0;
+}