From f78310f4886bad7029cc039971159ab7a97e00af Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Thu, 11 Feb 2016 15:50:16 +0100 Subject: Initial build infrastructure Contains the initial build infrastructure. Cmake was chosen for portability reasons. --- src/da/CMakeLists.txt | 16 ++++++++++++++++ src/da/main.c | 8 ++++++++ 2 files changed, 24 insertions(+) create mode 100644 src/da/CMakeLists.txt create mode 100644 src/da/main.c (limited to 'src/da') diff --git a/src/da/CMakeLists.txt b/src/da/CMakeLists.txt new file mode 100644 index 00000000..050b0f80 --- /dev/null +++ b/src/da/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 (da ${SOURCE_FILES}) + +target_link_libraries (da LINK_PUBLIC ouroboros) + +install(TARGETS da RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}) diff --git a/src/da/main.c b/src/da/main.c new file mode 100644 index 00000000..2eeb7b36 --- /dev/null +++ b/src/da/main.c @@ -0,0 +1,8 @@ +#include + +int main() +{ + printf("Test of the DA\n"); + + return 0; +} -- cgit v1.2.3