Skip to main content
The 2024 Developer Survey results are live! See the results

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • The project generator didn't work for me either, but this worked!
    – Jesper
    Commented Sep 3, 2019 at 14:48
  • I tried this, but Eclipse does not recognize the flags I have set in CMakeLists.txt, i.e.: set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DMYVAR=5") Eclipse error: Symbol 'MYVAR' could not be resolved Any ideas how to solve this? Btw, I tried the same with VS Code with the "CMake Tools" extension - same error...
    – Guti_Haz
    Commented Jun 7, 2020 at 17:49