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.txtfile 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.txtfile in root of project.
VS Code
-
Install vscode-cmake-tools.
-
Change
"cmake.cmakePath"option tomcw. -
Create an empty
CMakeLists.txtfile in root of project.
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.3.4.tar.gz
(14.6 kB
view details)
File details
Details for the file meson-cmake-wrapper-0.3.4.tar.gz.
File metadata
- Download URL: meson-cmake-wrapper-0.3.4.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4bfb811975debdcf22b4c16a3f812b37d7b7b91a05444d937e46b9f305f0131
|
|
| MD5 |
e8366f290fc24db55acd6ab3a6d5b225
|
|
| BLAKE2b-256 |
a7f035a29b9213b4b4fafe749f5af5952d6922cc32ffc65c008df97a9d03d8b8
|