From 9a077ddd390176f6d19f8977adf6d57186d3e49b Mon Sep 17 00:00:00 2001 From: Alex Brinkman Date: Thu, 18 Feb 2021 09:11:29 -0800 Subject: [PATCH] add STATUS to CMake message statements --- CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d4e267..894153e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,8 +43,8 @@ elseif(APPLE) set(OS_LIBS pthread pcap) elseif(${CMAKE_SYSTEM_NAME} MATCHES "rt-kernel") set(OS "rtk") - message("ARCH is ${ARCH}") - message("BSP is ${BSP}") + message(STATUS "ARCH is ${ARCH}") + message(STATUS "BSP is ${BSP}") include_directories(oshw/${OS}/${ARCH}) file(GLOB OSHW_EXTRA_SOURCES oshw/${OS}/${ARCH}/*.c) set(OSHW_SOURCES "${OS_HW_SOURCES} ${OSHW_ARCHSOURCES}") @@ -54,13 +54,13 @@ elseif(${CMAKE_SYSTEM_NAME} MATCHES "rt-kernel") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-format") set(OS_LIBS "-Wl,--start-group -l${BSP} -l${ARCH} -lkern -ldev -lsio -lblock -lfs -lusb -llwip -leth -li2c -lrtc -lcan -lnand -lspi -lnor -lpwm -ladc -ltrace -lc -lm -Wl,--end-group") elseif(${CMAKE_SYSTEM_NAME} MATCHES "rtems") - message("Building for RTEMS") + message(STATUS "Building for RTEMS") set(OS "rtems") set(SOEM_LIB_INSTALL_DIR ${LIB_DIR}) set(BUILD_TESTS FALSE) endif() -message("OS is ${OS}") +message(STATUS "OS is ${OS}") file(GLOB SOEM_SOURCES soem/*.c) file(GLOB OSAL_SOURCES osal/${OS}/*.c) @@ -94,7 +94,7 @@ target_include_directories(soem $ ) -message("LIB_DIR: ${SOEM_LIB_INSTALL_DIR}") +message(STATUS "LIB_DIR: ${SOEM_LIB_INSTALL_DIR}") install(TARGETS soem EXPORT soemConfig DESTINATION ${SOEM_LIB_INSTALL_DIR})