RedPanda-CPP/RedPandaIDE/projectoptions.cpp

60 lines
1.8 KiB
C++
Raw Normal View History

2021-12-26 23:18:28 +08:00
/*
* Copyright (C) 2020-2022 Roy Qu (royqh1979@gmail.com)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
2021-09-16 12:03:10 +08:00
#include "projectoptions.h"
#include "utils.h"
2021-09-16 12:03:10 +08:00
ProjectVersionInfo::ProjectVersionInfo()
{
major = 1;
minor = 0;
release = 0;
build = 0;
languageID = 0x0409; // US English
charsetID = 0x04E4; // Windows multilingual
companyName = "";
fileVersion = "";
2021-12-30 19:25:47 +08:00
fileDescription = "Developed using the Red Panda C++ IDE";
2021-09-16 12:03:10 +08:00
internalName = "";
legalCopyright = "";
legalTrademarks = "";
originalFilename = "";
productName = "";
productVersion = "";
autoIncBuildNr = false;
syncProduct = true;
}
ProjectOptions::ProjectOptions()
{
type = ProjectType::GUI;
2022-05-13 20:22:16 +08:00
version = 3;
isCpp = false;
2021-09-16 12:03:10 +08:00
logOutputEnabled = false;
useCustomMakefile = false;
usePrecompiledHeader = false;
overrideOutput = false;
includeVersionInfo = false;
supportXPThemes = false;
compilerSet = 0;
compilerSetType = CompilerSetType::DEBUG;
2021-09-16 12:03:10 +08:00
staticLink = true;
addCharset = true;
2022-02-08 00:24:08 +08:00
modelType = ProjectModelType::FileSystem;
classBrowserType = ProjectClassBrowserType::CurrentFile;
execEncoding = ENCODING_SYSTEM_DEFAULT;
2021-09-16 12:03:10 +08:00
}