extra cmake arguments ignored in SDK 2.7.0 using sysbuild

Hello
In SDK 2.6.xx I used to define an extra CMake argument in the VSCode UI, i.e  "-DMFG=1"
This argument was available when CMakeLists.txt was processed so I could do additional processing i.e
if(MFG)
additional processing..
endif()
This broke in 2.7.0 and higher which use sysbuild
The argument is on the command line generated by VSCode but not available to CMake 
What's the recommended way to make it visible to CMake in SDK 2.7.0 and later that use sysbuild?
Thanks

Andy

Parents Reply Children
No Data
Related