# cmake_minimum_required(VERSION 3.0)
# project(uart)
message(STATUS "unit_test/borad_test/uart/uart2/CMakeLists.txt.")
# 设置项目名称
project(uart)

add_executable(uart_test uart.c main.c)

# install(TARGETS uart_test 
#     RUNTIME DESTINATION ${PROJECT_SOURCE_DIR}/bin)
install(TARGETS uart_test 
    RUNTIME DESTINATION ${CMAKE_BINARY_DIR}/../bin)