mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 14:16:09 -06:00
33 lines
490 B
Text
33 lines
490 B
Text
template "Basic CtrlLib application" main;
|
|
|
|
option "Create header" header;
|
|
option "Multithreaded" mt;
|
|
|
|
@@<:PACKAGE:>.h
|
|
??header
|
|
#ifndef _<:PACKAGE:>_<:PACKAGE:>_h
|
|
#define _<:PACKAGE:>_<:PACKAGE:>_h
|
|
|
|
#include <CtrlLib/CtrlLib.h>
|
|
|
|
using namespace Upp;
|
|
|
|
#endif
|
|
|
|
@@main.cpp
|
|
#include <:?header:>"<:PACKAGE:>.h"<:/:><CtrlLib/CtrlLib.h><:.:>
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
}
|
|
|
|
@@<:PACKAGE:>.upp
|
|
uses
|
|
CtrlLib;
|
|
|
|
file
|
|
<:?header:>"<:PACKAGE:>.h",<:.:>
|
|
"main.cpp";
|
|
|
|
mainconfig
|
|
"" = <:?mt:>"GUI MT"<:/:>"GUI"<:.:>;
|