Generate CMakeLists.txt from a compile_commands.json
Project description
# json2cmake
[![Build Status](https://travis-ci.org/AbigailBuccaneer/json2cmake.svg?branch=master)](https://travis-ci.org/AbigailBuccaneer/json2cmake)
json2cmake converts [JSON compilation database][] files into [CMake][] files. The resulting CMakeLists.txt file can then be used to recompile the same object files with less overhead via [Ninja][], used as an IDE project file for [CLion][], or for integration into a larger CMake project.
The output files only include [object library][] definitions, as a compile_commands.json file typically doesn’t contain any linker commands.
[JSON compilation database]: http://clang.llvm.org/docs/JSONCompilationDatabase.html [CMake]: https://cmake.org/ [Ninja]: https://ninja-build.org/ [CLion]: https://www.jetbrains.com/clion/ [object library]: https://cmake.org/Wiki/CMake/Tutorials/Object_Library
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for json2cmake-0.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b796b287c843c0269e8cdbd2bf3c50762c2525fc7243c8476c35bbb1965710b |
|
MD5 | 3fd0ba07e9ce419d36661f53fdc41b55 |
|
BLAKE2b-256 | ea95359dfe45ae774eb87cc1a0e710db8e5d3dd99799738434ec756bb6c2ac22 |