algo-common.h
Go to the documentation of this file.
1 // License: Apache 2.0. See LICENSE file in root directory.
2 // Copyright(c) 2020 Intel Corporation. All Rights Reserved.
3 
4 #pragma once
5 
6 //#include <librealsense2/rs.hpp> // Include RealSense Cross Platform API
7 
8 #if ! defined( NO_CATCH_CONFIG_MAIN )
9 #define CATCH_CONFIG_MAIN
10 #endif
11 #include "../catch.h"
12 
13 #include <easylogging++.h>
14 #ifdef BUILD_SHARED_LIBS
15 // With static linkage, ELPP is initialized by librealsense, so doing it here will
16 // create errors. When we're using the shared .so/.dll, the two are separate and we have
17 // to initialize ours if we want to use the APIs!
19 #endif
20 
21 #if defined( __ALGO_EPSILON )
22 #define __EPSILON __ALGO_EPSILON
23 // #else leave default
24 #endif
25 #include "../approx.h"
26 
27 #include "../trace.h"
#define INITIALIZE_EASYLOGGINGPP


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:45:06