diff options
author | Dimitri Staessens <dimitri.staessens@intec.ugent.be> | 2016-02-11 19:36:19 +0100 |
---|---|---|
committer | Dimitri Staessens <dimitri.staessens@intec.ugent.be> | 2016-02-11 19:36:19 +0100 |
commit | d85f6700de4db56341c429c0f4b5a44b72c07bb5 (patch) | |
tree | cf977578c870a60f1a1fcff81d898df6488871cc /src | |
parent | cedcaee9c0074380b627b61f0591d36b54c452f4 (diff) | |
parent | f78310f4886bad7029cc039971159ab7a97e00af (diff) | |
download | ouroboros-d85f6700de4db56341c429c0f4b5a44b72c07bb5.tar.gz ouroboros-d85f6700de4db56341c429c0f4b5a44b72c07bb5.zip |
Merge branch 'be' of bitbucket.org:ouroboros-rina/ouroboros into be
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/da/CMakeLists.txt | 16 | ||||
-rw-r--r-- | src/da/main.c | 8 | ||||
-rw-r--r-- | src/ipcp/CMakeLists.txt | 16 | ||||
-rw-r--r-- | src/ipcp/main.c | 8 | ||||
-rw-r--r-- | src/irm/CMakeLists.txt | 16 | ||||
-rw-r--r-- | src/irm/main.c | 8 | ||||
-rw-r--r-- | src/lib/CMakeLists.txt | 14 | ||||
-rw-r--r-- | src/lib/cdap.c | 0 |
9 files changed, 90 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 00000000..ca434d8a --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,4 @@ +add_subdirectory(ipcp) +add_subdirectory(irm) +add_subdirectory(da) +add_subdirectory(lib) 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 <stdio.h> + +int main() +{ + printf("Test of the DA\n"); + + return 0; +} diff --git a/src/ipcp/CMakeLists.txt b/src/ipcp/CMakeLists.txt new file mode 100644 index 00000000..845f5b7b --- /dev/null +++ b/src/ipcp/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 (ipcp ${SOURCE_FILES}) + +target_link_libraries (ipcp LINK_PUBLIC ouroboros) + +install(TARGETS ipcp RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}) diff --git a/src/ipcp/main.c b/src/ipcp/main.c new file mode 100644 index 00000000..19397260 --- /dev/null +++ b/src/ipcp/main.c @@ -0,0 +1,8 @@ +#include <stdio.h> + +int main() +{ + printf("Test of the IPCP\n"); + + return 0; +} 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; +} diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt new file mode 100644 index 00000000..5099fa48 --- /dev/null +++ b/src/lib/CMakeLists.txt @@ -0,0 +1,14 @@ +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 + cdap.c +) + +add_library(ouroboros SHARED ${SOURCE_FILES}) + +install(TARGETS ouroboros LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}) diff --git a/src/lib/cdap.c b/src/lib/cdap.c new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/src/lib/cdap.c |