initial commit

This commit is contained in:
mikhail "synzr" 2025-12-25 01:37:49 +05:00
commit 9d20827c46
2469 changed files with 470994 additions and 0 deletions

27
qcm/debug.qcm Normal file
View file

@ -0,0 +1,27 @@
/*
-----BEGIN QCMOD-----
name: Debugging support
arg: enable-debug,Enable debugging support
-----END QCMOD-----
*/
//----------------------------------------------------------------------------
// qc_debug
//----------------------------------------------------------------------------
class qc_debug : public ConfObj
{
public:
qc_debug(Conf *c) : ConfObj(c) {}
QString name() const { return "debugging support"; }
QString shortname() const { return "debug"; }
QString checkString() const { return QString(); }
bool exec()
{
if (conf->getenv("QC_ENABLE_DEBUG").isEmpty())
conf->addExtra("CONFIG += release");
else
conf->addExtra("CONFIG += debug");
return true;
}
};