ultimatepp/uppsrc/Core/core.upt
cxl eb71266249 Core: Value now allows RawToValue for svo types
git-svn-id: svn://ultimatepp.org/upp/trunk@10911 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-03-07 10:35:32 +00:00

35 lines
598 B
Text

template "Core console project" main;
option "Create header" header;
option "Commandline loop" cmdline;
@@<:PACKAGE:>.h
??header
#ifndef _<:PACKAGE:>_<:PACKAGE:>_h
#define _<:PACKAGE:>_<:PACKAGE:>_h
#include <Core/Core.h>
using namespace Upp;
#endif
@@<:PACKAGE:>.cpp
#include <:?header:>"<:PACKAGE:>.h"<:/:><Core/Core.h>
using namespace Upp;<:.:>
CONSOLE_APP_MAIN
{<:?cmdline:>
const Vector<String>& cmdline = CommandLine();
for(int i = 0; i < cmdline.GetCount(); i++) {
}<:.:>
}
@@<:PACKAGE:>.upp
uses Core;
file<:?header:>
<:PACKAGE:>.h,<:.:>
<:PACKAGE:>.cpp;
mainconfig
"" = "";