mirror of
https://github.com/BlackMATov/vmath.hpp.git
synced 2025-12-15 04:35:25 +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:
|
[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
|
```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:
|
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)
|
find_package(PythonInterp REQUIRED)
|
||||||
|
|
||||||
set(VMATH_ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/..")
|
set(VMATH_ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/..")
|
||||||
set(VMATH_SINGLES_INPUT "${VMATH_ROOT_DIR}/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.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")
|
file(GLOB_RECURSE VMATH_SINGLES_DEPENDS "${VMATH_ROOT_DIR}/headers/*.hpp")
|
||||||
|
|
||||||
add_custom_command(OUTPUT "${VMATH_SINGLES_OUTPUT}"
|
add_custom_command(OUTPUT "${VMATH_SINGLES_OUTPUT}"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Copyright (C) 2020-2022, by Matvey Cherevko (blackmatov@gmail.com)
|
* 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>
|
#include <doctest/doctest.h>
|
||||||
|
|
||||||
#define STATIC_CHECK(...)\
|
#define STATIC_CHECK(...)\
|
||||||
|
|||||||
Reference in New Issue
Block a user