Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 812 Bytes

basic_usage.md

File metadata and controls

23 lines (17 loc) · 812 Bytes

Basic usage

In the A Basic Starting Point tutorial provided by cmake, it introduces to users how to start with cmake.

For Configure and Build: it uses:

mkdir Step1_build
cd Step1_build
cmake ../Step1  # Generate make system
cmake --build . # Build targets
./Tutorial      # Run targets

With our plugin, you can use:

CMakeGenerate # Correspond to cmake ../Step1
CMakeBuild    # Correspond to cmake --build .
CMakeRun      # Correspond to ./Tutorial

And, actually with our plugin, you no longer need to execute generate, build and run in a specific order, instead, you can directly run CMakeRun to run specific target. This plugin will automatically generate and build targets for you.