aboutsummaryrefslogtreecommitdiffstats
path: root/libccnx-transport-rta/ccnx
diff options
context:
space:
mode:
authorMauro Sardara <msardara+fdio@cisco.com>2017-04-29 18:58:51 +0200
committerMauro Sardara <msardara+fdio@cisco.com>2017-04-29 17:42:42 +0000
commitcf992f97d8e421417a8e8c26e6bc706473edcde0 (patch)
treea428714a1927e2c43b54db4eebef2f59fa0d9f2c /libccnx-transport-rta/ccnx
parent45cbd1b86e6365c50e75da122040b5d57127ebe5 (diff)
Adding support for dev and doc packages
Change-Id: I42f128364cfa1b7e19f2af2c8dc6d849e0ac6cc3 Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
Diffstat (limited to 'libccnx-transport-rta/ccnx')
-rw-r--r--libccnx-transport-rta/ccnx/api/control/CMakeLists.txt124
-rw-r--r--libccnx-transport-rta/ccnx/api/notify/CMakeLists.txt20
-rw-r--r--libccnx-transport-rta/ccnx/transport/CMakeLists.txt14
3 files changed, 79 insertions, 79 deletions
diff --git a/libccnx-transport-rta/ccnx/api/control/CMakeLists.txt b/libccnx-transport-rta/ccnx/api/control/CMakeLists.txt
index b0b3e71a..741bec7d 100644
--- a/libccnx-transport-rta/ccnx/api/control/CMakeLists.txt
+++ b/libccnx-transport-rta/ccnx/api/control/CMakeLists.txt
@@ -1,65 +1,65 @@
# Define a few configuration variables that we want accessible in the software
set(CCNX_API_CONTROL_HEADERS
- ccnxControlAPI_About.h
- cpi_Acks.h
- cpi_Address.h
- cpi_AddressList.h
- cpi_CancelFlow.h
- cpi_Connection.h
- cpi_ConnectionEthernet.h
- cpi_ConnectionList.h
- cpi_ControlMessage.h
- cpi_ControlFacade.h
- cpi_Forwarding.h
- cpi_Interface.h
- cpi_InterfaceSet.h
- cpi_InterfaceGeneric.h
- cpi_InterfaceEthernet.h
- cpi_InterfaceType.h
- cpi_InterfaceIPTunnel.h
- cpi_InterfaceIPTunnelList.h
- cpi_InterfaceLocal.h
- cpi_Listener.h
- cpi_NameRouteType.h
- cpi_ManageLinks.h
- cpi_ManageCaches.h
- cpi_ManageWldr.h
- cpi_RouteEntry.h
- cpi_RouteEntryList.h
- cpi_NameRouteProtocolType.h
- cpi_ForwardingStrategy.h
+ ccnxControlAPI_About.h
+ cpi_Acks.h
+ cpi_Address.h
+ cpi_AddressList.h
+ cpi_CancelFlow.h
+ cpi_Connection.h
+ cpi_ConnectionEthernet.h
+ cpi_ConnectionList.h
+ cpi_ControlMessage.h
+ cpi_ControlFacade.h
+ cpi_Forwarding.h
+ cpi_Interface.h
+ cpi_InterfaceSet.h
+ cpi_InterfaceGeneric.h
+ cpi_InterfaceEthernet.h
+ cpi_InterfaceType.h
+ cpi_InterfaceIPTunnel.h
+ cpi_InterfaceIPTunnelList.h
+ cpi_InterfaceLocal.h
+ cpi_Listener.h
+ cpi_NameRouteType.h
+ cpi_ManageLinks.h
+ cpi_ManageCaches.h
+ cpi_ManageWldr.h
+ cpi_RouteEntry.h
+ cpi_RouteEntryList.h
+ cpi_NameRouteProtocolType.h
+ cpi_ForwardingStrategy.h
controlPlaneInterface.h
-)
+)
-set(CCNX_API_CONTROL_SOURCE_FILES
- ccnxControlAPI_About.c
- cpi_Acks.c
- cpi_Address.c
- cpi_AddressList.c
- cpi_CancelFlow.c
- cpi_Connection.c
- cpi_ConnectionEthernet.c
- cpi_ConnectionList.c
- cpi_ControlMessage.c
- cpi_ControlFacade.c
- cpi_Forwarding.c
- cpi_Interface.c
- cpi_InterfaceSet.c
- cpi_InterfaceGeneric.c
- cpi_InterfaceEthernet.c
- cpi_InterfaceIPTunnel.c
- cpi_InterfaceIPTunnelList.c
- cpi_InterfaceType.c
- cpi_Listener.c
- cpi_NameRouteType.c
- cpi_ManageLinks.c
- cpi_ManageCaches.c
- cpi_ManageWldr.c
- cpi_NameRouteProtocolType.c
- cpi_RouteEntry.c
- cpi_RouteEntryList.c
- cpi_ForwardingStrategy.c
+set(CCNX_API_CONTROL_SOURCE_FILES
+ ccnxControlAPI_About.c
+ cpi_Acks.c
+ cpi_Address.c
+ cpi_AddressList.c
+ cpi_CancelFlow.c
+ cpi_Connection.c
+ cpi_ConnectionEthernet.c
+ cpi_ConnectionList.c
+ cpi_ControlMessage.c
+ cpi_ControlFacade.c
+ cpi_Forwarding.c
+ cpi_Interface.c
+ cpi_InterfaceSet.c
+ cpi_InterfaceGeneric.c
+ cpi_InterfaceEthernet.c
+ cpi_InterfaceIPTunnel.c
+ cpi_InterfaceIPTunnelList.c
+ cpi_InterfaceType.c
+ cpi_Listener.c
+ cpi_NameRouteType.c
+ cpi_ManageLinks.c
+ cpi_ManageCaches.c
+ cpi_ManageWldr.c
+ cpi_NameRouteProtocolType.c
+ cpi_RouteEntry.c
+ cpi_RouteEntryList.c
+ cpi_ForwardingStrategy.c
controlPlaneInterface.c
)
@@ -70,9 +70,9 @@ add_library(ccnx_api_control.shared SHARED ${CCNX_API_CONTROL_SOURCE_FILES})
source_group(Sources FILES ${CCNX_API_CONTROL_SOURCE_FILES})
source_group(Sources FILES ${CCNX_API_CONTROL_HEADERS})
-set_target_properties(ccnx_api_control.shared PROPERTIES
+set_target_properties(ccnx_api_control.shared PROPERTIES
C_STANDARD 99
- SOVERSION 1
+ SOVERSION 1
VERSION 1.0
OUTPUT_NAME ccnx_api_control )
@@ -82,10 +82,10 @@ set(libccnx_api_control_libraries
)
foreach(lib ${libccnx_api_control_libraries})
- install(TARGETS ${lib} LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
+ install(TARGETS ${lib} COMPONENT library LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
set_property(TARGET ${lib} PROPERTY C_STANDARD 99)
endforeach()
-install(FILES ${CCNX_API_CONTROL_HEADERS} DESTINATION include/ccnx/api/control )
-
+install(FILES ${CCNX_API_CONTROL_HEADERS} DESTINATION include/ccnx/api/control COMPONENT headers)
+
add_subdirectory(test)
diff --git a/libccnx-transport-rta/ccnx/api/notify/CMakeLists.txt b/libccnx-transport-rta/ccnx/api/notify/CMakeLists.txt
index d22e4db3..10d4065d 100644
--- a/libccnx-transport-rta/ccnx/api/notify/CMakeLists.txt
+++ b/libccnx-transport-rta/ccnx/api/notify/CMakeLists.txt
@@ -1,13 +1,13 @@
# Define a few configuration variables that we want accessible in the software
set(CCNX_API_NOTIFY_HEADERS
- ccnxNotifyAPI_About.h
- notify_Status.h
+ ccnxNotifyAPI_About.h
+ notify_Status.h
notify_Timer.h
-)
+)
-set(CCNX_API_NOTIFY_SOURCE_FILES
- ccnxNotifyAPI_About.c
+set(CCNX_API_NOTIFY_SOURCE_FILES
+ ccnxNotifyAPI_About.c
notify_Status.c
)
@@ -18,9 +18,9 @@ add_library(ccnx_api_notify.shared SHARED ${CCNX_API_NOTIFY_SOURCE_FILES})
source_group(Sources FILES ${CCNX_API_NOTIFY_SOURCE_FILES})
source_group(Sources FILES ${CCNX_API_NOTIFY_HEADERS})
-set_target_properties(ccnx_api_notify.shared PROPERTIES
+set_target_properties(ccnx_api_notify.shared PROPERTIES
C_STANDARD 99
- SOVERSION 1
+ SOVERSION 1
VERSION 1.0
OUTPUT_NAME ccnx_api_notify )
@@ -30,10 +30,10 @@ set(libccnx_api_notify_libraries
)
foreach(lib ${libccnx_api_notify_libraries})
- install(TARGETS ${lib} LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
+ install(TARGETS ${lib} COMPONENT library LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
set_property(TARGET ${lib} PROPERTY C_STANDARD 99)
endforeach()
-install(FILES ${CCNX_API_NOTIFY_HEADERS} DESTINATION include/ccnx/api/notify )
-
+install(FILES ${CCNX_API_NOTIFY_HEADERS} DESTINATION include/ccnx/api/notify COMPONENT headers)
+
#add_subdirectory(test)
diff --git a/libccnx-transport-rta/ccnx/transport/CMakeLists.txt b/libccnx-transport-rta/ccnx/transport/CMakeLists.txt
index 076b637a..119826cb 100644
--- a/libccnx-transport-rta/ccnx/transport/CMakeLists.txt
+++ b/libccnx-transport-rta/ccnx/transport/CMakeLists.txt
@@ -196,16 +196,16 @@ set(libccnx_transport_rta_libraries
)
foreach(lib ${libccnx_transport_rta_libraries})
- install(TARGETS ${lib} LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
+ install(TARGETS ${lib} COMPONENT library LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
set_property(TARGET ${lib} PROPERTY C_STANDARD 99)
endforeach()
-install(FILES ${BASE_HDRS} DESTINATION include/ccnx/transport )
-install(FILES ${COMMON_HDRS} DESTINATION include/ccnx/transport/common )
-install(FILES ${TEST_TOOLS_HDRS} DESTINATION include/ccnx/transport/test_tools )
-install(FILES ${RTA_CORE_HDRS} DESTINATION include/ccnx/transport/transport_rta )
-install(FILES ${RTA_CONFIG_HDRS} DESTINATION include/ccnx/transport/transport_rta/config )
-install(FILES ${RTA_COMMANDS_HDRS} DESTINATION include/ccnx/transport/transport_rta/commands )
+install(FILES ${BASE_HDRS} DESTINATION include/ccnx/transport COMPONENT headers)
+install(FILES ${COMMON_HDRS} DESTINATION include/ccnx/transport/common COMPONENT headers)
+install(FILES ${TEST_TOOLS_HDRS} DESTINATION include/ccnx/transport/test_tools COMPONENT headers)
+install(FILES ${RTA_CORE_HDRS} DESTINATION include/ccnx/transport/transport_rta COMPONENT headers)
+install(FILES ${RTA_CONFIG_HDRS} DESTINATION include/ccnx/transport/transport_rta/config COMPONENT headers)
+install(FILES ${RTA_COMMANDS_HDRS} DESTINATION include/ccnx/transport/transport_rta/commands COMPONENT headers)
add_subdirectory(common/test)
add_subdirectory(transport_rta/test)