Actually, it depends on the build system. Which one are you using?
thx, I solved this problem. It's my mistake. I use xmake to manage the project and generate cmakelists by xmake. But xmake doesn't recognize the file suffix ".mpp". I modify the '.mpp' to '.cpp',it works.
Обсуждают сегодня