Build system wrapper that provides Meson integration in CMake IDE's
Project description
meson-cmake-wrapper
Build system wrapper that provides Meson integration in CMake IDE's.
Install
$ pip3 install meson-cmake-wrapper
Feature Matrix
Feature | CLion | Code::Blocks | QtCreator | VS Code |
---|---|---|---|---|
Detect targets | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
Detect toolchain | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
Detect target files | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
Build target | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
Run target | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
Debug target | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
Autocompletion | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
Setup
CLion
-
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.
Code::Blocks
- Generate Code::Blocks project:
$ mcw -G"CodeBlocks - Ninja" -DCMAKE_BUILD_TYPE=Debug <build-dir>
- In Code::Blocks open:
<build-dir>/<project-name>.cbp
QtCreator
-
In CMake settings (Tools > Options... > Build & Run > CMake): Add manual CMake option with path of
mcw
. -
Create an empty
CMakeLists.txt
file in root of project.
VS Code
-
Install vscode-cmake-tools.
-
Change
"cmake.cmakePath"
option tomcw
. -
Create an empty
CMakeLists.txt
file in root of project.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
meson-cmake-wrapper-0.1.4.tar.gz
(14.2 kB
view hashes)
Close
Hashes for meson-cmake-wrapper-0.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c0402839c01862c8e81b4a27ab140bdb1cae2da0a9c82a2d6620bf4487c3e2d |
|
MD5 | 0f43f687f5db6fdf2ddb95097fe802c9 |
|
BLAKE2b-256 | a64874a81e7a9b42b5c5de7ace4cbb90c5c2578da05b9859e898d55a4adbd08a |