Maybe fix Linux building mixed code projects?

This commit is contained in:
gibbed 2018-11-24 21:32:19 -06:00
parent 20315850db
commit 5fccc931ee
1 changed files with 5 additions and 4 deletions

View File

@ -128,10 +128,6 @@ filter({"platforms:Linux", "toolset:gcc"})
end
filter({"platforms:Linux", "language:C++", "toolset:clang"})
buildoptions({
"-std=c++14",
"-stdlib=libstdc++",
})
links({
"c++",
"c++abi"
@ -139,6 +135,11 @@ filter({"platforms:Linux", "language:C++", "toolset:clang"})
disablewarnings({
"deprecated-register"
})
filter({"platforms:Linux", "language:C++", "toolset:clang", "files:*.cc or *.cpp"})
buildoptions({
"-std=c++14",
"-stdlib=libstdc++",
})
filter("platforms:Windows")
system("windows")