Clang building on linux
This commit is contained in:
parent
cd2e07f680
commit
660f8d7ba6
|
@ -93,6 +93,7 @@ filter("platforms:Linux")
|
|||
"pthread",
|
||||
"dl",
|
||||
"lz4",
|
||||
"rt",
|
||||
"X11",
|
||||
"xcb",
|
||||
"X11-xcb",
|
||||
|
@ -105,9 +106,6 @@ filter("platforms:Linux")
|
|||
linkoptions({
|
||||
"`pkg-config --libs gtk+-3.0`",
|
||||
})
|
||||
disablewarnings({
|
||||
"deprecated-register"
|
||||
})
|
||||
|
||||
filter({"platforms:Linux", "kind:*App"})
|
||||
linkgroups("On")
|
||||
|
@ -122,10 +120,13 @@ filter({"platforms:Linux", "language:C++", "toolset:gcc"})
|
|||
filter({"platforms:Linux", "language:C++", "toolset:clang"})
|
||||
buildoptions({
|
||||
"-std=c++14",
|
||||
"-stdlib=libc++",
|
||||
"-stdlib=libstdc++",
|
||||
})
|
||||
links({
|
||||
})
|
||||
disablewarnings({
|
||||
"deprecated-register"
|
||||
})
|
||||
|
||||
filter("platforms:Windows")
|
||||
system("windows")
|
||||
|
|
Loading…
Reference in New Issue