diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-05-28 19:30:53 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-05-28 19:30:53 +0200 |
commit | c2e21a6a8cdbc72dc7d6af5ecfe0ed42f4b18cf7 (patch) | |
tree | ffbd7a508a45b4961f4caf86b1d447792f531a48 /src/ipcpd/local/CMakeLists.txt | |
parent | c510fb625427a9329668f83ca115645fa1a36091 (diff) | |
parent | 558aea43793940befe1aca6ba366374a420e19de (diff) | |
download | ouroboros-c2e21a6a8cdbc72dc7d6af5ecfe0ed42f4b18cf7.tar.gz ouroboros-c2e21a6a8cdbc72dc7d6af5ecfe0ed42f4b18cf7.zip |
Merged in dstaesse/ouroboros/be-local (pull request #118)
ipcpd: IPCP over local memory
Diffstat (limited to 'src/ipcpd/local/CMakeLists.txt')
-rw-r--r-- | src/ipcpd/local/CMakeLists.txt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/ipcpd/local/CMakeLists.txt b/src/ipcpd/local/CMakeLists.txt new file mode 100644 index 00000000..4d05d474 --- /dev/null +++ b/src/ipcpd/local/CMakeLists.txt @@ -0,0 +1,32 @@ +get_filename_component(CURRENT_SOURCE_PARENT_DIR + ${CMAKE_CURRENT_SOURCE_DIR} DIRECTORY) +get_filename_component(CURRENT_BINARY_PARENT_DIR + ${CMAKE_CURRENT_BINARY_DIR} DIRECTORY) + +include_directories(${CMAKE_CURRENT_SOURCE_DIR}) +include_directories(${CMAKE_CURRENT_BINARY_DIR}) + +include_directories(${CURRENT_SOURCE_PARENT_DIR}) +include_directories(${CURRENT_BINARY_PARENT_DIR}) + +include_directories(${CMAKE_SOURCE_DIR}/include) +include_directories(${CMAKE_BINARY_DIR}/include) + +SET(IPCP_LOCAL_TARGET ipcpd-local CACHE STRING "IPCP_LOCAL") + +set(SHIM_LOCAL_SOURCES + # Add source files here + ${CMAKE_CURRENT_SOURCE_DIR}/main.c) + +add_executable (ipcpd-local ${SHIM_LOCAL_SOURCES} ${IPCP_SOURCES}) +target_link_libraries (ipcpd-local LINK_PUBLIC ouroboros) + +include(MacroAddCompileFlags) +if (CMAKE_BUILD_TYPE MATCHES Debug) + MACRO_ADD_COMPILE_FLAGS(ipcpd-local -DCONFIG_OUROBOROS_DEBUG) +endif (CMAKE_BUILD_TYPE MATCHES Debug) + +install(TARGETS ipcpd-local RUNTIME DESTINATION bin) + +# Enable once ipcp-local has tests +# add_subdirectory(tests) |