mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
docs: fix/improve build documentation
This commit is contained in:
@@ -50,7 +50,7 @@ If you don't want to install **cglm** to your system's folder you can get static
|
|||||||
Meson (All platforms):
|
Meson (All platforms):
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block::
|
||||||
:linenos:
|
:linenos:
|
||||||
|
|
||||||
$ meson build # [Optional] --default-library=static
|
$ meson build # [Optional] --default-library=static
|
||||||
@@ -60,7 +60,7 @@ Meson (All platforms):
|
|||||||
|
|
||||||
**Meson Options:**
|
**Meson Options:**
|
||||||
|
|
||||||
.. code-block:: CMake
|
.. code-block::
|
||||||
:linenos:
|
:linenos:
|
||||||
|
|
||||||
c_std=c11
|
c_std=c11
|
||||||
@@ -69,9 +69,9 @@ Meson (All platforms):
|
|||||||
enable_tests=false # to run tests: ninja test
|
enable_tests=false # to run tests: ninja test
|
||||||
|
|
||||||
|
|
||||||
**Use with your CMake project example**
|
**Use with your Meson project**
|
||||||
|
|
||||||
.. code-block:: CMake
|
.. code-block::
|
||||||
:linenos:
|
:linenos:
|
||||||
|
|
||||||
# Clone cglm or create a cglm.wrap under <source_root>/subprojects
|
# Clone cglm or create a cglm.wrap under <source_root>/subprojects
|
||||||
|
|||||||
Reference in New Issue
Block a user