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.2.tar.gz
(14.2 kB
view hashes)
Built Distribution
Close
Hashes for meson-cmake-wrapper-0.2.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb35ad5552f1e072c6a0d5e4e8133c29792933602f068dba27cd8c64644e1bd6 |
|
MD5 | 64091bd22cdbab2cb8e79cee3739368a |
|
BLAKE2b-256 | 5baaec249be9b386c0681145240f1666b292f282c804af80daa7b22068eca78e |
Close
Hashes for meson_cmake_wrapper-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73558cf1e98469b95e6e66a6e56410f0c4f81cb92210a59157c633c4c170e544 |
|
MD5 | bd835753c5f7fa8e1ea1608d19aedbff |
|
BLAKE2b-256 | 791917d22460eda3b00326c2b54333bbb66382bb6ebfca0b73c1d9e251d2c574 |