cmake_minimum_required(VERSION 3.8.2) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(NONE) if(CONFIG_IWDG_STM32) target_sources(app PRIVATE src/iwdg_main.c) else() target_sources(app PRIVATE src/main.c) endif()