KiCad PCB EDA Suite
Loading...
Searching...
No Matches
jobs_output.cpp
Go to the documentation of this file.
1
/*
2
* This program source code file is part of KiCad, a free EDA CAD application.
3
*
4
* Copyright The KiCad Developers, see AUTHORS.txt for contributors.
5
*
6
* This program is free software: you can redistribute it and/or modify it
7
* under the terms of the GNU General Public License as published by the
8
* Free Software Foundation, either version 3 of the License, or (at your
9
* option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program. If not, see <https://www.gnu.org/licenses/>.
18
*/
19
20
#include <
jobs/jobs_output.h
>
21
#include <
common.h
>
22
23
24
wxString
JOBS_OUTPUT_HANDLER::ResolveOutputPath
(
const
wxString& aPath,
const
PROJECT
* aProject )
25
{
26
// Jobsets authored on Windows must still resolve on other platforms
27
wxString
path
= aPath;
28
path
.Replace( wxT(
"\\"
), wxT(
"/"
) );
29
30
return
ResolveProjectPath
(
path
, aProject );
31
}
JOBS_OUTPUT_HANDLER::ResolveOutputPath
static wxString ResolveOutputPath(const wxString &aPath, const PROJECT *aProject)
Expand variables and a leading '~' in a destination path, then anchor a relative result at the projec...
Definition
jobs_output.cpp:24
PROJECT
Container for project specific data.
Definition
project.h:63
ResolveProjectPath
wxString ResolveProjectPath(const wxString &aPath, const PROJECT *aProject, const std::function< bool(wxString *)> *aTextResolver)
Expand a user-entered file path as ExpandPathVariables() does, then anchor a relative result at the p...
Definition
common.cpp:817
common.h
jobs_output.h
path
std::string path
Definition
test_kibis.cpp:99
src
common
jobs
jobs_output.cpp
Generated on Sun Oct 25 2026 00:05:45 for KiCad PCB EDA Suite by
1.13.2