gccvisual-studio-codecmakeg++rc

Can cmake handle rc files?


Can cmake handle rc files? There is a project that needs to be converted from msvc to g++ compilation. Compiling with cmake can be successful, but after the program starts, it exits directly without a screen.


Solution

  • just put the rc file and the resource file in some folder,cmake will handle it automaticlly.