summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQiuwen Lu <[email protected]>2015-07-01 19:42:26 +0800
committerQiuwen Lu <[email protected]>2015-07-01 19:42:26 +0800
commitd2ba7505bdac928abeb20dcad830fe88c9a40aaa (patch)
tree88da9a2e72873bcb029f636bd2000329609379e1
parent3e53db772b938555886c3c3817349d1b616813c0 (diff)
增加部分安装的功能v3.1.10-20160701
-rw-r--r--driver/CMakeLists.txt2
-rw-r--r--include/CMakeLists.txt8
-rw-r--r--tools/CMakeLists.txt6
-rw-r--r--worker/CMakeLists.txt2
4 files changed, 9 insertions, 9 deletions
diff --git a/driver/CMakeLists.txt b/driver/CMakeLists.txt
index 55de795..f2035e1 100644
--- a/driver/CMakeLists.txt
+++ b/driver/CMakeLists.txt
@@ -10,4 +10,4 @@ target_link_libraries(marsio ${DPDK_LIBRARY})
target_link_libraries(marsio MESA_prof_load_static)
target_link_libraries(marsio rt pthread dl)
-install(TARGETS marsio RUNTIME DESTINATION bin) \ No newline at end of file
+install(TARGETS marsio RUNTIME DESTINATION bin COMPONENT Program) \ No newline at end of file
diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt
index 2faf226..1d5d6b3 100644
--- a/include/CMakeLists.txt
+++ b/include/CMakeLists.txt
@@ -1,4 +1,4 @@
-install(FILES extern/marsio.h DESTINATION include)
-install(FILES extern/mr_hugepage.h DESTINATION include)
-install(FILES extern/mr_rawio.h DESTINATION include)
-install(FILES extern/mr_udp.h DESTINATION include) \ No newline at end of file
+install(FILES extern/marsio.h DESTINATION include COMPONENT Program)
+install(FILES extern/mr_hugepage.h DESTINATION include COMPONENT Program)
+install(FILES extern/mr_rawio.h DESTINATION include COMPONENT Program)
+install(FILES extern/mr_udp.h DESTINATION include COMPONENT Program) \ No newline at end of file
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index cefa3b1..81fdf3c 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -1,3 +1,3 @@
-install(FILES mrstart DESTINATION bin PERMISSIONS WORLD_EXECUTE)
-install(FILES mrstop DESTINATION bin PERMISSIONS WORLD_EXECUTE)
-install(FILES mrzcpd DESTINATION /etc/init.d/ PERMISSIONS WORLD_EXECUTE) \ No newline at end of file
+install(FILES mrstart DESTINATION bin PERMISSIONS WORLD_EXECUTE COMPONENT Program)
+install(FILES mrstop DESTINATION bin PERMISSIONS WORLD_EXECUTE COMPONENT Program)
+install(FILES mrzcpd DESTINATION /etc/init.d/ PERMISSIONS WORLD_EXECUTE COMPONENT Program) \ No newline at end of file
diff --git a/worker/CMakeLists.txt b/worker/CMakeLists.txt
index 426e395..acbb80a 100644
--- a/worker/CMakeLists.txt
+++ b/worker/CMakeLists.txt
@@ -36,4 +36,4 @@ if(LIBNET_FOUND)
target_link_libraries(libmarsio PRIVATE ${LIBNET_LIBRARY})
endif()
-install(TARGETS libmarsio LIBRARY DESTINATION lib) \ No newline at end of file
+install(TARGETS libmarsio LIBRARY DESTINATION lib COMPONENT Program) \ No newline at end of file