mirror of
https://github.com/xenia-project/xenia.git
synced 2024-11-23 11:39:45 +00:00
Add Add XCB/Xlib interaction and X11 specific GTK headers/includes
This commit is contained in:
parent
7ede34b593
commit
1c40e46cd1
@ -87,11 +87,15 @@ filter("platforms:Linux")
|
||||
toolset("clang")
|
||||
buildoptions({
|
||||
-- "-mlzcnt", -- (don't) Assume lzcnt is supported.
|
||||
"`pkg-config --cflags gtk+-x11-3.0`"
|
||||
})
|
||||
links({
|
||||
"pthread",
|
||||
"dl",
|
||||
"lz4",
|
||||
"X11",
|
||||
"xcb",
|
||||
"X11-xcb",
|
||||
"GL",
|
||||
"GLEW",
|
||||
"vulkan",
|
||||
@ -113,11 +117,7 @@ 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({
|
||||
})
|
||||
|
@ -19,13 +19,14 @@
|
||||
// Xlib/Xcb is used only for GLX/Vulkan interaction, the window management
|
||||
// and input events are done with gtk/gdk
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xlib-xcb.h>
|
||||
#include <X11/Xutil.h>
|
||||
#include <X11/Xos.h>
|
||||
#include <xcb/xcb.h>
|
||||
|
||||
//Used for window management. Gtk is for GUI and wigets, gdk is for lower
|
||||
//level events like key presses, mouse events, etc
|
||||
//level events like key presses, mouse events, window handles, etc
|
||||
#include <gtk/gtk.h>
|
||||
#include <gdk/gdk.h>
|
||||
#include <gdk/gdkx.h>
|
||||
|
||||
#endif // XENIA_BASE_PLATFORM_X11_H_
|
||||
|
Loading…
Reference in New Issue
Block a user