libcamera: include/libcamera/internal/source_paths.h Source File

libcamera v0.0.3 Supporting cameras in Linux since 2019

Loading...
Searching...
No Matches
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
8#pragma once
9
10#include <string>
11
12namespace libcamera::utils {
13
14std::string libcameraBuildPath();
15std::string libcameraSourcePath();
16
17} /* namespace libcamera::utils */
libcamera::utils::libcameraSourcePath
std::string libcameraSourcePath()
Retrieve the path to the source directory.
Definition: source_paths.cpp:114
libcamera::utils::libcameraBuildPath
std::string libcameraBuildPath()
Retrieve the path to the build directory.
Definition: source_paths.cpp:74