mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 06:30:52 +00:00
17e30cb85d257b0f0bb858304f1c04460f7eb25e
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@535 b9cfdab3-6d41-4d17-bbe4-086880011989
Greetings - Welcome to the Milsko GUI Toolkit (Version pre-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 seven directories:
src - Contains the source for Milsko library
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
Building Milsko depends on the platform you use, and the compiler you use.
A. Visual C++
-------------
1) Run `nmake -f NTMakefile'.
B. Borland C++
--------------
1) Run `make -f BorMakefile'.
C. Open Watcom
--------------
1) Run `wmake -f WatMakefile'.
D. MinGW-w64/GCC/Clang
----------------------
1) Determine if you need Vulkan and/or OpenGL.
2) Run `make'.
Makefile settings
This section exists for people who chose D.
TARGET - Target environment, chosen by Makefile in
default settings.
GCC - Prefix for GCC toolchains. This does not
matter if you set CC manually.
CC - C compiler.
DEBUG - Debug build or not, 0 in default settings.
VULKAN - Build Vulkan widget or not.
OPENGL - Build OpenGL widget or not.
USE_STB_IMAGE - Use stb_image or not.
USE_STB_TRUETYPE - Use stb_truetype or not.
USE_FREETYPE2 - Use FreeType2 or not.
PREFIX - Installation destination directory.
Makefile targets
This section exists for people who chose D.
lib - Builds Milsko library
examples - Builds examples
all - Builds lib and examples
install - Installs Milsko to PREFIX
-- Nishi (nishi@nishi.boats)
Description
Languages
C
89%
DIGITAL Command Language
4.3%
Perl
3.8%
Raku
0.8%
CMake
0.8%
Other
1.3%