Clang building on linux

This commit is contained in:
DrChat 2017-12-19 19:29:30 -06:00
parent cd2e07f680
commit 660f8d7ba6
1 changed files with 5 additions and 4 deletions

View File

@ -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")