* The windows command will now be:
cmake -G "MinGW Makefiles" -DBUILD_ANDROID=On <...>
* The linux command will just be:
cmake -DBUILD_ANDROID=On <...>
* With the rest of the parameters specified as normal. An optional
-DANDROID_ABI can be passed to specify the ABI
* We only want to block windows-for-windows builds with CMake, not cross
compiles for e.g. android from windows.
* We move the fatal error later in the file after the cross-compilation
has been initialised so we can check if we're really still WIN32.
* This means the early-out on windows is a little late (after some
autodetection has happened) but that's not the end of the world.
* Also allow disabling GL a little better by removing the dependency in
renderdoccmd.
* Disabling them now completely removes all xcb and xlib build
dependencies. The resulting library/executable is only useful in
limited situations - e.g. replaying vulkan remotely which doesn't need
any window system interaction. Or capturing vulkan as well with the
KHR_display WSI extension which doesn't need any built-time includes
or libs.
Notes
======
- With no clean way to do string comparisons in the C preprocessor, have a define per-platform. This avoids the clever string concatenation for determining the OS-specic bits, and allows SN-DBS to distribute builds without custom rewrite rules.
- Fix up instances of WIN32, etc., in non-3rdparty sources to refer to this.
- Move the per-platform specific bits into their own subdirs.
Add -Wextra and silence all warnings with -Wno-*. Among them, we probably
want to fix
-Wunused-variable
-Wunused-but-set-variable
-Wtype-limits
at some point.
* Suggest users to use VS on Windows
* Add a top-level wrapper Makefile and disallow in-source builds
* Support clang
* Centralize compiler flags
* Remove all occurrences of "if(WIN32)..."
* Make qrenderdoc an external project