add STATUS to CMake message statements
This commit is contained in:
parent
e0c3806045
commit
9a077ddd39
|
@ -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
|
|||
$<INSTALL_INTERFACE:include/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})
|
||||
|
||||
|
|
Loading…
Reference in New Issue