others.rst (901B)
1 Eclipse 2 ======= 3 4 You can generate an Eclipse project by running: 5 6 .. code:: 7 8 ./mach ide eclipse 9 10 See also the `Eclipse CDT <https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Eclipse/Eclipse_CDT>`__ docs on MDN. 11 12 Visual Studio 13 ============= 14 15 You can run a Visual Studio project by running: 16 17 .. code:: 18 19 ./mach ide visualstudio 20 21 .. _CompileDB back-end-compileflags: 22 23 CompileDB back-end / compileflags 24 ================================= 25 26 You can generate a :code:`compile_commands.json` in your object directory by 27 running: 28 29 .. code:: 30 31 ./mach build-backend --backend=CompileDB 32 33 This file, the compilation database, is understood by a variety of C++ editors / IDEs 34 to provide auto-completion capabilities. You can also get an individual compile command by 35 running: 36 37 .. code:: 38 39 ./mach compileflags path/to/file 40 41 This is how the :ref:`VIM <VIM>` integration works, for example.