# 主项目配置文件 TEMPLATE = subdirs # 定义子项目(按编译顺序排列) SUBDIRS = \ Slfio \ BaseFun \ HPluginManage \ CallPlugin \ qtpropertybrowser \ WFCrystal \ WFEngine \ WFWidget \ OSGDataModel \ DataMgr \ OSGFramework \ WellLogModule \ WellLogUI \ ModuleConsole \ appDllTest \ ConvertorManager \ DataOutput \ SLFAscIIConvertor \ DrawBase \ EditPlotHeader \ logPlus # 指定编译顺序依赖关系 Slfio.file = Slfio/src/Slfio.pro BaseFun.file = BaseFun/src/BaseFun.pro HPluginManage.file = HPluginManage/HPluginManage.pro CallPlugin.file = CallPlugin/CallPlugin.pro qtpropertybrowser.file = qtpropertybrowser/qtpropertybrowser.pro WFCrystal.file = Workflow/WFCrystal/WFCrystal.pro WFEngine.file = Workflow/WFEngine/WFEngine.pro WFWidget.file = Workflow/WFWidget/src/WFWidget.pro OSGDataModel.file = OSGDataModel/src/OSGDataModel.pro DataMgr.file = DataMgr/src/DataMgr.pro OSGFramework.file = OSGFramework/src/OSGFramework.pro WellLogModule.file = WellLogModule/src/WellLogModule.pro WellLogUI.file = WellLogUI/src/WellLogUI.pro ModuleConsole.file = ModuleConsole/src/ModuleConsole.pro appDllTest.file = appDllTest/src/appDllTest.pro ConvertorManager.file = ConvertorManager/src/ConvertorManager.pro DataOutput.file = DataOutput/src/DataOutput.pro SLFAscIIConvertor.file = tran/SLFAscIIConvertor/src/SLFAsciiConvertor.pro DrawBase.file = DrawBase/src/DrawBase.pro EditPlotHeader.file = EditPlotHeader/src/EditPlotHeader.pro logPlus.file = logPlus/logPlus.pro # 设置依赖关系(确保按顺序编译) BaseFun.depends = Slfio CallPlugin.depends = HPluginManage WFCrystal.depends = Slfio WFEngine.depends = WFCrystal WFWidget.depends = WFCrystal OSGDataModel.depends = Slfio WFCrystal DataMgr.depends = Slfio BaseFun OSGFramework.depends = Slfio BaseFun OSGDataModel DataMgr WellLogModule.depends = Slfio BaseFun OSGDataModel DataMgr WFEngine WellLogUI.depends = Slfio BaseFun OSGDataModel DataMgr ModuleConsole.depends = Slfio BaseFun OSGDataModel DataMgr OSGFramework WellLogUI WellLogModule WFCrystal WFEngine WFWidget appDllTest.depends = Slfio ConvertorManager.depends = Slfio BaseFun OSGDataModel WellLogUI DataOutput.depends = Slfio BaseFun ConvertorManager SLFAscIIConvertor.depends = Slfio BaseFun OSGDataModel WellLogUI ConvertorManager DrawBase.depends = Slfio EditPlotHeader.depends = Slfio OSGDataModel logPlus.depends = Slfio BaseFun WellLogUI qtpropertybrowser ConvertorManager OSGDataModel DataOutput HPluginManage CallPlugin DataMgr DrawBase ModuleConsole WFEngine EditPlotHeader # 可选:指定构建目录 # DESTDIR = $$PWD/bin # 可选:添加编译配置 # CONFIG += ordered # 可选:设置默认编译目标 # default.all: release