C++ compilation in nRF5340 Audio DK

Hello, I am looking to integrate a c++ library into the nRF5340 Audio DK build. I am trying to ensure the compiler applies all the CMake flags it is using for the c compilation on the c++ library as well (for ex: set(CMAKE_CXX_FLAGS "-mcpu=cortex-m33 -mthumb)- to avoid any problems in the linking stage. Can anyone recommend where/how I can update this? The other option is to change the compiler to a c++ compiler, any suggestions where I can do this as well?

Related