New maintainer needed! Check Issue
Build system wrapper that provides Meson integration in CMake IDE's.
$ pip3 install meson-cmake-wrapper
Feature | CLion | Code::Blocks | QtCreator | VS Code |
---|---|---|---|---|
Detect targets | ✔️ | ✔️ | ✔️ | ✔️ |
Detect toolchain | ✔️ | ✔️ | ✔️ | ✔️ |
Detect target files | ✔️ | ✔️ | ✔️ | ✔️ |
Build target | ✔️ | ✔️ | ✔️ | ✔️ |
Run target | ✔️ | ✔️ | ✔️ | ✔️ |
Debug target | ✔️ | ✔️ | ✔️ | ✔️ |
Autocompletion | ✔️ | ✔️ | ✔️ | ✔️ |
-
In Toolchain settings (File > Settings > Build, Execution, Deployment > Toolchains): Change CMake option to path of
mcw
. -
Create an empty
CMakeLists.txt
file in root of project.
- Generate Code::Blocks project:
$ mcw -G"CodeBlocks - Ninja" -DCMAKE_BUILD_TYPE=Debug <build-dir>
- In Code::Blocks open:
<build-dir>/<project-name>.cbp
-
In CMake settings (Tools > Options... > Kits > CMake): Add manual CMake option with path of
mcw
. -
Create an empty
CMakeLists.txt
file in root of project.
-
Install vscode-cmake-tools.
-
Change
"cmake.cmakePath"
option tomcw
. -
Create an empty
CMakeLists.txt
file in root of project.