template "Basic CtrlLib application" main; option "Create header" header; option "Multithreaded" mt; @@<:PACKAGE:>.h ??header #ifndef _<:PACKAGE:>_<:PACKAGE:>_h #define _<:PACKAGE:>_<:PACKAGE:>_h #include using namespace Upp; #endif @@main.cpp #include <:?header:>"<:PACKAGE:>.h"<:/:><:.:> GUI_APP_MAIN { } @@<:PACKAGE:>.upp uses CtrlLib; file <:?header:>"<:PACKAGE:>.h",<:.:> "main.cpp"; mainconfig "" = <:?mt:>"GUI MT"<:/:>"GUI"<:.:>;