Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
glslang
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
glslang
Commits
63cebdb4
Commit
63cebdb4
authored
Jun 29, 2015
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Building README: Update to CMake information.
parent
8acc32bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
33 deletions
+8
-33
README.md
README.md
+8
-33
No files found.
README.md
View file @
63cebdb4
...
@@ -35,41 +35,16 @@ The applied stage-specific rules are based on the file extension:
...
@@ -35,41 +35,16 @@ The applied stage-specific rules are based on the file extension:
There is also a non-shader extension
There is also a non-shader extension
*
`.conf`
for a configuration file of limits, see usage statement for example
*
`.conf`
for a configuration file of limits, see usage statement for example
Source: Build and run on Linux
Building
-------------------------------
--------
A simple bash script
`BuildLinux.sh`
is provided at the root directory
to do the build and run a test cases. You will need a recent version of
bison installed.
Once the executable is generated, it needs to be dynamically linked with the
shared object created in
`lib`
directory. To achieve that,
`cd`
to
`StandAlone`
directory to update the
`LD_LIBRARY_PATH`
as follows
```
bash
export
LD_LIBRARY_PATH
=
$LD_LIBRARY_PATH
:./../glslang/MachineIndependent/lib
```
You can also update
`LD_LIBRARY_PATH`
in the
`.cshrc`
or
`.bashrc`
file,
depending on the shell you are using. You will need to give the complete path
of
`lib`
directory in
`.cshrc`
or
`.bashrc`
files.
Source: Build and run on Windows
--------------------------------
Current development is with Visual Studio verion 11 (2012). The solution
file is in the project's root directory
`Standalone.sln`
.
Building the StandAlone project (the default) will create
`glslangValidate.exe`
and copy it into the
`Test`
directory and
`Install`
directory. This allows
local test scripts to use either the debug or release version, whichever was
built last.
Windows execution and testing is generally done from within a cygwin
CMake: The currently maintained and preferred way of building is through CMake.
shell.
In MSVC, after running CMake, you may need to use the Configuration Manager to
check the INSTALL project.
Note: Despite appearances, the use of a DLL is currently disabled; it
Note there are some legacy build methods still intermingled within the directory
simply makes a standalone executable from a statically linked library.
structure (make, MSVC), but these are no longer maintained, having been
replaced with CMake.
Programmatic Interfaces
Programmatic Interfaces
-----------------------
-----------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment