doxygen support

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@418 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-19 14:36:23 +00:00
parent 1ffc68af4c
commit 1175f7886b
4 changed files with 36 additions and 0 deletions

23
Doxyfile Normal file
View File

@@ -0,0 +1,23 @@
# $Id$
PROJECT_LOGO = "resource/logo64.png"
PROJECT_NAME = Milsko
PROJECT_BRIEF "Lightweight and fast GUI toolkit"
OUTPUT_DIRECTORY = doxygen
TAB_SIZE = 8
OPTIMIZE_OUTPUT_FOR_C = YES
MARKDOWN_SUPPORT = YES
FILE_PATTERNS = *.h
INPUT = include/Mw
RECURSIVE = YES
HTML_DYNAMIC_MENUS = YES
GENERATE_TREEVIEW = YES
FULL_SIDEBAR = NO
DISABLE_INDEX = NO
HAVE_DOT = YES
FULL_PATH_NAMES = YES
STRIP_FROM_PATH = include/
ENABLED_SECTIONS = YES
OUTPUT_LANGUAGE = English
FILTER_PATTERNS = *.h=tools/doxyfilter.pl
GENERATE_LATEX = NO
EXTRACT_ALL = YES

BIN
resource/logo64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

12
tools/doxyfilter.pl Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env perl
# $Id$
open(IN, "<", $ARGV[0]);
while(my $l = <IN>){
$l =~ s/\r?\n$//g;
$l =~ s/%([^ ]+)/@\1/g;
if(!($l =~ /\@prop /)){
print("$l\n");
}
}
close(IN);

View File

@@ -3,3 +3,4 @@
povray +W256 +H256 +Ologo.png resource/logo.pov povray +W256 +H256 +Ologo.png resource/logo.pov
povray +W200 +H40 +Obanner.png resource/banner.pov povray +W200 +H40 +Obanner.png resource/banner.pov
mv logo.png banner.png resource/ mv logo.png banner.png resource/
convert resource/logo.png -scale x64 resource/logo64.png