2021-10-29 15:17:40 +02:00
|
|
|
import qbs
|
2022-01-09 17:26:42 +01:00
|
|
|
import qbs.FileInfo
|
2021-12-13 12:04:18 +01:00
|
|
|
import qbs.Probes
|
2021-10-29 15:17:40 +02:00
|
|
|
|
|
|
|
Project {
|
|
|
|
name: "Pdf4Qt"
|
|
|
|
qbsSearchPaths: ["qbs"]
|
2022-01-09 17:26:42 +01:00
|
|
|
property string conanLibDirectory: FileInfo.joinPaths(conan.generatedFilesPath, "lib")
|
2021-12-13 12:04:18 +01:00
|
|
|
|
|
|
|
Probes.ConanfileProbe {
|
|
|
|
id: conan
|
|
|
|
conanfilePath: project.sourceDirectory + "/conanfile.txt"
|
|
|
|
generators: "qbs"
|
|
|
|
}
|
|
|
|
|
|
|
|
references: {
|
|
|
|
var ref = ["Pdf4QtLib/Pdf4QtLib.qbs",
|
|
|
|
"Pdf4QtViewer/Pdf4QtViewer.qbs",
|
|
|
|
"Pdf4QtViewerPlugins/AudioBookPlugin/AudioBookPlugin.qbs",
|
|
|
|
"Pdf4QtViewerPlugins/DimensionsPlugin/DimensionsPlugin.qbs",
|
|
|
|
"Pdf4QtViewerPlugins/OutputPreviewPlugin/OutputPreviewPlugin.qbs",
|
|
|
|
"Pdf4QtViewerPlugins/RedactPlugin/RedactPlugin.qbs",
|
|
|
|
"Pdf4QtViewerPlugins/SoftProofingPlugin/SoftProofingPlugin.qbs",
|
2022-01-09 17:26:42 +01:00
|
|
|
];
|
2021-12-13 12:04:18 +01:00
|
|
|
ref.push(conan.generatedFilesPath + "/conanbuildinfo.qbs");
|
|
|
|
return ref;
|
|
|
|
}
|
2022-01-09 17:26:42 +01:00
|
|
|
SubProject {
|
|
|
|
filePath: "Pdf4QtViewerProfi/Pdf4QtViewerProfi.qbs"
|
|
|
|
}
|
|
|
|
SubProject {
|
|
|
|
filePath: "CodeGenerator/CodeGenerator.qbs"
|
|
|
|
}
|
|
|
|
SubProject {
|
|
|
|
filePath: "JBIG2_Viewer/JBIG2_Viewer.qbs"
|
|
|
|
}
|
|
|
|
SubProject {
|
|
|
|
filePath: "Pdf4QtDocPageOrganizer/Pdf4QtDocPageOrganizer.qbs"
|
|
|
|
}
|
|
|
|
SubProject {
|
|
|
|
filePath: "Pdf4QtViewerLite/Pdf4QtViewerLite.qbs"
|
|
|
|
}
|
|
|
|
SubProject {
|
|
|
|
filePath: "Pdf4QtDocDiff/Pdf4QtDocDiff.qbs"
|
|
|
|
}
|
|
|
|
SubProject {
|
|
|
|
filePath: "PdfExampleGenerator/PdfExampleGenerator.qbs"
|
|
|
|
}
|
|
|
|
SubProject {
|
|
|
|
filePath: "PdfTool/PdfTool.qbs"
|
|
|
|
}
|
|
|
|
SubProject {
|
|
|
|
filePath: "UnitTests/UnitTests.qbs"
|
|
|
|
}
|
2021-10-29 15:17:40 +02:00
|
|
|
}
|