libcamera  v0.3.1+12-19bbca3c
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  * Identify libcamera source and build paths
6  */
7 
8 #pragma once
9 
10 #include <string>
11 
12 namespace libcamera::utils {
13 
14 std::string libcameraBuildPath();
15 std::string libcameraSourcePath();
16 
17 } /* namespace libcamera::utils */
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
Definition: utils.h:36