git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@313 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-13 15:07:19 +00:00
parent e84d1a62b0
commit 668377f865
2 changed files with 130 additions and 1 deletions

View File

@@ -1 +1,45 @@
Todo
Greetings - Welcome to the Milsko GUI Toolkit (Version 1.0)
This document contains a brief summary of the contents of this source
distributions and building instructions for Milsko GUI Toolkit.
Requirements
Milsko requires the Windows environment with GDI (so anything NT or 9x) or
the Unix-like environment with X11 for runtime.
To build Milsko for Windows, you must have one of following compilers:
* Visual C++ 6.0 or newer
* Borland C++ 5.5 or newer
* Open Watcom 2.0 or newer
* MinGW-w64
and for Unix-like:
* GNU C Compiler
* Clang
Contents
At the top level of this hierarchy there are directories:
src - Contains the source for Milsko library
oosrc - Contains the source for Milsko OO binding
include - Contains the headers for Milsko
doc - Contains the documentation for Milsko
external - Contains the external dependency that Milsko uses
resource - Contains the resources used by maintainers
tools - Contains the tools used by maintainers
Building Milsko
-- Nishi (nishi@nishi.boats)

85
tools/readme.pl Executable file
View File

@@ -0,0 +1,85 @@
#!/usr/bin/env perl
# $Id$
our $WIDTH = 80;
sub l {
my $len = 0;
my $last = 0;
my @msg = split(/ /, $_[0]);
foreach my $m (@msg){
$len += 1 + length($m);
$last = 0;
if($len > $WIDTH){
print(OUT "\n");
$len = 0;
$last = 1;
}
print(OUT "$m ");
}
if(!$last){
print(OUT "\n");
}
}
sub c {
my ($msg) = @_;
my $len = length($msg);
if($_[1]){
$len = $_[1];
}
print(OUT (" " x (($WIDTH - $len) / 2)) . "$msg\n");
}
open(OUT, ">", "README.txt");
l("");
l("Greetings - Welcome to the Milsko GUI Toolkit (Version 1.0)");
l("");
l(" This document contains a brief summary of the contents of this source distributions and building instructions for Milsko GUI Toolkit.");
l("");
c("Requirements");
l("");
l(" Milsko requires the Windows environment with GDI (so anything NT or 9x) or the Unix-like environment with X11 for runtime.");
l("");
l(" To build Milsko for Windows, you must have one of following compilers:");
l(" * Visual C++ 6.0 or newer");
l(" * Borland C++ 5.5 or newer");
l(" * Open Watcom 2.0 or newer");
l(" * MinGW-w64");
l("");
l(" and for Unix-like:");
l(" * GNU C Compiler");
l(" * Clang");
l("");
l("");
c("Contents");
l("");
c(" At the top level of this hierarchy there are seven directories:", 60);
l("");
c(" src - Contains the source for Milsko library", 60);
l("");
c(" oosrc - Contains the source for Milsko OO binding", 60);
l("");
c(" include - Contains the headers for Milsko", 60);
l("");
c(" doc - Contains the documentation for Milsko", 60);
l("");
c(" external - Contains the external dependency that Milsko uses", 60);
l("");
c(" resource - Contains the resources used by maintainers", 60);
l("");
c(" tools - Contains the tools used by maintainers", 60);
l("");
l("");
c("Building Milsko");
l("");
l("TODO: Write here");
l("");
l(" -- Nishi (nishi\@nishi.boats)");
close(OUT);