mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-25 01:01:58 -05:00
Update README.md (#454)
* Update README.md edited link to the `gsl` include directory * Update README.md added `include` to the include path according to the directory structure
This commit is contained in:
parent
e3fecbd1c5
commit
a6baab7c01
@ -69,18 +69,18 @@ All tests should pass - indicating your platform is fully supported and you are
|
||||
## Using the libraries
|
||||
As the types are entirely implemented inline in headers, there are no linking requirements.
|
||||
|
||||
You can copy the [gsl](./gsl) directory into your source tree so it is available
|
||||
You can copy the [gsl](./include/gsl) directory into your source tree so it is available
|
||||
to your compiler, then include the appropriate headers in your program.
|
||||
|
||||
Alternatively set your compiler's *include path* flag to point to the GSL development folder (`c:\GSL` in the example above) or installation folder (after running the install). Eg.
|
||||
Alternatively set your compiler's *include path* flag to point to the GSL development folder (`c:\GSL\include` in the example above) or installation folder (after running the install). Eg.
|
||||
|
||||
MSVC++
|
||||
|
||||
/I c:\GSL
|
||||
/I c:\GSL\include
|
||||
|
||||
GCC/clang
|
||||
|
||||
-I$HOME/dev/GSL
|
||||
-I$HOME/dev/GSL/include
|
||||
|
||||
Include the library using:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user