libcamera  v0.0.0+3-3b6e2d50-dirty (2022-01-27T16:18:04+08:00)
Supporting cameras in Linux since 2019
source_paths.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 /*
3  * Copyright (C) 2021, Google Inc.
4  *
5  * source_paths.h - Identify libcamera source and build paths
6  */
7 #ifndef __LIBCAMERA_INTERNAL_SOURCE_PATHS_H__
8 #define __LIBCAMERA_INTERNAL_SOURCE_PATHS_H__
9 
10 #include <string>
11 
12 namespace libcamera::utils {
13 
14 std::string libcameraBuildPath();
15 std::string libcameraSourcePath();
16 
17 } /* namespace libcamera::utils */
18 
19 #endif /* __LIBCAMERA_INTERNAL_SOURCE_PATHS_H__ */
std::string libcameraSourcePath()
Retrieve the path to the source directory.
Definition: source_paths.cpp:114
std::string libcameraBuildPath()
Retrieve the path to the build directory.
Definition: source_paths.cpp:74