diff --git a/CMakeLists.txt b/CMakeLists.txt index fae63b626..60ff4e0f8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,6 +27,8 @@ cmake_minimum_required(VERSION 3.25) project(MiosixExamples C CXX ASM) +add_compile_definitions($<$,$>:PARSING_FROM_IDE>) + add_subdirectory(miosix EXCLUDE_FROM_ALL) include(miosix/cmake/miosix_link_target.cmake)