mirror of
https://github.com/recp/cglm.git
synced 2025-10-03 16:51:35 +00:00
remove cmocka from submodules and update docs
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -1,3 +0,0 @@
|
||||
[submodule "test/lib/cmocka"]
|
||||
path = test/lib/cmocka
|
||||
url = git://git.cryptomilk.org/projects/cmocka.git
|
||||
|
@@ -37,7 +37,6 @@ branches:
|
||||
- master
|
||||
|
||||
script:
|
||||
- sh ./build-deps.sh
|
||||
- sh ./autogen.sh
|
||||
- if [[ "$CC" == "gcc" && "$CODE_COVERAGE" == "ON" ]]; then
|
||||
./configure CFLAGS="-ftest-coverage -fprofile-arcs";
|
||||
@@ -58,5 +57,5 @@ after_success:
|
||||
--verbose;
|
||||
fi
|
||||
|
||||
after_failure:
|
||||
- cat ./test-suite.log
|
||||
# after_failure:
|
||||
# - cat ./test-suite.log
|
||||
|
@@ -1,11 +1,11 @@
|
||||
# CONTRIBUTING
|
||||
|
||||
Any contributions (code, documentation, ...) are welcome. This project uses [cmocka](http://cmocka.org) for testing, you may need to check their documentation
|
||||
Any contributions (code, documentation, ...) are welcome.
|
||||
|
||||
# New Features
|
||||
- This library may not accept all new features, it is better to create an issue and get approval before coding
|
||||
- You must add test for every new feature
|
||||
- The feature must be compiled in both UNIX/POSIX systems (e.g. macos, linux...) and Windows
|
||||
- The feature must be compiled on both UNIX/POSIX systems (e.g. macos, linux...) and Windows
|
||||
|
||||
# Code Style
|
||||
This library is written with C99, don't try to add C++ files (yes it can compiled into lib),
|
||||
|
@@ -138,7 +138,7 @@ $ sh autogen.sh
|
||||
$ ./configure
|
||||
$ make
|
||||
$ make check # [Optional]
|
||||
$ [sudo] make install
|
||||
$ [sudo] make install # [Optional]
|
||||
```
|
||||
|
||||
This will also install pkg-config files so you can use
|
||||
|
@@ -1,10 +1,7 @@
|
||||
Build cglm
|
||||
================================
|
||||
|
||||
| **cglm** does not have external dependencies except for unit testing. When you pulled **cglm** repo with submodules all dependencies will be pulled too. `build-deps.sh` will pull all dependencies/submodules and build for you.
|
||||
|
||||
External dependencies:
|
||||
* cmocka - for unit testing
|
||||
| **cglm** does not have any external dependencies.
|
||||
|
||||
**NOTE:**
|
||||
If you only need to inline versions, you don't need to build **cglm**, you don't need to link it to your program.
|
||||
@@ -16,8 +13,6 @@ Unix (Autotools):
|
||||
.. code-block:: bash
|
||||
:linenos:
|
||||
|
||||
$ sh ./build-deps.sh # run this only once (dependencies)
|
||||
|
||||
$ sh autogen.sh
|
||||
$ ./configure
|
||||
$ make
|
||||
@@ -65,4 +60,3 @@ Example build:
|
||||
|
||||
$ cd cglm/docs
|
||||
$ sphinx-build source build
|
||||
|
||||
|
Submodule test/lib/cmocka deleted from 5f61d2f188
Reference in New Issue
Block a user