Add compile and link flags for Linux platform (X11, vulkan, gtk, etc)

This commit is contained in:
Doug Johnson 2017-07-08 02:33:12 -06:00
parent 969b4df7dd
commit fb8d83b9b5
1 changed files with 12 additions and 1 deletions

View File

@ -90,6 +90,14 @@ filter("platforms:Linux")
})
links({
"pthread",
"lz4",
"X11",
"GL",
"GLEW",
"vulkan",
})
linkoptions({
"`pkg-config --libs gtk+-3.0`",
})
filter({"platforms:Linux", "language:C++", "toolset:gcc"})
@ -102,10 +110,13 @@ filter({"platforms:Linux", "language:C++", "toolset:gcc"})
filter({"platforms:Linux", "language:C++", "toolset:clang"})
buildoptions({
"-std=c++14",
<<<<<<< HEAD
"-stdlib=libc++",
=======
-- "-stdlib=libc++", -- Seems to happier using gcc's libc++
>>>>>>> d50e6f18... Add Linux build params for gtk, libvulkan, etc
})
links({
"c++",
})
filter("platforms:Windows")