Workaround for dirty build folders.

My disgust just turned into barely contained rage :<
This commit is contained in:
Petr Mrázek 2014-04-06 03:59:37 +02:00
parent f9169654c5
commit 482ad250a4
11 changed files with 12 additions and 12 deletions

View File

@ -1,4 +1,4 @@
#include "Config.h"
#include "BuildConfig.h"
Config BuildConfig;

View File

@ -204,7 +204,7 @@ IF(MultiMC_CODE_COVERAGE)
ENDIF(MultiMC_CODE_COVERAGE)
######## Configure header ########
configure_file("${PROJECT_SOURCE_DIR}/Config.cpp.in" "${PROJECT_BINARY_DIR}/Config.cpp")
configure_file("${PROJECT_SOURCE_DIR}/BuildConfig.cpp.in" "${PROJECT_BINARY_DIR}/BuildConfig.cpp")
######## Packaging/install paths setup ########
@ -279,8 +279,8 @@ SET(MULTIMC_SOURCES
MultiMC.h
MultiMC.cpp
MMCError.h
Config.h
${PROJECT_BINARY_DIR}/Config.cpp
BuildConfig.h
${PROJECT_BINARY_DIR}/BuildConfig.cpp
# Logging
logger/QsDebugOutput.cpp

View File

@ -1,5 +1,5 @@
#include "MultiMC.h"
#include "Config.h"
#include "BuildConfig.h"
#include <iostream>
#include <QDir>

View File

@ -17,7 +17,7 @@
* limitations under the License.
*/
#include "MultiMC.h"
#include "Config.h"
#include "BuildConfig.h"
#include "MainWindow.h"
#include "ui_MainWindow.h"

View File

@ -18,7 +18,7 @@
#include <QIcon>
#include "MultiMC.h"
#include "gui/Platform.h"
#include "Config.h"
#include "BuildConfig.h"
AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent), ui(new Ui::AboutDialog)
{

View File

@ -15,7 +15,7 @@
* limitations under the License.
*/
#include "MultiMC.h"
#include "Config.h"
#include "BuildConfig.h"
#include "MinecraftProcess.h"

View File

@ -16,7 +16,7 @@
#include "DownloadUpdateTask.h"
#include "MultiMC.h"
#include "Config.h"
#include "BuildConfig.h"
#include "logic/updater/UpdateChecker.h"
#include "logic/net/NetJob.h"

View File

@ -5,7 +5,7 @@
#include <QJsonArray>
#include "MultiMC.h"
#include "Config.h"
#include "BuildConfig.h"
#include "logic/net/CacheDownload.h"
NotificationChecker::NotificationChecker(QObject *parent)

View File

@ -16,7 +16,7 @@
#include "UpdateChecker.h"
#include "MultiMC.h"
#include "Config.h"
#include "BuildConfig.h"
#include "logger/QsLog.h"

View File

@ -4,7 +4,7 @@
#include "depends/settings/settingsobject.h"
#include "depends/settings/setting.h"
#include "Config.h"
#include "BuildConfig.h"
#include "TestUtil.h"
#include "logic/updater/UpdateChecker.h"