cmake_minimum_required(VERSION 3.5) set(CMAKE_TOOLCHAIN_FILE toolchain-arm-none-eabi.cmake) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) project(stm32) add_subdirectory(bsp) #application add_subdirectory(lib) #stm32f4xx library add_subdirectory(lwip) #lwip library