Skip to content

cake-contrib/Cake.CMake

Repository files navigation

Cake.CMake

Addin that extends Cake with CMake support.

Stable Pre-release
Nuget Nuget (with prereleases)

Build status

develop master
Build status Build status

How to use

For to generate

#addin nuget:?package=Cake.CMake

Task("CMake")
    .Does(() =>
{
    var settings = new CMakeSettings
    {
        OutputPath = "path/to/build",
        SourcePath = "path/to/source"
    };

    CMake(settings);
});

For to build

#addin nuget:?package=Cake.CMake

Task("CMake")
    .Does(() =>
{
    var settings = new CMakeBuildSettings
    {
        BinaryPath = "path/to/build"
    };

    CMakeBuild(settings);
});