My GHS MULTI project builds and compiles fine in GHS. I’m able to setup my cmake project without errors using:
cmake -G “Green Hills MULTI” -A arm64 -T c:\ghs\comp_202214 -D GHS_OS_DIR=…/int1179teledyne -D GHS_BSP_NAME=devtree-arm64 …
but my builds fail when compiling after that because it’s not picking up the C++11 standard.
I’ve tried
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
but that doesn’t take.
My .gpj files have
#!gbuild
#component integrity_virtual_address_space
[Program]
-livfs
–c++11
but that language standard option doesn’t seem to get picked up anywhere.
Any idea what I’m missing?