How to add in a CMake project a global file extension (*.pde) to GCC which is treated like C++ code

后端 未结 4 652
陌清茗
陌清茗 2020-12-18 03:40

I have a very simple CMake script. Unfortunately, the project uses a *.pde file which is plain C++ or C code.

CMake is working with any file ending, but I get a comp

4条回答
  •  误落风尘
    2020-12-18 03:56

    CMake doesn't do this for you:

    http://public.kitware.com/Bug/view.php?id=14516

提交回复
热议问题