forked from premake/premake-core
-
Couldn't load subscription status.
- Fork 0
cleancommands
Jason Perkins edited this page Jul 29, 2015
·
6 revisions
Specifies one or more shell commands to be executed to clean a Makefile project.
cleancommands { "commands" }commands specifies a list of one or more shell commands to be executed. The commands may use tokens.
Premake 5.0 or later.
Use a Makefile project to execute an external makefile.
workspace "MyWorkspace"
configurations { "Debug", "Release" }
project "MyProject"
kind "Makefile"
buildcommands {
"make %{cfg.buildcfg}"
}
rebuildcommands {
"make %{cfg.buildcfg} rebuild"
}
cleancommands {
"make clean %{cfg.buildcfg}"
}