docs: fix/improve build documentation

This commit is contained in:
Recep Aslantas
2020-11-21 18:20:04 +03:00
parent a5ff477fc8
commit 4ab9ab4772

View File

@@ -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