CLion and Chromium browser
Hi, is there anywhere a tutorial on how to load, debug and run the Chromium project (or projects based on it) on Windows?
I could load the project using compilation database, doesn't use common toolchains, it uses Google's “gn” (generator ninja) which generates ninja files.
There is a very old tutorial, which does not work too well: https://chromium.googlesource.com/chromium/src/+/70.0.3515.0/docs/clion_dev.md
How chromium is built: first time, we call a custom `build.bat`, which calls `gn generator with some flags and starts the build` in the root dir. for the next builds, we call `ninja -C src\out\Debug-x64\ chrome`. On Windows, the only toolchains I see in CLion are MinGW and Visual Studio, maybe I should create another custom toolchain which uses ninja+clang?
currently everything is red, CLion doesn't know even “namespace” keyword.
I would like to use CLion for this project, thanks
请先登录再写评论。