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.1.tar.gz
(14.3 kB
view hashes)
Built Distribution
Close
Hashes for meson-cmake-wrapper-0.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bb8b94e835445a9426e3cd51e0be4d84491f6bcc09c14109da212a700779e51 |
|
MD5 | d2f66c928a0f51d8eb20069edb0edb39 |
|
BLAKE2b-256 | c0e45e04ee74f4c06a814fa4f1911abff0d3f9462a1930753ce4842097c98c15 |
Close
Hashes for meson_cmake_wrapper-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d029436ae5d12e736e517e15109ea1f982967d9cb3fce52aa82646361979311 |
|
MD5 | ac072a7d3130eac5409bd59cb01ae55e |
|
BLAKE2b-256 | b2c03c92637e8fbb32296174e16839e551f57bf594b6bc91a7cca43ae05f3fd0 |