Infrastructure: Address issue #414, build instructions.
This commit is contained in:
15
README.md
15
README.md
@@ -57,14 +57,21 @@ Building
|
|||||||
|
|
||||||
### Build steps
|
### Build steps
|
||||||
|
|
||||||
#### 1) Check-Out External Projects
|
#### 1) Check-Out this project
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd <the directory glslang was cloned to, External will be a subdirectory>
|
cd <parent of where you want glslang to be>
|
||||||
|
git clone git@github.com:KhronosGroup/glslang.git
|
||||||
|
```
|
||||||
|
|
||||||
|
#### 2) Check-Out External Projects
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd <the directory glslang was cloned to, "External" will be a subdirectory>
|
||||||
git clone https://github.com/google/googletest.git External/googletest
|
git clone https://github.com/google/googletest.git External/googletest
|
||||||
```
|
```
|
||||||
|
|
||||||
#### 2) Configure
|
#### 3) Configure
|
||||||
|
|
||||||
Assume the source directory is `$SOURCE_DIR` and
|
Assume the source directory is `$SOURCE_DIR` and
|
||||||
the build directory is `$BUILD_DIR`:
|
the build directory is `$BUILD_DIR`:
|
||||||
@@ -87,7 +94,7 @@ cmake $SOURCE_DIR -DCMAKE_INSTALL_PREFIX=`pwd`/install
|
|||||||
|
|
||||||
The CMake GUI also works for Windows (version 3.4.1 tested).
|
The CMake GUI also works for Windows (version 3.4.1 tested).
|
||||||
|
|
||||||
#### 3) Build and Install
|
#### 4) Build and Install
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# for Linux:
|
# for Linux:
|
||||||
|
|||||||
@@ -2,5 +2,5 @@
|
|||||||
// For the version, it uses the latest git tag followed by the number of commits.
|
// For the version, it uses the latest git tag followed by the number of commits.
|
||||||
// For the date, it uses the current date (when then script is run).
|
// For the date, it uses the current date (when then script is run).
|
||||||
|
|
||||||
#define GLSLANG_REVISION "SPIRV99.1348"
|
#define GLSLANG_REVISION "SPIRV99.1351"
|
||||||
#define GLSLANG_DATE "27-Jul-2016"
|
#define GLSLANG_DATE "27-Jul-2016"
|
||||||
|
|||||||
Reference in New Issue
Block a user