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.3.3.tar.gz
(14.5 kB
view hashes)
Built Distribution
Close
Hashes for meson-cmake-wrapper-0.3.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fe1c2e42dd473e419397f609adb22c91898b874334edea6826f5673bfac7396 |
|
MD5 | 141d989146f33599af0634118532b3a7 |
|
BLAKE2b-256 | 581a95286b7c26455ee1db2ce661902c9446d8be437ac8d13dcdec2a271d8dc3 |
Close
Hashes for meson_cmake_wrapper-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18ac2bd2b8aebdb1523caecdb202e3aa6ab28d71f80515ae221579a443dcb918 |
|
MD5 | 80c221fbd02a4d4f851a5b05a1c1c2a9 |
|
BLAKE2b-256 | 37cace8cacd0d2e052ec19430e7bee9fadb98d8745735d30480bb31a566e7432 |