Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
glslang
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test-restored
platform
external
deqp-deps
glslang
Commits
63cebdb4
Commit
63cebdb4
authored
9 years ago
by
John Kessenich
Browse files
Options
Downloads
Patches
Plain Diff
Building README: Update to CMake information.
parent
8acc32bd
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+8
-33
8 additions, 33 deletions
README.md
with
8 additions
and
33 deletions
README.md
+
8
−
33
View file @
63cebdb4
...
...
@@ -35,41 +35,16 @@ The applied stage-specific rules are based on the file extension:
There is also a non-shader extension
*
`.conf`
for a configuration file of limits, see usage statement for example
Source: Build and run on Linux
-------------------------------
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.
Building
--------
Windows execution and testing is generally done from within a cygwin
shell.
CMake: The currently maintained and preferred way of building is through CMake.
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
simply makes a standalone executable from a statically linked library.
Note there are some legacy build methods still intermingled within the directory
structure (make, MSVC), but these are no longer maintained, having been
replaced with CMake.
Programmatic Interfaces
-----------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment