Enable premake linkgroups when building Linux applications
The linkgroups option is a convenience option that makes it possible to specify all the libraries required to build an application (console or GUI) in any order. It also prevents circular dependency issues between libraries. Basically, it surrounds the list of libraries with the start-group/end-group options when calling the linker.
This commit is contained in:
parent
6bf05d6e63
commit
c438458426
|
@ -100,6 +100,9 @@ filter("platforms:Linux")
|
|||
"`pkg-config --libs gtk+-3.0`",
|
||||
})
|
||||
|
||||
filter({"platforms:Linux", "kind:*App"})
|
||||
linkgroups("On")
|
||||
|
||||
filter({"platforms:Linux", "language:C++", "toolset:gcc"})
|
||||
buildoptions({
|
||||
"--std=c++11",
|
||||
|
|
Loading…
Reference in New Issue