From c8c0039854057f36ad0e82591fab11eb3d22e490 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Sun, 26 Dec 2021 15:07:18 +0800 Subject: [PATCH] simplify pro file --- RedPandaIDE/RedPandaIDE.pro | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/RedPandaIDE/RedPandaIDE.pro b/RedPandaIDE/RedPandaIDE.pro index bb281c3f..ae5aaf17 100644 --- a/RedPandaIDE/RedPandaIDE.pro +++ b/RedPandaIDE/RedPandaIDE.pro @@ -306,26 +306,30 @@ FORMS += \ widgets/searchdialog.ui \ widgets/signalmessagedialog.ui -win32: FORMS += \ +win32: { + FORMS += \ settingsdialog/projectversioninfowidget.ui \ settingsdialog/environmentfileassociationwidget.ui - -win32: HEADERS += \ + + HEADERS += \ settingsdialog/projectversioninfowidget.h \ settingsdialog/environmentfileassociationwidget.h -win32: SOURCES += \ + SOURCES += \ settingsdialog/environmentfileassociationwidget.cpp \ settingsdialog/projectversioninfowidget.cpp +} -linux: HEADERS += \ +unix { + HEADERS += \ settingsdialog/environmentprogramswidget.h -linux: SOURCES += \ - settingsdialog/environmentprogramswidget.cpp + SOURCES += \ + settingsdialog/environmentprogramswidget.cpp -linux: FORMS += \ + FORMS += \ settingsdialog/environmentprogramswidget.ui +} TRANSLATIONS += \ RedPandaIDE_zh_CN.ts