Commit Graph

137 Commits

Author SHA1 Message Date
Charles Giessen
3277ecde43 build: Set DLL version automatically
The loader.rc file was used to set the version used in the loader. However,
this was always done manually (either by hand or a script to edit the file).
This commit makes the version number needed generated automatically based on
the current generated header version or uses a provided version, such as in
the case of SDK builds with a 'build revision', eg "1.2.191.2".

This commit also renames the atrosciously named
loader_generated_header_version_generator to a nicer
loader_versioning_generator.
2021-09-24 11:47:30 -06:00
Charles Giessen
6e35202976 test: Update googlestest to 1.10.0 2021-06-23 15:15:56 -06:00
Mike Gorchak
64cc17099c Add a couple of paragraphs about building process under QNX. 2021-04-06 14:52:51 -06:00
Mike Gorchak
977ac085f3 Rename build option to make it clearer that it belongs to QNX only. 2021-04-06 14:52:51 -06:00
Mike Gorchak
684c2a6873 Add support for QNX platform. 2021-04-06 14:52:51 -06:00
Michel Zou
0d912af509 Add an option to disable MASM
MASM generally goes with msvc, but it is not necessarily available with MinGW.
2020-10-30 11:38:59 -06:00
Craig Stout
f8a8762459 Add Fuchsia support
Fuchsia (fuchsia.dev) builds with GN and uses a loader service to load
the ICD into the application's address space.

ANGLE builds have been verified.
Reemoves unused variable is_icd.
2020-10-19 10:12:32 -06:00
Charles Giessen
0456e536c2 docs: Update build.md for static build changes
macOS is the only supported platform for a static loader.
Changes the build.md and CMakeList.txt to correctly specify
the option and warning message.

Change-Id: Iaf00e65e60ce5833516b7fe290eed7198436b48b
2020-10-06 09:34:24 -06:00
Lenny Komow
3610ce9fa2 docs: Remove outdated references to WDK
Change-Id: Iab787fa84e76fefd5b22bd97566dbf47cf642ed0
2020-10-05 18:28:55 -06:00
Nicolas Caramelli
fa696ca02c loader: Add support for directfb surface extension
The new VK_EXT_directfb_surface extension is a WSI extension and
thereforce needs loader support like the other surface extensions.
2020-07-07 10:33:54 -06:00
Mike Weiblen
ca89f05bc9 docs: Bump minimums to Ubuntu 16.04 and gcc 5.4.0
Change-Id: I140285b365009fff19b26e7d1a3ac2ff3e387f67
2019-08-20 15:08:54 -06:00
Mike Schuchardt
b06d9d95ce doc: Add codegen instructions 2019-07-19 10:36:03 -07:00
Mike Weiblen
411ac4a629 build: Update cmake_minimum_required(VERSION 3.10.2)
Change-Id: Iedced8e252a1505c9cc0b1b07ba0d1012526689a
2019-07-16 18:17:21 -06:00
Lenny Komow
232d005adf docs: Update build instructions for WDK dependency
Change-Id: Ifb5874c200ca7561c5f6c118ad69b48b331d2348
2019-07-10 11:59:25 -06:00
Mike Weiblen
a1230abdb6 docs: Update BUILD.md for CMake versions 2019-03-21 12:45:59 -06:00
Tony-LunarG
0366721b5b repo: Remove MIR specific code
Note that references in scripts/common_codegen.py and
scripts/loader_extension_generator.py will need to be
removed later

Change-Id: I7b17c80f7a06a339d7df0c199ff556212a7c6534
2018-10-25 09:39:32 -06:00
Tony-LunarG
0dac99deab tests: Use specific version of gtest for CI 2018-10-10 12:03:34 -06:00
Mike Weiblen
5943e148e8 docs: Remove vk_layer_dispatch_table.h from BUILD.md
Change-Id: I34fded0bcc970fd09640993ed4dfd67fbc29dcbe
2018-07-24 17:07:52 -06:00
Lenny Komow
e8f10e0ab4 docs: Update build doc with known-good info
Change-Id: I89fbc453e0ca2b83a3ad8ea3d0756655fe1e651f
2018-07-24 11:45:26 -06:00
Karl Schultz
9e6a609591 build: Improve googletest handling
Behavior is largely unchanged except that specifying BUILD_TESTS=ON
with googletest not present no longer quietly skips building the tests.

- Make inclusion of external directory unconditional.  We may someday
  put something there is not related to testing.
- Make default for BUILD_TEST dependent on googletest presence.
- Remove if() around entire contents of tests CMake file.
- Add CMake messaging to clarify googletest activity.
- Throw a CMake error if googletest not present and BUILD_TESTS=ON
2018-06-25 09:02:03 -06:00
Karl Schultz
51a4a5b235 doc: Update BUILD.md [skip ci] 2018-06-18 19:49:31 -06:00
Mark Young
9bceaac243 docs: Remove references to old repo
Remove references to the old repo. Also, remove ninja build steps
since they are no longer valid.

Change-Id: I4a963ec7dc49af2d7d0d186079f0aee78d110d70
2018-06-05 09:49:17 -06:00
Lenny Komow
79bf2b4bee docs: Document new google test mechanism
Change-Id: Ib51d38610ba554082391495878bf0113a2885bc0
2018-06-04 15:59:51 -06:00
Lenny Komow
9850797b1f docs: Update build instructions for Vulkan-Headers
Change-Id: I2897e25b3e6db340afa5a35d006ba88c0b3970b0
2018-06-01 16:44:02 -06:00
Karl Schultz
2ba544aad1 docs: Add notes for Win install target
[skip ci]
2018-05-25 13:46:58 -06:00
Lenny Komow
9099782627 docs: Document CMake build options
Change-Id: Ic74794d7de1b7f652aa75a262ebf808cb8b6a4db
2018-05-21 15:19:29 -06:00
Jeremy Kniager
604c350c78 docs: Update MacOS build section
Updated the MacOS section of
BUILD.md to reflect the repo split changes.

Change-Id: I27a2dc2e36866cdf58ed111758432bff6ecad2ad
2018-05-16 09:18:16 -06:00
Karl Schultz
fd4f21a202 repo: Update documentation files 2018-05-13 12:07:08 -06:00
Karl Schultz
79df3f65a7 docs: Fix internal links in BUILD.md 2018-04-03 18:28:03 -06:00
Jeremy Kniager
5ddf2bc8fb docs: Move vkjson_info section from BUILD.md
Moved the vkjson_info section from the Android
usage section in BUILD.md to its own file
libs/vkjson/README.md

Change-Id: I80ea8762c78e76fae43d2ca07820f46f7aef4c0c
2018-03-26 15:04:15 -06:00
Mike Schuchardt
bf17f0c8ff docs: Update brew package list
Starting around Feb 27 2018, "python" installs python 3.x instead of
2.x.  Also remove git which should be present from the Xcode command
line tools and python2 which should be present in the base macOS
install.
2018-03-07 09:44:21 -07:00
Karl Schultz
d81ebfb75a macOS: Add macOS support 2018-03-02 12:21:19 -07:00
Karl Schultz
a605eb8ba7 docs: fix markdown lint issues in BUILD.md 2018-02-27 11:15:39 -07:00
Mark Lobodzinski
944cf075f5 docs: Remove osx-specific func from Linux instrs
Fixed a pre-existing typo in the android instructions for Linux.

Change-Id: I7ceea88d07a69a60fc1afe4b2facf3e03f0da0e5
2018-02-27 11:15:39 -07:00
Mark Lobodzinski
28b640089e docs: Reorg and update BUILD.md
Also changed to one-sentence-per-line markdown style.

Change-Id: I41d6fcb8fa4a07711f19325c350950d5be3e269c
2018-02-27 11:15:39 -07:00
Mark Lobodzinski
4a07c6ea84 build: Add min supported compiler versions to BUILD.md
Change-Id: I694aaf18e3f4f1d458fa2a4f84f84c4553e93a0a
2018-02-07 16:33:33 -07:00
Mike Schuchardt
67af5c43dc build: Update BUILD.md to specify VS2013
Change-Id: I7533459cd338e233aad4d81ffc3c22aa87db1937
2018-01-03 11:38:50 -07:00
Mark Lobodzinski
55ba401e4b build: Fix gslang->glslang errors in BUILD.md
Change-Id: I221fde5b016cf36ec1047287dbfb82a1a81e0b09
2017-11-21 16:38:20 -07:00
Mark Lobodzinski
4e35a09757 build: Updated BUILD.md for spirv-tools changes
Change-Id: Ic2f62a226474dbe5705be2706efc093b3dde7b9e
2017-11-21 16:38:20 -07:00
Cody Northrop
b6af23036f docs: Update some Android sections 2017-11-09 15:04:03 -07:00
Mark Lobodzinski
a6cc7be8a4 build: Update BUILD.md to specify VS2015
Change-Id: I9180304a8089db057af68cbf86b73118e1d29c16
2017-11-07 09:00:48 -07:00
Cody Northrop
f0e54d2655 build: Add optional ccache support to cmake 2017-11-03 16:03:59 -06:00
Mike Stroyan
cf9b15bfc2 android: Use NDK structure for third party modules
Locate glslang and spirv directories under shaderc directory.
This allows the layers build to optionally use the NDK sources.
For glslang and spirv and shaderc-
 Use LOCAL_STATIC_LIBRARIES instead of LOCAL_C_INCLUDES to find headers.
 Use import-module instead of PREBUILT_STATIC_LIBRARY.
2017-10-12 16:32:26 -06:00
Jeff Juliano
939b896f5c build: Add no-sync to update_ext_srcs batch file
Complete support for cygwin environment by adding --no-sync support
to update_external_sources.bat. Also change command line parsing for
the the .bat script to be similar to the .sh script.

Change-Id: Ie813938654e7f4bb9575eef2587f36ca2933f30c
2017-08-28 14:34:47 -06:00
Jeff Juliano
cc741b7186 build: Improve cygwin build support
Partially support cygwin environment by adding --no-build to
update_external_sources.sh

Change-Id: I9fa35d6c720dd05a11c307d3da4d09415934899e
2017-08-28 14:34:47 -06:00
Jeff Juliano
7f745db67b build: Add missing quotes
Change-Id: Icff4a71bbedc3ee95d2dc2b85224a3c2eee74cb6
2017-08-28 10:18:33 -06:00
Cody Northrop
3d57c90d86 vkjson: Add support for Android
This commit adds vkjson and vkjson_info to the Android build.
It is only generated as an executable for devices with root
access, but it could be expanded to an APK with some more
boilerplate work.

See updates to BUILD.md for how to build and run on the device.
2017-08-17 10:53:41 -06:00
Lenny Komow
c34b5ae8ff build: Enable linux 32-bit builds with ASFLAGS
Change-Id: Ic88fdb9d6c0f23a0b345c82852826a9c1abb8097
2017-06-16 15:18:05 -06:00
Cody Northrop
70a37e8f96 docs: Update Android documentation 2017-04-18 10:47:32 -06:00
Igor Vuk
12e9ef08fb Docs: Fix a typo in BUILD.md 2017-03-03 14:40:29 -07:00