Skip to main content

Build system wrapper that provides Meson integration in CMake IDE's

Project description

PyPI

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

  1. In Toolchain settings (File > Settings > Build, Execution, Deployment > Toolchains): Change CMake option to path of mcw.

  2. Create an empty CMakeLists.txt file in root of project.

Code::Blocks

  1. Generate Code::Blocks project:
$ mcw -G"CodeBlocks - Ninja" -DCMAKE_BUILD_TYPE=Debug <build-dir>
  1. In Code::Blocks open: <build-dir>/<project-name>.cbp

QtCreator

  1. In CMake settings (Tools > Options... > Build & Run > CMake): Add manual CMake option with path of mcw.

  2. Create an empty CMakeLists.txt file in root of project.

VS Code

  1. Install vscode-cmake-tools.

  2. Change "cmake.cmakePath" option to mcw.

  3. Create an empty CMakeLists.txt file in root of project.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for meson-cmake-wrapper, version 0.3.4
Filename, size File type Python version Upload date Hashes
Filename, size meson-cmake-wrapper-0.3.4.tar.gz (14.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page