You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linking to external libraries is done with the links function.
links { "png", "zlib" }
When specifying libraries, system-specific decorations, such as prefixes or file extensions, should be omitted. Premake will synthesize the correct format based on the target platform automatically. The one exception to the rule is Mac OS X frameworks, where the file extension is required to identify it as such.
links { "Cocoa.framework" }
To link to a sibling project (a project in the same workspace) use the project name. Premake will deduce the correct library path and name based on the current platform and configuration.