cmake/Source/cmBuildArgs.h
Brad King 2c7443e7e4 cmake --build: Restore expected path encoding on Windows
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
2025-12-20 09:39:43 -05:00

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;
};