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.2.1.tar.gz
(14.2 kB
view hashes)
Built Distribution
Close
Hashes for meson-cmake-wrapper-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c31b32df9362cbd555069144c476172d68eb46058068c5603afae0bd73ab2d01 |
|
MD5 | c565f156f92f3d49f3a2d3f4677df72f |
|
BLAKE2b-256 | 630c964a53d45d7ffb9b63fba87117fe4feb5cba3bf99d40be096bc511705ff1 |
Close
Hashes for meson_cmake_wrapper-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b08ad6e18c637aa2ac45e7ff0689933a0cf613e39c2e7a539a05aac6be546bc |
|
MD5 | 28b465a1ef3f4767cbd1b1191e3558cc |
|
BLAKE2b-256 | 4c69cf704701e9a8fe393be8b6113b86ea8f03bcbc909e119f3ee26182211e42 |