Creates a new Disposable calling the provided function on dispose.
Function that disposes something.
The root build directory for the project. May change based on build configuration.
The path to the `CMakeCache.txt for the project.
List of CMake targets created via add_executable()
.
The CMakeLists.txt
at to the root of the project
Event fired when the configure/generate stage completes
The source directory, containing the root of the project
Event fired when the active target changes.
All targets available to be built
Build the project
The target to build. If not provided, will build the user's active build target.
the exit code of the build command
Clean the build output. Runs the clean
target.
The exit code from the build command
Clean up old configuration and reconfigure.
The exit code from CMake
Clean the build output and rebuild
The exit code from the build command.
Configure the project.
Extra arguments to pass on the CMake command line
The exit code of CMake
Execute CTest
The exit code from CTest
Start the active target with a debugger.
Dispose this object.
Execute an arbitrary program.
Path to an executable binary
List of command-line arguments to the program
Additional execution options
The result of execution
You can execute a program on your own, but if it requires access to environment variables that CMake Tools knows about, such as Visual C++ environment variables, this is the most reliable way to ensure that you execute in the context that the user is expecting.
Execute a command using the CMake executable.
Arguments to CMake
Additional execution options
The result of execution.
Installs the project
The exit code from CMake
Start the active target without a debugger.
Get the path to the active launch target
Stop the currently running command.
true
on success. false
otherwise.
Combine many disposable-likes into one. Use this method when having objects with a dispose function which are not instances of Disposable.
Objects that have at least a dispose
-function member.
Returns a new disposable which, upon dispose, will dispose all provided disposables.
Generated using TypeDoc
The CMake Tools extension API obtained via
getExtension().exports