libcamera v0.1.0+127-8e215127-dirty (2023-12-02T01:06:12+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
8#pragma once
9
10#include <string>
11
12namespace libcamera::utils {
13
14std::string libcameraBuildPath();
15std::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