libcamera v0.0.0+3240-f2a18172-dirty (2021-12-20T12:34:02+00: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
12namespace libcamera::utils {
13
14std::string libcameraBuildPath();
15std::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