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