mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-01-29 20:34:20 +00:00
In commit c71e3abbad (cmake --build: Factor out a struct holding build parameters, 2025-12-02) we used `filesystem::path` to store the path to the build directory. It performs encoding conversions that violate our internal UTF-8 encoding. Issue: #27472
22 lines
504 B
C++
22 lines
504 B
C++
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
file LICENSE.rst or https://cmake.org/licensing for details. */
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "cmDuration.h"
|
|
|
|
class cmBuildArgs
|
|
{
|
|
public:
|
|
static constexpr int NO_BUILD_PARALLEL_LEVEL = -1;
|
|
static constexpr int DEFAULT_BUILD_PARALLEL_LEVEL = 0;
|
|
|
|
std::string projectName;
|
|
std::string binaryDir;
|
|
int jobs = NO_BUILD_PARALLEL_LEVEL;
|
|
bool verbose = false;
|
|
std::string config;
|
|
cmDuration timeout;
|
|
};
|