Reputation: 30342
In the Your First Script guide to Premake 5, there's a line:
targetdir "bin/%{cfg.buildcfg}"
It's clear from context that %{cfg.buildcfg}
substitutes in the build configuration eg. Debug
. But is this documented anywhere? Is there a list of other namespaces and names I can use eg. the workspace build directory?
Upvotes: 1
Views: 1292
Reputation: 148
Those are called value tokens. In the wiki you can find a list of the ones available https://github.com/premake/premake-core/wiki/Tokens
Upvotes: 1