summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorMichal Cmarada <mcmarada@cisco.com>2019-04-05 12:21:24 +0200
committerMichal Cmarada <mcmarada@cisco.com>2019-04-05 12:21:24 +0200
commitb311cdeb3e816d6836aa93bbcbb3eb4f2353caa2 (patch)
tree6b99f6abede8b1f61762f33e113f6e27184eadc2 /java
parentcb48eef7770e0782c686337b577064905e1edb8d (diff)
Update cmake build
- cleanups and updates - updates docs for centos build using devtoolset7 compiler Change-Id: I4c5635b1512dcd08e98291bde1f14c51f9067b63 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Diffstat (limited to 'java')
-rw-r--r--java/CMakeLists.txt26
1 files changed, 13 insertions, 13 deletions
diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt
index a58b396..cc59910 100644
--- a/java/CMakeLists.txt
+++ b/java/CMakeLists.txt
@@ -307,12 +307,12 @@ if (${RELEASE_ID} IN_LIST DebianBasedOS)
set(CPACK_DEBIAN_PACKAGE_DEPENDS "vpp (>= ${vpp_version}), vpp-plugin-core (>= ${vpp_version})")
# Print Debian package summary
- message("\nDebian package:")
- message(" Name: ${CPACK_DEBIAN_PACKAGE_NAME}")
- message(" Version: ${CPACK_DEBIAN_PACKAGE_VERSION}")
- message(" Description: ${CPACK_DEBIAN_PACKAGE_DESCRIPTION}")
- message(" File name: ${CPACK_DEBIAN_PACKAGE_FILE_NAME}")
- message(" Depends on: ${CPACK_DEBIAN_PACKAGE_DEPENDS}\n")
+ message(INFO "\nDebian package:")
+ info("Name:" "${CPACK_DEBIAN_PACKAGE_NAME}")
+ info("Version:" "${CPACK_DEBIAN_PACKAGE_VERSION}")
+ info("Description:" "${CPACK_DEBIAN_PACKAGE_DESCRIPTION}")
+ info("File name:" "${CPACK_DEBIAN_PACKAGE_FILE_NAME}")
+ info("Depends on:" "${CPACK_DEBIAN_PACKAGE_DEPENDS}\n")
elseif (${RELEASE_ID} IN_LIST RHBasedOS)
set(CPACK_GENERATOR RPM)
@@ -341,13 +341,13 @@ elseif (${RELEASE_ID} IN_LIST RHBasedOS)
set(CPACK_RPM_PACKAGE_DEPENDS "vpp (>= ${vpp_version}), vpp-plugins (>= ${vpp_version})")
# Print CentOS package summary
- message("\nRPM package:")
- message(" Name: ${CPACK_RPM_PACKAGE_NAME}")
- message(" Version: ${CPACK_RPM_PACKAGE_VERSION}")
- message(" Release: ${CPACK_RPM_PACKAGE_RELEASE}")
- message(" Description: ${CPACK_RPM_PACKAGE_DESCRIPTION}")
- message(" File name: ${CPACK_PACKAGE_FILE_NAME}")
- message(" Depends on: ${CPACK_RPM_PACKAGE_DEPENDS}\n")
+ message(INFO "\nRPM package:")
+ info("Name:" "${CPACK_RPM_PACKAGE_NAME}")
+ info("Version:" "${CPACK_RPM_PACKAGE_VERSION}")
+ info("Release:" "${CPACK_RPM_PACKAGE_RELEASE}")
+ info("Description:" "${CPACK_RPM_PACKAGE_DESCRIPTION}")
+ info("File name:" "${CPACK_PACKAGE_FILE_NAME}")
+ info("Depends on:" "${CPACK_RPM_PACKAGE_DEPENDS}\n")
endif ()
if (PackZip)
list(APPEND CPACK_GENERATOR ZIP)