Version 4.2.0.1, tag libreoffice-4.2.0.1
[LibreOffice.git] / solenv / gcc-wrappers / g++.cxx
blobd2ee3d555e0a0f1ae57759b2183a53c253b6c4af
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #include "wrapper.hxx"
12 int main(int argc, char *argv[]) {
13 vector<string> rawargs(argv + 1, argv + argc);
15 string command=getexe("REAL_CXX");
17 string args=processccargs(rawargs);
19 setupccenv();
21 return startprocess(command,args);
25 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */