Skip to main content

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.

VS Code

Setup

  1. Install vscode-cmake-tools.

  2. Change "cmake.cmakePath" option to meson-cmake-wrapper.

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

Works

  • Detect targets
  • Detect toolchain
  • Detect target files
  • Build target
  • Run target
  • Debug target
  • Autocompletion

CLion

Setup

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

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

Works

  • Detect targets
  • Detect toolchain
  • Detect target files
  • Build target
  • Run target
  • Run target with valgrind
  • Debug target
  • Autocompletion

QtCreator

Setup

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

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

Works

  • Detect targets
  • Detect toolchain
  • Detect target files
  • Build target
  • Run target
  • Run target with valgrind
  • Debug target
  • Autocompletion

Code::Blocks

Setup

  1. Generate Code::Blocks project:

meson-cmake-wrapper -G"CodeBlocks - Ninja" -DCMAKE_BUILD_TYPE=Debug <build-dir>

  1. In Code::Blocks open: <build-dir>/<project-name>.cbp

Works

  • Detect targets
  • Detect toolchain
  • Detect target files
  • Build target
  • Run target
  • Debug target
  • Autocompletion

Project details


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.0.2.tar.gz (13.3 kB view hashes)

Uploaded Source

Built Distribution

meson_cmake_wrapper-0.0.2-py3-none-any.whl (17.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page