Add a README.
This commit is contained in:
parent
b7c42a5fc5
commit
eaed085fdb
|
@ -1,4 +1,8 @@
|
|||
if (DEFINED ENV{CMAKE_GCOV})
|
||||
cmake_minimum_required(VERSION 3.15)
|
||||
else()
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
endif()
|
||||
cmake_policy(SET CMP0048 NEW)
|
||||
|
||||
|
||||
|
@ -12,7 +16,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|||
# functions might be used.
|
||||
add_compile_options(-Werror -Wno-unused-function -Wall -g -O0)
|
||||
|
||||
if(DEFINED ENV{CMAKE_GCOV})
|
||||
if (DEFINED ENV{CMAKE_GCOV})
|
||||
add_compile_options(-fprofile-arcs -ftest-coverage)
|
||||
# Need CMake 3.15+.
|
||||
add_link_options(-fprofile-arcs -ftest-coverage)
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
wrmath
|
||||
======
|
||||
|
||||
The WNTRMUTE ROBOTICS maths library is a C++11 library containing various
|
||||
useful maths components for robotics and navigation.
|
||||
|
||||
Dependencies
|
||||
------------
|
||||
|
||||
This project uses Google Test as a dependency::
|
||||
|
||||
$ git submodule update --init --recursive
|
||||
|
||||
Additionally, building this requires
|
||||
|
||||
+ a C++11 compiler
|
||||
+ CMake (minimum 3.15 to support code coverage, otherwise 3.10).
|
||||
+ Doxygen
|
||||
|
||||
|
||||
Building
|
||||
--------
|
||||
|
||||
.. code::
|
||||
|
||||
mkdir build
|
||||
cmake ..
|
||||
make check
|
Loading…
Reference in New Issue