summaryrefslogtreecommitdiff
path: root/xmake/packages/cmake/xmake.lua
blob: c78f590fdeb5d5cf5ec6405c0a7c62c8416a5f8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package("cmake")

    set_kind("binary")
    set_homepage("https://cmake.org")
    set_description("A cross-platform family of tool designed to build, test and package software")
    add_imports("package.manager.install")

    on_build(function (package)
    end)

    on_install(function (package)
        install("cmake")
    end)

    on_install("windows", function (package)
        -- the winenv with cmake has been installed when installing git 
        raise()
    end)