mirror of
https://github.com/BlackMATov/vmath.hpp.git
synced 2025-12-13 04:06:52 +07:00
rename main header to vmath_all.hpp
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
[vmath.hpp][vmath] is a header-only library. All you need to do is copy the headers files from `headers` directory into your project and include them:
|
||||
|
||||
```cpp
|
||||
#include "vmath.hpp/vmath.hpp"
|
||||
#include "vmath.hpp/vmath_all.hpp"
|
||||
```
|
||||
|
||||
Also, you can add the root repository directory to your [cmake](https://cmake.org) project:
|
||||
|
||||
@@ -7,8 +7,8 @@ project(vmath.hpp.singles)
|
||||
find_package(PythonInterp REQUIRED)
|
||||
|
||||
set(VMATH_ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/..")
|
||||
set(VMATH_SINGLES_INPUT "${VMATH_ROOT_DIR}/headers/vmath.hpp/vmath.hpp")
|
||||
set(VMATH_SINGLES_OUTPUT "${VMATH_ROOT_DIR}/singles/headers/vmath.hpp/vmath.hpp")
|
||||
set(VMATH_SINGLES_INPUT "${VMATH_ROOT_DIR}/headers/vmath.hpp/vmath_all.hpp")
|
||||
set(VMATH_SINGLES_OUTPUT "${VMATH_ROOT_DIR}/singles/headers/vmath.hpp/vmath_all.hpp")
|
||||
file(GLOB_RECURSE VMATH_SINGLES_DEPENDS "${VMATH_ROOT_DIR}/headers/*.hpp")
|
||||
|
||||
add_custom_command(OUTPUT "${VMATH_SINGLES_OUTPUT}"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Copyright (C) 2020-2022, by Matvey Cherevko (blackmatov@gmail.com)
|
||||
******************************************************************************/
|
||||
|
||||
#include <vmath.hpp/vmath.hpp>
|
||||
#include <vmath.hpp/vmath_all.hpp>
|
||||
#include <doctest/doctest.h>
|
||||
|
||||
#define STATIC_CHECK(...)\
|
||||
|
||||
Reference in New Issue
Block a user