Current Path : /usr/opt/nge/share/cmake-3.6/Help/variable/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/opt/nge/share/cmake-3.6/Help/variable/CMAKE_EXPORT_COMPILE_COMMANDS.rst |
CMAKE_EXPORT_COMPILE_COMMANDS ----------------------------- Enable/Disable output of compile commands during generation. If enabled, generates a ``compile_commands.json`` file containing the exact compiler calls for all translation units of the project in machine-readable form. The format of the JSON file looks like: .. code-block:: javascript [ { "directory": "/home/user/development/project", "command": "/usr/bin/c++ ... -c ../foo/foo.cc", "file": "../foo/foo.cc" }, ... { "directory": "/home/user/development/project", "command": "/usr/bin/c++ ... -c ../foo/bar.cc", "file": "../foo/bar.cc" } ] .. note:: This option is implemented only by :ref:`Makefile Generators` and the :generator:`Ninja`. It is ignored on other generators.