remove cmocka from submodules and update docs

This commit is contained in:
Recep Aslantas
2019-09-12 07:10:37 +03:00
parent 981fd5ee44
commit 712cbee580
6 changed files with 7 additions and 18 deletions

3
.gitmodules vendored
View File

@@ -1,3 +0,0 @@
[submodule "test/lib/cmocka"]
path = test/lib/cmocka
url = git://git.cryptomilk.org/projects/cmocka.git

View File

@@ -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";
@@ -49,7 +48,7 @@ script:
after_success:
- if [[ "$CC" == "gcc" && "$CODE_COVERAGE" == "ON" ]]; then
pip install --user cpp-coveralls &&
pip install --user cpp-coveralls &&
coveralls
--build-root .
--exclude lib
@@ -58,5 +57,5 @@ after_success:
--verbose;
fi
after_failure:
- cat ./test-suite.log
# after_failure:
# - cat ./test-suite.log

View File

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

View File

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

View File

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