MSYS2-packages/msys2-unlocker/msys2_updater.qbs
Ray Donnelly 076aea4e02 msys2-unlocker: Load splash animation frames as gpBitmaps (WIP)
Includes a gimp script to convert all xcfs in "splash/" to jpgs and write out a
(windres) resource file (splash_frames.rc2) and header file (splash_frames.h)
2014-11-23 22:33:38 +00:00

32 lines
781 B
QML

import qbs
CppApplication {
type: "application" // To suppress bundle generation on Mac
consoleApplication: true
files: [
"main.c",
"splash/convert-all-xcf-to-jpg",
"resource.rc",
"resource.h",
"splash_frames.h",
"splash_frames.rc2",
]
cpp.cppFlags: ["-std=c99"]
Properties {
condition: qbs.buildVariant == "debug"
cpp.defines: ["_DEBUG", "__USE_MINGW_ANSI_STDIO=1"]
}
Properties {
condition: qbs.buildVariant == "release"
cpp.defines: ["NDEBUG", "__USE_MINGW_ANSI_STDIO=1"]
}
cpp.staticLibraries: ["psapi", "gdiplus", "ole32"]
Group { // Properties for the produced executable
fileTagsFilter: product.type
qbs.install: true
}
}