Maybe fix Linux building mixed code projects?
This commit is contained in:
parent
20315850db
commit
5fccc931ee
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue