diff --git a/.gitignore b/.gitignore index 61a66690..4abed329 100644 --- a/.gitignore +++ b/.gitignore @@ -1,150 +1,3 @@ -# Autotools cruft -*.o -*.lo -*.a -*.la -*.exe -*.so -*.elf -*.self -*.nexe -*.userprefs -*.usertasks -*.pidb -.auto -.libs -.deps -.dirstamp -.*.androiddir -.*.androidstamp -Makefile -Makefile.in -aclocal.m4 -build/autotools/m4/libtool.m4 -build/autotools/m4/ltoptions.m4 -build/autotools/m4/ltsugar.m4 -build/autotools/m4/ltversion.m4 -build/autotools/m4/lt~obsolete.m4 -autom4te.cache -config.h.in -config.h -config.log -config.status -configure -libtool -stamp-* -*-stamp -lolengine-*.tar.* -test-suite.log -# Personal stuff -patch-*.diff -# Debugging cruft -core -!core/ -core.* -vgcore.* -callgrind.out.* -perf.data* -*.gcda -*.gcno # Editor cruft .*.swp *~ -.ycm_extra_conf.pyc -# Visual Studio cruft -.vs -*.vcxproj.user -*.csproj.user -binaries/*Debug -binaries/*Release -build/*.VC.VC.opendb -build/*.VC.db -build/*.sdf -build/*.suo -build/*.opensdf -build/visualstudio/ipch -build/visualstudio/*.log -build/visualstudio/*.XGD -# Emscripten cruft -a.out* -doc/samples/*.html -doc/samples/*.wasm -doc/samples/*.wasm.* -doc/samples/*.js -doc/samples/*/*.html -doc/samples/*/*.wasm -doc/samples/*/*.wasm.* -doc/samples/*/*.js -doc/tutorial/*.html -doc/tutorial/*.wasm -doc/tutorial/*.wasm.* -doc/tutorial/*.js -src/t/*.html -src/t/*.wasm -src/t/*.wasm.* -src/t/*.js -# ReSharper cruft -_ReSharper.* -# Do not exclude anything in external. There is no way to do this recursively -# but the nesting below is currently one level more than our current max. -!external/* -!external/*/* -!external/*/*/* -!external/*/*/*/* -!external/*/*/*/*/* -!external/*/*/*/*/*/* -!external/*/*/*/*/*/*/* -# Our private repositories -src/private -# Our binaries -demos/lol.js/lol.js -doc/samples/benchsuite -doc/samples/bluenoise -doc/samples/btphystest -doc/samples/sandbox/sample -doc/samples/math/pi -doc/samples/math/poly -doc/samples/simplex -doc/tutorial/01_triangle -doc/tutorial/02_cube -doc/tutorial/03_noise -doc/tutorial/04_texture -doc/tutorial/05_easymesh -doc/tutorial/06_sprite -doc/tutorial/07_input -doc/tutorial/08_fbo -doc/tutorial/09_sound -doc/tutorial/11_fractal -doc/tutorial/12_voronoi -doc/tutorial/13_shader_builder -doc/tutorial/14_lua -doc/tutorial/15_gui -doc/tutorial/16_movie -doc/tutorial/16_movie.gif -tools/make-font -# Our data -doc/doxygen.cfg -doc/doxygen.log -doc/html -doc/latex -doc/man -# Our test suites -build/check-*.log -build/check-*.trs -src/t/test-base -src/t/test-math -src/t/test-sys -src/t/test-image -src/t/test-entity -src/t/test-*.log -src/t/test-*.trs -# Our tools -tools/vslol/bin/*/* -tools/vslol/obj/*/* -tools/vslol/obj/*/*/* -tools/vslol/obj/*/*/* -tools/vslol/*.suo -# ImGui cruft -imgui.ini -# Built stuff -binaries/ diff --git a/.gitmodules b/.gitmodules index cfaadc49..82b1ecc9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,27 +1,8 @@ -[submodule "external"] - path = external - url = ../../lolengine/ext-binaries.git - branch = master -[submodule "imgui"] - path = src/3rdparty/imgui - url = ../../lolengine/ext-imgui.git - branch = master -[submodule "bullet3"] - path = src/3rdparty/bullet3 - url = ../../lolengine/ext-bullet3.git - branch = lol -[submodule "lua"] - path = src/3rdparty/lua - url = ../../lolengine/ext-lua.git - branch = lol [submodule "pegtl"] - path = src/3rdparty/pegtl + path = include/lol/3rdparty/pegtl url = ../../lolengine/ext-pegtl.git branch = lol [submodule "mingw-std-threads"] - path = src/3rdparty/mingw-std-threads + path = include/lol/3rdparty/mingw-std-threads url = ../../lolengine/ext-mingw-std-threads.git branch = master -[submodule "cpp-httplib"] - path = src/3rdparty/cpp-httplib - url = ../../lolengine/ext-cpp-httplib.git diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 3e2b0320..00000000 --- a/.travis.yml +++ /dev/null @@ -1,35 +0,0 @@ -sudo: required -dist: trusty -language: c++ -env: VERBOSE=1 - -addons: - apt: - packages: - - build-essential - - automake - - autoconf - - libtool - - pkg-config - - libsdl2-dev - - libsdl2-image-dev - - libsdl2-mixer-dev - - libglew-dev - # this can fix clang compilation - - clang-3.8 - - libc++-dev - -before_install: -# - .travis/before_install.sh - - if [ "$CC" = "clang" ]; then export CC="clang-3.8"; fi - - if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.8 -stdlib=libc++"; fi - - ./bootstrap - -os: - - linux -# - osx - -compiler: - - gcc - - clang - diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json deleted file mode 100644 index 972446b0..00000000 --- a/.vscode/c_cpp_properties.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "configurations": [ - { - "name": "Mac", - "includePath": ["/usr/include"], - "browse" : { - "limitSymbolsToIncludedHeaders" : true, - "databaseFilename" : "" - } - }, - { - "name": "Linux", - "includePath": ["/usr/include"], - "browse" : { - "limitSymbolsToIncludedHeaders" : true, - "databaseFilename" : "" - } - }, - { - "name": "Win32", - "includePath": ["c:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include", "src"], - "browse" : { - "limitSymbolsToIncludedHeaders" : true, - "databaseFilename" : "" - } - } - ] -} diff --git a/.ycm_extra_conf.py b/.ycm_extra_conf.py deleted file mode 100644 index 0952eeba..00000000 --- a/.ycm_extra_conf.py +++ /dev/null @@ -1,37 +0,0 @@ - -# The following line might come handy in ~/.vimrc: -# let g:ycm_extra_conf_globlist = ['~/lol/*','!~/*'] - -import os -import ycm_core - -flags = [ - '-xc++', - '-std=c++11', - # Engine includes - '-I.', - '-I..', - '-Isrc', - # System includes - '-I/usr/include/SDL2', - '-I/usr/include/GL', - '-I/usr/include/libdrm', - '-I/usr/include/libpng15', - # Macros - '-DHAVE_CONFIG_H', - '-D_REENTRANT', -] - -def FlagsForFile(filename, **kwargs): - - extension = os.path.splitext(filename)[1] - if extension not in [ '.c', '.cpp', '.h' ]: - return None - - final_flags = flags - - return { - 'flags': final_flags, - 'do_cache': True - } - diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index 5884b55b..00000000 --- a/Makefile.am +++ /dev/null @@ -1,16 +0,0 @@ - -include $(top_srcdir)/build/autotools/common.am - -# Put "people" at the end because they're more likely to break builds. -SUBDIRS = build src tools doc -DIST_SUBDIRS = $(SUBDIRS) binaries - -EXTRA_DIST += bootstrap COPYING TODO \ - .gitignore .gitattributes .gitmodules \ - .travis.yml lol.sln build.config -AUTOMAKE_OPTIONS = dist-bzip2 -ACLOCAL_AMFLAGS = -I build/autotools/m4 - -test: lolcheck -check: lolcheck - diff --git a/README.md b/README.md index 60f70e3d..9aabbf2c 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,4 @@ # About -A collection of scripts and C++ code to make games, demos and tools. - -## Notes - -### Nintendo Switch support - -That code is private, it needs to be activated manually: - -> `git clone https://github.com/samhocevar/lol-nx.git src/private/nx` - +The header-only part of the Lol Engine framework. diff --git a/TODO b/TODO deleted file mode 100644 index 0e12e985..00000000 --- a/TODO +++ /dev/null @@ -1,38 +0,0 @@ - - Large projects ----------------- - - - Scripting support. - - Lua is supported, check if CPP -> LUA ticking/updating is supported - - Lua needs more than one-shot-script - - Lua classes may still be a little bit obfuscated, a class renaming/revamping may be needed - - Tiler and Forge are almost the same, try to refactor them. - - Engine classes ----------------- - -Scene: - - Remove uses of g_scene - - Maybe make Camera a world object instead? - -Image: - - Handle pitch in SDL codec (and all others, actually) - - Fix the Floyd-Steinberg code in pixels.cpp - - Add gamma handling in pixels.cpp - - Port remaining libpipi files from src/image/todo/: - -Thread: - - Solidify "Threaded-update" objects support - - AsyncImageLoader: "File modified update" is supported by OS, it should use that instead of doing it by hand - - Thread usage may still be a little bit awkward - -Debug: - - Add history support. And layer-like sub-section ? (with imGUI support ?) - - ::DrawSetup* is fricking awkward, even I (Touky) get confused by it - -Shaders: - - Creation/Setup is still a bit complicated, should look into making it more readable (compatibility with lua ?) - -Frame Buffer Object: - - They were working at some point , check if it's still the case, but are still very awkward to use - \ No newline at end of file diff --git a/TODO.md b/TODO.md new file mode 100644 index 00000000..d34c5921 --- /dev/null +++ b/TODO.md @@ -0,0 +1,71 @@ + +## `lol` headers to keep + + src/lol/base/map.h (map utilities) + src/lol/base/types.h (vec_t shortcuts eg. vec2, ivec2, u8vec3 etc.) + src/lol/math/bigint.h + src/lol/math/constants.h + src/lol/math/functions.h + src/lol/math/half.h (needs half.cpp) + src/lol/math/matrix.h + src/lol/math/noise/* + src/lol/math/ops.h + src/lol/math/polynomial.h + src/lol/math/rand.h + src/lol/math/real.h (needs real.cpp) + src/lol/math/transform.h (needs matrix.cpp and transform.cpp) + src/lol/math/vector.h (needs vector.cpp) + src/lol/sys/thread.h + src/lol/sys/timer.h + + +## other headers to keep + + tools/lolunit/lolunit.h + +## headers we could clean up and keep + + src/lol/algorithm/aabb_tree.h + src/lol/base/assert.h (could be useful) + src/lol/base/avl_tree.h + src/lol/base/string.h (string utilities) + src/lol/image/color.h + src/lol/image/pixel.h (but is it useful?) + src/lol/math/arraynd.h (but do we really want to keep it?) + src/lol/math/geometry.h + src/lol/math/interp.h (but what is it?) + + src/numeric.h + + +## headers to keep in the engine + + src/lol/algorithm/portal.h + src/lol/audio/* + src/lol/base/features.h (a bit dangerous to ship) + src/lol/base/log.h + src/lol/debug/* + src/lol/engine.h + src/lol/engine/* + src/lol/engine-internal.h + src/lol/extras.h + src/lol/gpu/* + src/lol/image/image.h + src/lol/image/movie.h + src/lol/image/resource.h + src/lol/legacy.h + src/lol/lua.h + src/lol/net/http.h + src/lol/public.h + src/lol/sys/file.h + src/lol/sys/getopt.h + src/lol/sys/init.h + + +## headers to remove one day + + src/lol/algorithm/sort.h (there’s plenty of stuff in libc++) + src/lol/base/array.h (use std::vector) + src/lol/base/enum.h (can’t see the point) + src/lol/base/tuple.h (use std::tuple) + diff --git a/binaries/Makefile.am b/binaries/Makefile.am deleted file mode 100644 index aa65ad58..00000000 --- a/binaries/Makefile.am +++ /dev/null @@ -1,3 +0,0 @@ - -# Everything in this directory is temporary. - diff --git a/bootstrap b/bootstrap deleted file mode 100755 index 278d0fd9..00000000 --- a/bootstrap +++ /dev/null @@ -1,136 +0,0 @@ -#! /bin/sh - -# bootstrap: generic bootstrap/autogen.sh script for autotools projects -# -# Copyright (c) 2002-2010 Sam Hocevar -# -# This program is free software. It comes without any warranty, to -# the extent permitted by applicable law. You can redistribute it -# and/or modify it under the terms of the Do What The Fuck You Want -# To Public License, Version 2, as published by Sam Hocevar. See -# http://www.wtfpl.net/ for more details. -# -# The latest version of this script can be found at the following place: -# http://caca.zoy.org/wiki/build - -# Die if an error occurs -set -e - -# Guess whether we are using configure.ac or configure.in -if test -f configure.ac; then - conffile="configure.ac" -elif test -f configure.in; then - conffile="configure.in" -else - echo "$0: could not find configure.ac or configure.in" - exit 1 -fi - -# Check for needed features -auxdir="`sed -ne 's/^[ \t]*A._CONFIG_AUX_DIR *([[ ]*\([^] )]*\).*/\1/p' $conffile`" -pkgconfig="`grep '^[ \t]*PKG_PROG_PKG_CONFIG' $conffile >/dev/null 2>&1 && echo yes || echo no`" -libtool="`grep '^[ \t]*A._PROG_LIBTOOL' $conffile >/dev/null 2>&1 && echo yes || echo no`" -makefile="`[ -f Makefile.am ] && echo yes || echo no`" -aclocalflags="`sed -ne 's/^[ \t]*ACLOCAL_AMFLAGS[ \t]*=//p' Makefile.am 2>/dev/null || :`" - -# Check for automake -amvers="no" -for v in "" "-1.15" "-1.14" "-1.13" "-1.12" "-1.11"; do - if automake${v} --version > /dev/null 2>&1; then - amvers=${v} - break - fi -done - -if test "$amvers" = "no"; then - echo "$0: automake not found" - exit 1 -fi - -# Check for autoconf -acvers="no" -for v in "" "259" "253"; do - if autoconf${v} --version >/dev/null 2>&1; then - acvers="${v}" - break - fi -done - -if test "$acvers" = "no"; then - echo "$0: autoconf not found" - exit 1 -fi - -# Check for libtool -if test "$libtool" = "yes"; then - libtoolize="no" - if glibtoolize --version >/dev/null 2>&1; then - libtoolize="glibtoolize" - else - for v in "16" "15" "" "14"; do - if libtoolize${v} --version >/dev/null 2>&1; then - libtoolize="libtoolize${v}" - break - fi - done - fi - - if test "$libtoolize" = "no"; then - echo "$0: libtool not found" - exit 1 - fi -fi - -# Check for pkg-config -if test "$pkgconfig" = "yes"; then - if ! pkg-config --version >/dev/null 2>&1; then - echo "$0: pkg-config not found" - exit 1 - fi -fi - -# Remove old cruft -for x in aclocal.m4 configure config.guess config.log config.sub config.cache config.h.in config.h compile libtool.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 ltmain.sh libtool ltconfig missing mkinstalldirs depcomp install-sh; do rm -f $x autotools/$x; if test -n "$auxdir"; then rm -f "$auxdir/$x"; fi; done -rm -Rf autom4te.cache -if test -n "$auxdir"; then - if test ! -d "$auxdir"; then - mkdir "$auxdir" - fi - aclocalflags="-I $auxdir -I . ${aclocalflags}" -fi - -# Honour M4PATH because sometimes M4 doesn't -save_IFS=$IFS -IFS=: -tmp="$M4PATH" -for x in $tmp; do - if test -n "$x"; then - aclocalflags="-I $x ${aclocalflags}" - fi -done -IFS=$save_IFS - -# Explain what we are doing from now -set -x - -# Bootstrap package -if test "$libtool" = "yes"; then - ${libtoolize} --copy --force - if test -n "$auxdir" -a ! "$auxdir" = "." -a -f "ltmain.sh"; then - echo "$0: working around a minor libtool issue" - mv ltmain.sh "$auxdir/" - fi -fi - -aclocal${amvers} ${aclocalflags} -autoconf${acvers} -autoheader${acvers} -if test "$makefile" = "yes"; then - #add --include-deps if you want to bootstrap with any other compiler than gcc - #automake${amvers} --add-missing --copy --include-deps - automake${amvers} --foreign --add-missing --copy -fi - -# Remove cruft that we no longer want -rm -Rf autom4te.cache - diff --git a/build.config b/build.config deleted file mode 100644 index 09f85460..00000000 --- a/build.config +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - yes - yes - yes - yes - yes - - no - - - diff --git a/build/Makefile.am b/build/Makefile.am deleted file mode 100644 index fd9f021f..00000000 --- a/build/Makefile.am +++ /dev/null @@ -1,21 +0,0 @@ - -include $(top_srcdir)/build/autotools/common.am - -# FIXME: can't include "Lol (vs2015).sln" because of the spaces - -EXTRA_DIST += lol-build \ - check-source.sh run-bitten.sh \ - build-linux build-mingw build-mingw64 \ - build-android build-html \ - \ - msbuild/lolfx.targets \ - msbuild/lolfx.xml \ - msbuild/lolfx.props \ - msbuild/lol.config.props \ - msbuild/lol.vars.props \ - msbuild/lol.rules.props \ - \ - autotools/common.am - -TESTS = check-source.sh - diff --git a/build/android/AndroidManifest.xml b/build/android/AndroidManifest.xml deleted file mode 100644 index 52e8ba5e..00000000 --- a/build/android/AndroidManifest.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - diff --git a/build/android/LolActivity.java b/build/android/LolActivity.java deleted file mode 100644 index ddb8c606..00000000 --- a/build/android/LolActivity.java +++ /dev/null @@ -1,68 +0,0 @@ -// -// Lol Engine -// -// Copyright: (c) 2010-2013 Sam Hocevar -// This program is free software; you can redistribute it and/or -// modify it under the terms of the Do What The Fuck You Want To -// Public License, Version 2, as published by Sam Hocevar. See -// http://www.wtfpl.net/ for more details. -// - -package net.lolengine; - -import android.app.NativeActivity; /* NativeActivity */ -import android.os.Bundle; /* Bundle */ - -import android.content.res.AssetManager; /* getAssets() */ -import android.graphics.Bitmap; -import android.graphics.BitmapFactory; - -public class LolActivity extends NativeActivity -{ - static - { - /* Need to preload libstlport_shared.so somewhere; also need to - * preload lib@PROGRAM@.so otherwise nativeInit() can’t be found. */ - System.loadLibrary("stlport_shared"); - System.loadLibrary("@PROGRAM@"); - } - - @Override - protected void onCreate(Bundle saved_instance) - { - super.onCreate(saved_instance); - m_assets = getAssets(); - } - - private AssetManager m_assets; - - /* - * Bitmap loading helpers - */ - - public Bitmap openImage(String name) - { - try - { - return BitmapFactory.decodeStream(m_assets.open(name)); - } - catch (Exception e) { } - return null; - } - - public int getWidth(Bitmap bmp) { return bmp.getWidth(); } - public int getHeight(Bitmap bmp) { return bmp.getHeight(); } - - public void getPixels(Bitmap bmp, int[] pixels) - { - int w = bmp.getWidth(); - int h = bmp.getHeight(); - bmp.getPixels(pixels, 0, w, 0, 0, w, h); - } - - public void closeImage(Bitmap bmp) - { - bmp.recycle(); - } -} - diff --git a/build/android/icon.png b/build/android/icon.png deleted file mode 100644 index b04184c3..00000000 Binary files a/build/android/icon.png and /dev/null differ diff --git a/build/android/strings.xml b/build/android/strings.xml deleted file mode 100644 index 69e4c338..00000000 --- a/build/android/strings.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - @PROGRAM@ - diff --git a/build/autotools/common.am b/build/autotools/common.am deleted file mode 100644 index 9ecc1ab0..00000000 --- a/build/autotools/common.am +++ /dev/null @@ -1,124 +0,0 @@ -# -*- coding: utf-8 -*- -# vi:syntax=python - -# -# Define these variables from the beginning -# - -CLEANFILES = -SUFFIXES = -EXTRA_DIST = -NULL = - - -# -# Miscellaneous rules -# - -lol_recursive_rule = \ - @if test -n "$(SUBDIRS)"; then for subdir in $(SUBDIRS); do \ - if test "$$subdir" != "."; then \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $(patsubst %-recursive, %, $@)) || exit 1; \ - fi; done; fi - -bench: bench-recursive -bench-recursive: - $(lol_recursive_rule) - -lolcheck: lolcheck-recursive -lolcheck-recursive: - $(lol_recursive_rule) - -# -# Make tests verbose -# FIXME: this does not seem to work as documented -# - -AM_TESTS_FD_REDIRECT = 9>&2 - - -# -# .lolfx build rule -# - -lolfx_gen = $(lolfx_gen_$(V)) -lolfx_gen_ = $(lolfx_gen_$(AM_DEFAULT_VERBOSITY)) -lolfx_gen_0 = @echo " LOLFX " $@; - -SUFFIXES += .lolfx -.lolfx.o: - $(lolfx_gen) - $(AM_V_at)(echo "char const *"; \ - echo "lolfx_resource_$(basename $(filter %.lolfx, $^))" | $(SED) 's/[^a-zA-Z0-9_]/_/g'; \ - echo "="; \ - $(SED) 's/"/\\"/g' $(filter %.lolfx, $^) | $(SED) 's/\([^\r]*\).*/"\1\\n"/'; \ - echo ";") \ - > $@.lolfx.cpp && \ - $(CXXCOMPILE) -xc++ -c $@.lolfx.cpp -o $@ && \ - exit=0 || exit=1; rm -f $@.lolfx.cpp ; exit "$$exit" - -# Disable on the fly compilation because emscripten doesn't support it -# | $(CXXCOMPILE) -xc++ -c - -o $@ - - -# -# Win32 rules -# - -# This is here in case we forget to make clean after a Windows build -CLEANFILES += $(PROGRAMS:%$(EXEEXT)=%.exe) \ - $(noinst_PROGRAMS:%$(EXEEXT)=%.exe) - - -# -# Emscripten rules -# - -CLEANFILES += $(PROGRAMS:%$(EXEEXT)=%.data) \ - $(noinst_PROGRAMS:%$(EXEEXT)=%.data) - -# -# Android rules -# - -all-local: all-local-android -clean-local: clean-local-android - -if LOL_USE_ANDROID -all-local-android: $(foreach p, $(PROGRAMS:%$(EXEEXT)=%), .$(p).androidstamp) -.%.androidstamp: %$(EXEEXT) - $(eval p := $(^:%$(EXEEXT)=%)) - $(eval d := .$(p).androiddir) - rm -rf "$(d)" - $(MKDIR_P) "$(d)" $(sort $(foreach f, $($(p)_DATA), "$(d)/assets/$(dir $(f))")) - $(foreach f, $($(p)_DATA), $(LN_S) "$(abs_srcdir)/$(f)" "$(d)/assets/$(f)" &&) true - $(SED) -e 's,@PROGRAM@,$(subst -,_,$(p)),' "$(lol_srcdir)/build/android/AndroidManifest.xml" > "$(d)/AndroidManifest.xml" - $(MKDIR_P) "$(d)/src/net/lolengine" - $(SED) -e 's,@PROGRAM@,$(subst -,_,$(p)),' "$(lol_srcdir)/build/android/LolActivity.java" > "$(d)/src/net/lolengine/LolActivity.java" - $(MKDIR_P) "$(d)/res/values" - $(SED) -e 's,@PROGRAM@,$(subst -,_,$(p)),' "$(lol_srcdir)/build/android/strings.xml" > "$(d)/res/values/strings.xml" - $(MKDIR_P) "$(d)/res/drawable" - cp "$(lol_srcdir)/build/android/icon.png" "$(d)/res/drawable/" - $(MKDIR_P) "$(d)/libs/armeabi" - $(LN_S) "$(abs_builddir)/$(p)$(EXEEXT)" "$(d)/libs/armeabi/lib$(p).so" - android update project -t android-19 -n "$(p)" -p "$(d)" - ant debug -f "$(d)/build.xml" - touch $@ -else -all-local-android: -endif - -clean-local-android: - $(foreach p, $(PROGRAMS:%$(EXEEXT)=%), rm -rf ".$(p).androiddir";) - $(foreach p, $(PROGRAMS:%$(EXEEXT)=%), rm -f ".$(p).androidstamp";) - - -# -# Additional rules -# - -EXTRA_DIST += $(foreach p, $(PROGRAMS), $($(p)_DATA)) - - -.PHONY: bench lolcheck - diff --git a/build/autotools/m4/lol-conf.m4 b/build/autotools/m4/lol-conf.m4 deleted file mode 100644 index ce7729c0..00000000 --- a/build/autotools/m4/lol-conf.m4 +++ /dev/null @@ -1,287 +0,0 @@ -dnl -dnl Lol Engine -dnl -dnl Copyright © 2010—2020 Sam Hocevar -dnl -dnl Lol Engine is free software. It comes without any warranty, to -dnl the extent permitted by applicable law. You can redistribute it -dnl and/or modify it under the terms of the Do What the Fuck You Want -dnl to Public License, Version 2, as published by the WTFPL Task Force. -dnl See http://www.wtfpl.net/ for more details. -dnl - - -# LOL_AC_INIT() -# --------------------- -AC_DEFUN([LOL_AC_INIT], [ - -dnl Silent rules by default -AM_SILENT_RULES([yes]) - -dnl C++11 and later mode. Checked early so that we don't run into surprises. -version_flag='' -LOL_TRY_CXXFLAGS(-std=c++0x, [version_flag='-std=c++0x']) -LOL_TRY_CXXFLAGS(-std=c++11, [version_flag='-std=c++11']) -LOL_TRY_CXXFLAGS(-std=c++14, [version_flag='-std=c++14']) -LOL_TRY_CXXFLAGS(-std=c++17, [version_flag='-std=c++17']) -AM_CXXFLAGS="${AM_CXXFLAGS} ${version_flag}" -CXXFLAGS="${CXXFLAGS} ${version_flag}" - -AC_LANG_PUSH(C++) -AC_MSG_CHECKING(for C++11 enum class support) -AC_TRY_LINK([], [enum class Foo : int { Bar, Baz };], - [AC_MSG_RESULT(yes)], - [AC_MSG_RESULT(no) - AC_MSG_ERROR([[C++ compiler does not support C++11 enum classes]])]) -AC_LANG_POP(C++) - -]) # LOL_AC_INIT - - -# LOL_AC_CHECK() -# --------------------- -AC_DEFUN([LOL_AC_CHECK], [ - -dnl Check that the C++ compiler really works -AC_LANG_PUSH(C++) -AC_MSG_CHECKING(for a fully working C++ compiler) -AC_TRY_LINK([], [], - [AC_MSG_RESULT(yes)], - [AC_MSG_RESULT(no) - AC_MSG_ERROR([[C++ compiler cannot link executables]])]) -AC_LANG_POP(C++) - - -AC_C_CONST -AC_C_INLINE - -dnl -dnl Common libraries -dnl - -AC_CHECK_LIB(m, sin, LIBS="${LIBS} -lm") -AC_CHECK_LIB(pthread, main, LIBS="${LIBS} -lpthread") - - -dnl -dnl Activate some header-only libraries -dnl - -LOL_CFLAGS="$LOL_CFLAGS -I\$(lol_srcdir)/src/3rdparty/cpp-httplib" -LOL_CFLAGS="$LOL_CFLAGS -I\$(lol_srcdir)/src/3rdparty/pegtl/include" -LOL_CFLAGS="$LOL_CFLAGS -I\$(lol_srcdir)/src/3rdparty/imgui" - -dnl Use system-provided getopt_long? -ac_cv_have_getopt_long="no" -AC_CHECK_HEADERS(getopt.h unistd.h) -AC_CHECK_FUNCS(getopt_long, - [ac_cv_have_getopt_long="yes"], - [AC_CHECK_LIB(gnugetopt, getopt_long, - [ac_cv_have_getopt_long="yes" - LIBS="${LIBS} -lgnugetopt"])]) -if test "$ac_cv_have_getopt_long" != "no"; then - AC_DEFINE(HAVE_GETOPT_LONG, 1, Define to 1 if you have the ‘getopt_long’ function.) -fi - - -dnl Use OpenSSL? -ac_cv_have_openssl=no -AC_CHECK_LIB(ssl, OPENSSL_init_ssl, - [ac_cv_have_openssl=yes - AC_DEFINE(LOL_USE_OPENSSL, 1, Define to 1 to use OpenSSL) - LOL_LIBS="${LOL_LIBS} -lssl -lcrypto"]) -AM_CONDITIONAL(LOL_USE_OPENSSL, test "${ac_cv_have_openssl}" = "yes") - - -dnl Use Bullet Physics? -ac_cv_my_have_bullet="no" -if test "${enable_bullet}" != "no"; then - PKG_CHECK_MODULES(BULLET, bullet, [ac_cv_my_have_bullet="yes"], [:]) - if test "${ac_cv_my_have_bullet}" != "no"; then - AC_DEFINE(LOL_USE_BULLET, 1, Define to 1 to use Bullet Physics) - LOL_CFLAGS="${LOL_CFLAGS} ${BULLET_CFLAGS}" - LOL_LIBS="${LOL_LIBS} ${BULLET_LIBS}" - fi -fi -AM_CONDITIONAL(LOL_USE_BULLET, test "${ac_cv_my_have_bullet}" = "yes") - - -dnl Use Android? FIXME: super hacks! -ac_cv_my_have_android="no" -AC_CHECK_LIB(log, __android_log_vprint, - [ac_cv_my_have_android="yes" - LOL_LIBS="${LOL_LIBS} -llog -landroid -module -lEGL -lGLESv2"]) -AM_CONDITIONAL(LOL_USE_ANDROID, test "${ac_cv_my_have_android}" != "no") - - -dnl Use EGL? (autodetect unless GL is disabled) -ac_cv_my_have_egl="no" -if test "${enable_gl}" != "no"; then - PKG_CHECK_MODULES(EGL, egl, [ac_cv_my_have_egl="yes"], [:]) - if test "${ac_cv_my_have_egl}" != "no"; then - AC_DEFINE(LOL_USE_EGL, 1, Define to 1 to use libegl) - EGL_LIBS="${EGL_LIBS} -lX11" - fi - AC_CHECK_HEADERS(EGL/egl.h, - [AC_CHECK_LIB(EGL, eglInitialize, - [ac_cv_my_have_egl="yes" - AC_DEFINE(LOL_USE_EGL, 1, Define to 1 to use libegl) - EGL_LIBS="-lEGL"]) - dnl Raspberry Pi is different, check for it with extra libs; also we - dnl look for a different function to bypass autoconf caching - AC_CHECK_LIB(EGL, eglGetDisplay, - [ac_cv_my_have_egl="yes" - AC_DEFINE(LOL_USE_EGL, 1, Define to 1 to use libegl) - EGL_LIBS="-lEGL -lvcos -lvchiq_arm -lbcm_host -lGLESv2"], - [:], - [-lvcos -lvchiq_arm -lbcm_host -lGLESv2])]) -fi -AM_CONDITIONAL(LOL_USE_EGL, test "${ac_cv_my_have_egl}" != "no") - - -dnl Use libpng? (replacement for SDL_image) -ac_cv_my_have_libpng="no" -if test "${enable_png}" != "no"; then - PKG_CHECK_MODULES(LIBPNG, libpng, [ac_cv_my_have_libpng="yes"], [:]) - if test "${ac_cv_my_have_libpng}" != "no"; then - AC_DEFINE(LOL_USE_LIBPNG, 1, Define to 1 to use libpng) - fi -fi -AM_CONDITIONAL(LOL_USE_LIBPNG, test "${ac_cv_my_have_libpng}" != "no") - - -dnl Use Imlib2? -ac_cv_my_have_imlib2="no" -if test "${enable_imlib2}" != "no"; then - PKG_CHECK_MODULES(IMLIB2, imlib2, [ac_cv_my_have_imlib2="yes"], [:]) - if test "${ac_cv_my_have_imlib2}" != "no"; then - AC_DEFINE(LOL_USE_IMLIB2, 1, Define to 1 to use Imlib2) - LOL_CFLAGS="${LOL_CFLAGS} ${IMLIB2_CFLAGS}" - LOL_LIBS="${LOL_LIBS} ${IMLIB2_LIBS}" - fi -fi -AM_CONDITIONAL(LOL_USE_IMLIB2, test "${ac_cv_my_have_imlib2}" = "yes") - - -dnl Use Windows GDI+? -ac_cv_my_have_gdiplus="no" -AC_LANG_PUSH(C++) -AC_CHECK_HEADERS(gdiplus.h, - [ac_cv_my_have_gdiplus="yes" - LOL_LIBS="${LOL_LIBS} -lgdiplus"], - [ac_cv_my_have_gdiplus="no"], - [#include - using std::min; - using std::max; - #include ]) -AC_LANG_POP(C++) -if test "${ac_cv_my_have_gdiplus}" != "no"; then - AC_DEFINE(LOL_USE_GDIPLUS, 1, Define to 1 to use GDI+) -fi -AM_CONDITIONAL(LOL_USE_GDIPLUS, test "${ac_cv_my_have_gdiplus}" = "yes") - - -dnl Are we building using MinGW? -LOL_TRY_CXXFLAGS(-mwindows -mwin32, - [AM_CXXFLAGS="${AM_CXXFLAGS} -mwindows -mwin32" - LOL_CFLAGS="${LOL_CFLAGS} -I\$(lol_srcdir)/src/3rdparty/mingw-std-threads" - LOL_CFLAGS="${LOL_CFLAGS} -D__STDC_FORMAT_MACROS" - LOL_LIBS="${LOL_LIBS} -uWinMain -u_WinMain@16"]) - - -dnl Are we building using Emscripten? -ac_cv_my_have_emscripten="no" -AC_CHECK_HEADERS(emscripten.h, - [ac_cv_my_have_emscripten="yes" - AC_CHECK_HEADERS(emscripten/html5.h) - dnl XXX: activate this if memory heap is too small - #AM_CXXFLAGS="${AM_CXXFLAGS} -s ALLOW_MEMORY_GROWTH=1" - dnl See https://github.com/emscripten-core/emscripten/pull/7977 for more details - CPPFLAGS="${CPPFLAGS} -s DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR=1" - dnl HACK: until emcc properly adds these to EMSDK_OPTS - CPPFLAGS="${CPPFLAGS} -U__i386__ -U__x86_64__ -U__i386 -U__x86_64 -Ui386 -Ux86_64" - CPPFLAGS="${CPPFLAGS} -U__SSE__ -U__SSE2__ -U__MMX__ -UX87_DOUBLE_ROUNDING" - CPPFLAGS="${CPPFLAGS} -UHAVE_GCC_ASM_FOR_X87 -U__STRICT_ANSI__ -U__CYGWIN__"]) -AM_CONDITIONAL(LOL_USE_EMSCRIPTEN, test "${ac_cv_my_have_emscripten}" != "no") - - -dnl Are we on an OS X or iOS platform? -LOL_TRY_LDFLAGS(-framework Foundation, - [LOL_LIBS="${LOL_LIBS} -framework Foundation"]) -LOL_TRY_LDFLAGS(-framework CoreGraphics, - [LOL_LIBS="${LOL_LIBS} -framework CoreGraphics"]) -LOL_TRY_LDFLAGS(-framework CoreData, - [LOL_LIBS="${LOL_LIBS} -framework CoreData"]) -LOL_TRY_LDFLAGS(-framework UIKit, - [LOL_LIBS="${LOL_LIBS} -framework UIKit"]) - - -dnl Other complex checks -LOL_AC_CHECK_OPENGL() -LOL_AC_CHECK_SDL() -LOL_AC_CHECK_FFMPEG() - - -dnl Debug symbols -dnl We use --export-dynamic instead of -rdynamic because the latter causes -dnl emscripten to emit wasm even when html is asked… -LOL_TRY_LDFLAGS(--export-dynamic, [AM_LDFLAGS="${AM_LDFLAGS} --export-dynamic"]) - - -dnl Code qui fait des warnings == code de porc == deux baffes dans ta gueule -LOL_TRY_CXXFLAGS(-Wall, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wall"]) -LOL_TRY_CXXFLAGS(-Wextra, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wextra"]) -LOL_TRY_CXXFLAGS(-Wpointer-arith, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wpointer-arith"]) -LOL_TRY_CXXFLAGS(-Wcast-align, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wcast-align"]) -LOL_TRY_CXXFLAGS(-Wcast-qual, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wcast-qual"]) -LOL_TRY_CXXFLAGS(-Wshadow, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wshadow"]) -LOL_TRY_CXXFLAGS(-Wsign-compare, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wsign-compare"]) -LOL_TRY_CXXFLAGS(-Wstrict-overflow=1, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wstrict-overflow=1"]) - -dnl Add these even though they're implicitly set, so that we can safely -dnl remove them from within a Makefile. -LOL_TRY_CXXFLAGS(-Wuninitialized, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wuninitialized"]) -LOL_TRY_CXXFLAGS(-Wnarrowing, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wnarrowing"]) -LOL_TRY_CXXFLAGS(-Wunused, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wunused"]) -LOL_TRY_CXXFLAGS(-Wcast-align, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wcast-align"]) -LOL_TRY_CXXFLAGS(-Wunused-parameter, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wunused-parameter"]) -LOL_TRY_CXXFLAGS(-Wstrict-aliasing, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wstrict-aliasing"]) -LOL_TRY_CXXFLAGS(-Wparentheses, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wparentheses"]) -LOL_TRY_CXXFLAGS(-Wreorder, [AM_CXXFLAGS="${AM_CXXFLAGS} -Wreorder"]) - -dnl Disable these warnings because they're annoyingly verbose -LOL_TRY_CXXFLAGS(-Wno-psabi, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wno-psabi"]) - -]) # LOL_AC_CHECK - - -# LOL_AC_FINI() -# --------------------- -AC_DEFUN([LOL_AC_FINI], [ - -dnl How to use the Lol Engine outside this tree -LOL_CFLAGS="$LOL_CFLAGS $SDL_CFLAGS $GL_CFLAGS $EGL_CFLAGS $LIBPNG_CFLAGS" -LOL_LIBS="$LOL_LIBS $SDL_LIBS $GL_LIBS $EGL_LIBS $LIBPNG_LIBS $D3D_LIBS" -LOL_DEPS="${LOL_DEPS} \$(lol_builddir)/src/liblol-core.a" -LOL_LUA_DEPS="${LOL_LUA_DEPS} \$(lol_builddir)/src/3rdparty/liblol-lua.a" - -dnl How to use the Lol Engine inside this tree -AM_CPPFLAGS="${AM_CPPFLAGS} -I\$(lol_srcdir)/src" -AM_CPPFLAGS="${AM_CPPFLAGS} -DLOL_CONFIG_SOURCESUBDIR=\\\"\$(subdir)\\\"" -AM_CPPFLAGS="${AM_CPPFLAGS} ${LOL_CFLAGS}" -AM_LDFLAGS="${AM_LDFLAGS} ${LOL_DEPS}" -AM_LDFLAGS="${AM_LDFLAGS} ${LOL_LIBS}" - -dnl Extra flags -AC_SUBST(LOL_CFLAGS) -AC_SUBST(LOL_LIBS) -AC_SUBST(LOL_DEPS) -AC_SUBST(LOL_LUA_DEPS) - -AC_SUBST(AM_CFLAGS) -AC_SUBST(AM_CPPFLAGS) -AC_SUBST(AM_CXXFLAGS) -AC_SUBST(AM_LDFLAGS) - -]) # LOL_AC_FINI - diff --git a/build/autotools/m4/lol-ffmpeg.m4 b/build/autotools/m4/lol-ffmpeg.m4 deleted file mode 100644 index 79771811..00000000 --- a/build/autotools/m4/lol-ffmpeg.m4 +++ /dev/null @@ -1,63 +0,0 @@ -dnl -dnl Lol Engine -dnl -dnl Copyright © 2010—2017 Sam Hocevar -dnl -dnl Lol Engine is free software. It comes without any warranty, to -dnl the extent permitted by applicable law. You can redistribute it -dnl and/or modify it under the terms of the Do What the Fuck You Want -dnl to Public License, Version 2, as published by the WTFPL Task Force. -dnl See http://www.wtfpl.net/ for more details. -dnl - - -# LOL_AC_CHECK_FFMPEG() -# --------------------- -AC_DEFUN([LOL_AC_CHECK_FFMPEG], -[ -ac_cv_my_have_ffmpeg="no" -if test "${enable_ffmpeg}" != "no"; then - LOL_AC_CHECK_FFMPEG_INNER() -fi -AM_CONDITIONAL(LOL_USE_FFMPEG, test "${ac_cv_my_have_ffmpeg}" != "no") -]) - -# LOL_AC_CHECK_FFMPEG_INNER() -# --------------------------- -AC_DEFUN([LOL_AC_CHECK_FFMPEG_INNER], -[ -ac_cv_my_have_ffmpeg="yes" -PKG_CHECK_MODULES([LIBAVCODEC], [libavcodec], [:], [ac_cv_my_have_ffmpeg=no]) -PKG_CHECK_MODULES([LIBAVUTIL], [libavutil], [:], [ac_cv_my_have_ffmpeg=no]) -PKG_CHECK_MODULES([LIBAVFORMAT], [libavformat], [:], [ac_cv_my_have_ffmpeg=no]) -PKG_CHECK_MODULES([LIBSWSCALE], [libswscale], [:], [ac_cv_my_have_ffmpeg=no]) -LOL_FFMPEG_EXTRA_LIBS="" -if test "${ac_cv_my_have_ffmpeg}" != "yes"; then - ac_cv_my_have_ffmpeg="yes" - AC_CHECK_HEADERS(libavcodec/avcodec.h, [:], [ac_cv_my_have_ffmpeg=no]) - AC_CHECK_HEADERS(libavformat/avformat.h, [:], [ac_cv_my_have_ffmpeg=no]) - AC_CHECK_HEADERS(libswscale/swscale.h, [:], [ac_cv_my_have_ffmpeg=no]) - if test "${ac_cv_my_have_ffmpeg}" = "yes"; then - LIBAVCODEC_LIBS="-lavcodec" - LIBAVUTIL_LIBS="-lavutil" - LIBAVFORMAT_LIBS="-lavformat" - LIBSWSCALE_LIBS="-lswscale" - LIBSWRESAMPLE_LIBS="-lswresample" - dnl Required by avformat/network.c - AC_CHECK_LIB(ws2_32, main, LOL_FFMPEG_EXTRA_LIBS="${LOL_FFMPEG_EXTRA_LIBS} -lws2_32") - dnl Required by avformat/tls_schannel.c - AC_CHECK_LIB(secur32, main, LOL_FFMPEG_EXTRA_LIBS="${LOL_FFMPEG_EXTRA_LIBS} -lsecur32") - dnl Required by avutil/random_seed.c - AC_CHECK_LIB(bcrypt, main, LOL_FFMPEG_EXTRA_LIBS="${LOL_FFMPEG_EXTRA_LIBS} -lbcrypt") - dnl Required by avcodec/dxva2.c - AC_CHECK_LIB(ole32, main, LOL_FFMPEG_EXTRA_LIBS="${LOL_FFMPEG_EXTRA_LIBS} -lole32") - fi -fi -if test "${ac_cv_my_have_ffmpeg}" = "yes"; then - AC_DEFINE(LOL_USE_FFMPEG, 1, Define to 1 to use FFmpeg) - LOL_CFLAGS="${LOL_CFLAGS} ${LIBAVFORMAT_CFLAGS} ${LIBAVUTIL_CFLAGS} ${LIBAVCODEC_CFLAGS} ${LIBSWSCALE_CFLAGS}" - LOL_LIBS="${LOL_LIBS} ${LIBAVFORMAT_LIBS} ${LIBAVCODEC_LIBS} ${LIBAVUTIL_LIBS} ${LIBSWSCALE_LIBS} ${LIBSWRESAMPLE_LIBS} ${LOL_FFMPEG_EXTRA_LIBS}" -fi - -]) # LOL_AC_CHECK_FFMPEG_INNER - diff --git a/build/autotools/m4/lol-gl.m4 b/build/autotools/m4/lol-gl.m4 deleted file mode 100644 index 50286988..00000000 --- a/build/autotools/m4/lol-gl.m4 +++ /dev/null @@ -1,156 +0,0 @@ -dnl -dnl Lol Engine -dnl -dnl Copyright © 2010—2017 Sam Hocevar -dnl -dnl Lol Engine is free software. It comes without any warranty, to -dnl the extent permitted by applicable law. You can redistribute it -dnl and/or modify it under the terms of the Do What the Fuck You Want -dnl to Public License, Version 2, as published by the WTFPL Task Force. -dnl See http://www.wtfpl.net/ for more details. -dnl - - -# LOL_AC_CHECK_OPENGL() -# --------------------- -AC_DEFUN([LOL_AC_CHECK_OPENGL], -[ -ac_cv_my_have_gl="no" -ac_cv_my_have_glew="no" -if test "${enable_gl}" != "no"; then - LOL_AC_CHECK_OPENGL_INNER() -fi -AM_CONDITIONAL(LOL_USE_GL, test "${ac_cv_my_have_gl}" != "no") -AM_CONDITIONAL(LOL_USE_GLEW, test "${ac_cv_my_have_glew}" != "no") -]) - -# LOL_AC_CHECK_OPENGL_INNER() -# --------------------------- -AC_DEFUN([LOL_AC_CHECK_OPENGL_INNER], -[ -dnl Find which version of OpenGL to use -ac_cv_my_have_gl="no" -ac_cv_my_stop_looking_for_gl="no" - -if test "x${ac_cv_my_stop_looking_for_gl}" = "xno"; then - LIBS_save="$LIBS" - LIBS="$LIBS -Wl,-framework -Wl,OpenGL" - AC_MSG_CHECKING(for -framework OpenGL) - AC_TRY_LINK([], [], - [AC_MSG_RESULT(yes) - ac_cv_my_have_gl="yes" - GL_LIBS="${GL_LIBS} -framework OpenGL" - LOL_TRY_CXXFLAGS(-ObjC++, [CXXFLAGS="${CXXFLAGS} -ObjC++"]) - AC_DEFINE(HAVE_GL_2X, 1, Define to 1 if GL 2.x is available)], - [AC_MSG_RESULT(no)]) - LIBS="$LIBS_save" -fi - -if test "x${ac_cv_my_stop_looking_for_gl}" = "xno"; then - LIBS_save="$LIBS" - LIBS="$LIBS -Wl,-framework -Wl,OpenGLES" - AC_MSG_CHECKING(for -framework OpenGLES) - AC_TRY_LINK([], [], - [AC_MSG_RESULT(yes) - ac_cv_my_have_gl="yes" - GL_LIBS="${GL_LIBS} -framework OpenGLES" - LOL_TRY_CXXFLAGS(-ObjC++, [CXXFLAGS="${CXXFLAGS} -ObjC++"]) - AC_DEFINE(HAVE_GLES_2X, 1, Define to 1 if GLES 2.x is available)], - [AC_MSG_RESULT(no)]) - LIBS="$LIBS_save" -fi - -dnl Use the Raspberry Pi libraries? -if test "x${ac_cv_my_stop_looking_for_gl}" = "xno"; then - AC_CHECK_HEADERS(bcm_host.h, - [AC_CHECK_LIB(vcos, main, - [ac_cv_my_have_gl="yes" - ac_cv_my_stop_looking_for_gl="yes" - AC_DEFINE(HAVE_GLES_2X, 1, Define to 1 if GLES 2.x is available) - dnl FIXME: -lEGL does not belong here but the configure test fails - dnl when cross-compiling, so we add it manually here. - GL_LIBS="${GL_LIBS} -lGLESv2 -lEGL -lvcos -lvchiq_arm -lbcm_host"])]) -fi - -if test "x${ac_cv_my_stop_looking_for_gl}" = "xno"; then - PKG_CHECK_MODULES(GLES2, glesv2, - [ac_cv_my_have_gl="yes" - AC_DEFINE(HAVE_GLES_2X, 1, Define to 1 if GLES 2.x is available) - GL_CFLAGS="${GL_CFLAGS} ${GLES2_CFLAGS}" - GL_LIBS="${GL_LIBS} ${GLES2_LIBS}"], - [:]) -fi - -if test "x${ac_cv_my_stop_looking_for_gl}" = "xno"; then - AC_CHECK_HEADER(GLES2/gl2.h, - [ac_cv_my_have_gl="yes" - AC_DEFINE(HAVE_GLES_2X, 1, Define to 1 if GLES 2.x is available) - AC_CHECK_LIB(GLESv2, glEnable, - [GL_LIBS="${GL_LIBS} -lGLESv2"])]) -fi - -if test "x${ac_cv_my_stop_looking_for_gl}" = "xno"; then - PKG_CHECK_MODULES(GL, gl, - [ac_cv_my_have_gl="yes" - AC_DEFINE(HAVE_GL_2X, 1, Define to 1 if GL 2.x is available)], - [:]) -fi - -if test "x${ac_cv_my_stop_looking_for_gl}" = "xno"; then - AC_CHECK_LIB(GL, glEnable, - [ac_cv_my_have_gl="yes" - AC_DEFINE(HAVE_GL_2X, 1, Define to 1 if GL 2.x is available) # FIXME: hackish - GL_LIBS="-lGL"]) -fi - -if test "x${ac_cv_my_stop_looking_for_gl}" = "xno"; then - AC_CHECK_HEADER(GL/gl.h, - [LIBS_save="$LIBS" - LIBS="$LIBS -lopengl32" - AC_MSG_CHECKING(for glLoadIdentity in -lopengl32) - AC_TRY_LINK([#include ], - [glLoadIdentity();], - [ac_cv_my_have_gl="yes" - AC_DEFINE(HAVE_GL_2X, 1, Define to 1 if GL 2.x is available) # FIXME: hack - AC_MSG_RESULT(yes) - GL_LIBS="-lopengl32"], - [AC_MSG_RESULT(no)]) - LIBS="$LIBS_save"]) -fi - -dnl Use Glew? -PKG_CHECK_MODULES(GLEW, glew, - [ac_cv_my_have_glew="yes" - GL_CFLAGS="${GLEW_CFLAGS} ${GL_CFLAGS}" - GL_LIBS="${GLEW_LIBS} ${GL_LIBS}"], - [:]) -AC_CHECK_HEADER(GL/glew.h, - [LIBS_save="${LIBS}" - LIBS="${LIBS} -lglew32s ${GL_LIBS}" - AC_MSG_CHECKING(for glewInit in -lglew32s) - AC_TRY_LINK( - [#include ], - [glewInit();], - [ac_cv_my_have_glew="yes" - GL_LIBS="-lglew32s ${GL_LIBS}" - AC_MSG_RESULT(yes)], - [AC_MSG_RESULT(no)]) - LIBS="${LIBS_save}"]) -if test "${ac_cv_my_have_glew}" != "no"; then - AC_DEFINE(HAVE_GLES_2X, 1, Define to 1 if GLES 2.x is available) - AC_DEFINE(LOL_USE_GLEW, 1, Define to 1 to use libglew) -fi - -dnl Poor man's GL feature detection if all else failed. -save_LIBS="${LIBS}" -LIBS="${LIBS} ${GL_LIBS} ${GLES2_LIBS}" -AC_CHECK_FUNCS(glBegin) -LIBS="${save_LIBS}" - -dnl Warn if we couldn't find an OpenGL-like API -if test "${ac_cv_my_have_gl}" = "no"; then - AC_MSG_WARN([[No OpenGL or OpenGL ES implementation found]]) -fi - -]) # LOL_AC_CHECK_OPENGL_INNER - diff --git a/build/autotools/m4/lol-misc.m4 b/build/autotools/m4/lol-misc.m4 deleted file mode 100644 index 4c89bad6..00000000 --- a/build/autotools/m4/lol-misc.m4 +++ /dev/null @@ -1,59 +0,0 @@ -dnl -dnl Lol Engine -dnl -dnl Copyright © 2010—2016 Sam Hocevar -dnl -dnl Lol Engine is free software. It comes without any warranty, to -dnl the extent permitted by applicable law. You can redistribute it -dnl and/or modify it under the terms of the Do What the Fuck You Want -dnl to Public License, Version 2, as published by the WTFPL Task Force. -dnl See http://www.wtfpl.net/ for more details. -dnl - - -dnl LOL_TRY_CFLAGS (CFLAGS, [ACTION-IF-WORKS], [ACTION-IF-FAILS]) -dnl check if $CC supports a given set of cflags -AC_DEFUN([LOL_TRY_CFLAGS], - [AC_MSG_CHECKING([if $CC supports $1 flags]) - save_CFLAGS="$CFLAGS" - CFLAGS="$1 -Werror" - AC_TRY_COMPILE([],[],[ac_cv_try_cflags_ok=yes],[ac_cv_try_cflags_ok=no]) - CFLAGS="$save_CFLAGS" - AC_MSG_RESULT([$ac_cv_try_cflags_ok]) - if test x"$ac_cv_try_cflags_ok" = x"yes"; then - ifelse([$2],[],[:],[$2]) - else - ifelse([$3],[],[:],[$3]) - fi]) - -dnl LOL_TRY_CXXFLAGS (CXXFLAGS, [ACTION-IF-WORKS], [ACTION-IF-FAILS]) -dnl check if $CXX supports a given set of cxxflags -AC_DEFUN([LOL_TRY_CXXFLAGS], - [AC_MSG_CHECKING([if $CXX supports $1 flags]) - AC_LANG_PUSH(C++) - save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$1 -Werror" - AC_TRY_COMPILE([],[],[ac_cv_try_cxxflags_ok=yes],[ac_cv_try_cxxflags_ok=no]) - CXXFLAGS="$save_CXXFLAGS" - AC_MSG_RESULT([$ac_cv_try_cxxflags_ok]) - if test x"$ac_cv_try_cxxflags_ok" = x"yes"; then - ifelse([$2],[],[:],[$2]) - else - ifelse([$3],[],[:],[$3]) - fi - AC_LANG_POP(C++)]) - -dnl LOL_TRY_LDFLAGS (LDFLAGS, [ACTION-IF-WORKS], [ACTION-IF-FAILS]) -dnl check if $CC supports a given set of ldflags -AC_DEFUN([LOL_TRY_LDFLAGS], - [AC_MSG_CHECKING([if $CC supports $1 flags]) - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$1 -Werror" - AC_TRY_LINK([],[],[ac_cv_try_ldflags_ok=yes],[ac_cv_try_ldflags_ok=no]) - LDFLAGS="$save_LDFLAGS" - AC_MSG_RESULT([$ac_cv_try_ldflags_ok]) - if test x"$ac_cv_try_ldflags_ok" = x"yes"; then - ifelse([$2],[],[:],[$2]) - else - ifelse([$3],[],[:],[$3]) - fi]) diff --git a/build/autotools/m4/lol-sdl.m4 b/build/autotools/m4/lol-sdl.m4 deleted file mode 100644 index 840ef564..00000000 --- a/build/autotools/m4/lol-sdl.m4 +++ /dev/null @@ -1,126 +0,0 @@ -dnl -dnl Lol Engine -dnl -dnl Copyright © 2010—2017 Sam Hocevar -dnl -dnl Lol Engine is free software. It comes without any warranty, to -dnl the extent permitted by applicable law. You can redistribute it -dnl and/or modify it under the terms of the Do What the Fuck You Want -dnl to Public License, Version 2, as published by the WTFPL Task Force. -dnl See http://www.wtfpl.net/ for more details. -dnl - - -# LOL_AC_CHECK_SDL() -# ------------------ -AC_DEFUN([LOL_AC_CHECK_SDL], -[ -ac_cv_my_have_sdl="no" -ac_cv_my_have_sdl_image="no" -ac_cv_my_have_sdl_mixer="no" -if test "${enable_sdl}" != "no"; then - LOL_AC_CHECK_SDL_INNER() -fi -AM_CONDITIONAL(LOL_USE_SDL, test "${ac_cv_my_have_sdl}" != "no") -AM_CONDITIONAL(LOL_USE_SDL_MIXER, test "${ac_cv_my_have_sdl_mixer}" != "no") -AM_CONDITIONAL(LOL_USE_SDL_IMAGE, test "${ac_cv_my_have_sdl_image}" != "no") -]) - -# LOL_AC_CHECK_SDL_INNER() -# ------------------------ -AC_DEFUN([LOL_AC_CHECK_SDL_INNER], -[ -dnl Find which version of SDL to use (always required on Linux or Win32) -dnl -dnl Defined C/C++ macros: -dnl LOL_USE_SDL -- whether SDL v2 was found -dnl LOL_USE_SDL_IMAGE -- whether SDL_image was found -dnl LOL_USE_SDL_MIXER -- whether SDL_mixer was found -dnl HAVE_SDL_H -- whether to include -dnl HAVE_SDL2_SDL_H -- whether to include -dnl Generated automake conditionals: -dnl LOL_USE_SDL -- whether SDL v2 was found -dnl LOL_USE_SDL_IMAGE -- whether SDL_image was found -dnl LOL_USE_SDL_MIXER -- whether SDL_mixer was found -dnl Generated shell variables: -dnl SDL_CFLAGS -- flags for SDL compilation -dnl SDL_LIBS -- flags for SDL linking - - -dnl First, try the proper pkg-config check for SDL2 - -if test "x${ac_cv_my_have_sdl}" = xno; then - PKG_CHECK_MODULES(SDL2, sdl2, - [ac_cv_my_have_sdl="yes" - PKG_CHECK_MODULES(SDL2MIXER, SDL2_mixer, - [ac_cv_my_have_sdl_mixer="yes" - AC_DEFINE(HAVE_SDL_MIXER_H, 1, Define to 1 to use SDL_mixer.h)], - [:]) - PKG_CHECK_MODULES(SDL2IMAGE, SDL2_image, - [ac_cv_my_have_sdl_image="yes" - AC_DEFINE(HAVE_SDL_IMAGE_H, 1, Define to 1 to use SDL_image.h)], - [:]) - SDL_CFLAGS="${SDL2_CFLAGS} ${SDL2MIXER_CFLAGS} ${SDL2IMAGE_CFLAGS}" - SDL_LIBS="${SDL2_LIBS} ${SDL2MIXER_LIBS} ${SDL2IMAGE_LIBS}" - AC_DEFINE(HAVE_SDL_H, 1, Define to 1 to use SDL.h)], - [:]) -fi - - -dnl Maybe all this has failed, try direct inclusion instead - -if test "x${ac_cv_my_have_sdl}" = xno; then - save_CPPFLAGS="${CPPFLAGS}" - save_LIBS="${LIBS}" - CPPFLAGS="${CPPFLAGS} ${SDL_CFLAGS}" - LIBS="${LIBS} ${SDL_LIBS}" - AC_CHECK_HEADERS(SDL.h SDL2/SDL.h, - [ac_cv_my_have_sdl="yes"]) - if test "x${ac_cv_my_have_sdl}" != xno; then - AC_CHECK_HEADERS(SDL_mixer.h SDL2/SDL_mixer.h, - [ac_cv_my_have_sdl_mixer="yes"]) - AC_CHECK_HEADERS(SDL_image.h SDL2/SDL_image.h, - [ac_cv_my_have_sdl_image="yes"]) - AC_CHECK_LIB(SDL2, main, - [SDL_LIBS="${SDL_LIBS} -lSDL2"], - [ac_cv_my_have_sdl="no"]) - AC_CHECK_LIB(SDL2main, main, - [SDL_LIBS="${SDL_LIBS} -lSDL2main -lSDL2"]) - AC_CHECK_LIB(SDL2_mixer, main, - [SDLMIXER_LIBS="${SDLMIXER_LIBS} -lSDL2_mixer"], - [ac_cv_my_have_sdl_mixer="no"]) - AC_CHECK_LIB(SDL2_image, main, - [SDLIMAGE_LIBS="${SDLIMAGE_LIBS} -lSDL2_image"], - [AC_CHECK_LIB(SDL2_image_bmp-jpg-png, main, - [SDLIMAGE_LIBS="${SDLIMAGE_LIBS} -lSDL2_image_bmp-jpg-png"], - [ac_cv_my_have_sdl_image="no"])]) - SDL_CFLAGS="${SDL_CFLAGS} ${SDLMIXER_CFLAGS} ${SDLIMAGE_CFLAGS}" - SDL_LIBS="${SDL_LIBS} ${SDLMIXER_LIBS} ${SDLIMAGE_LIBS}" - fi - CPPFLAGS="${save_CPPFLAGS}" - LIBS="${save_LIBS}" -fi - - -dnl Convert all this into conditionals - -if test "x${ac_cv_my_have_sdl}" = xno; then - AC_MSG_WARN([SDL v2 not found]) -else - AC_DEFINE(LOL_USE_SDL, 1, Define to 1 to use SDL) -fi - -if test "x${ac_cv_my_have_sdl_mixer}" = xno; then - AC_MSG_WARN([SDL_mixer not found]) -else - AC_DEFINE(LOL_USE_SDL_MIXER, 1, Define to 1 to use SDL_mixer) -fi - -if test "x${ac_cv_my_have_sdl_image}" = xno; then - AC_MSG_WARN([SDL_image not found]) -else - AC_DEFINE(LOL_USE_SDL_IMAGE, 1, Define to 1 to use SDL_image) -fi - -]) # LOL_AC_CHECK_SDL_INNER - diff --git a/build/autotools/m4/lol-subproject.m4 b/build/autotools/m4/lol-subproject.m4 deleted file mode 100644 index bef18e40..00000000 --- a/build/autotools/m4/lol-subproject.m4 +++ /dev/null @@ -1,55 +0,0 @@ -dnl -dnl Lol Engine -dnl -dnl Copyright © 2010—2016 Sam Hocevar -dnl -dnl Lol Engine is free software. It comes without any warranty, to -dnl the extent permitted by applicable law. You can redistribute it -dnl and/or modify it under the terms of the Do What the Fuck You Want -dnl to Public License, Version 2, as published by the WTFPL Task Force. -dnl See http://www.wtfpl.net/ for more details. -dnl - - -# LOL_AC_SUBPROJECT() -# --------------------- -AC_DEFUN([LOL_AC_SUBPROJECT], [ - -dnl -dnl Parse build.config if present -dnl - -AC_MSG_WARN([${srcdir}]) -ac_lol_configure_args="" -if test -f ${srcdir}/build.config; then - for x in `sed -ne 's,.*@:>@*\)>\(@<:@^<@:>@*\)@:>@*>.*,\1=\2,p' ${srcdir}/build.config`; do - eval "enable_${x}" - case ${x} in - *=no) arg="--disable-${x%=no}" ;; - *=yes) arg="--enable-${x%=yes}" ;; - *) arg="" ;; - esac - ac_lol_configure_args="${ac_lol_configure_args} ${arg}" - done -fi - -dnl -dnl Build and configure Lol Engine before our repository -dnl Ensure $lol_srcdir and $lol_builddir are properly set -dnl - -ac_configure_args="${ac_configure_args} --enable-subproject ${ac_lol_configure_args} $1" -AC_CONFIG_SUBDIRS([lol]) -AC_SUBST(lol_srcdir, '${top_srcdir}/lol') -AC_SUBST(lol_builddir, '${top_builddir}/lol') - -dnl -dnl Subprojects use the same macros as us -dnl - -LOL_AC_INIT() -LOL_AC_CHECK() -LOL_AC_FINI() - -]) # LOL_AC_SUBPROJECT - diff --git a/build/bitten/config-trunk-private.xml b/build/bitten/config-trunk-private.xml deleted file mode 100644 index cf689ff1..00000000 --- a/build/bitten/config-trunk-private.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/build/bitten/config-trunk-public.xml b/build/bitten/config-trunk-public.xml deleted file mode 100644 index fba0d566..00000000 --- a/build/bitten/config-trunk-public.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/build/build-android b/build/build-android deleted file mode 100755 index b96ab7ed..00000000 --- a/build/build-android +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# This can't hurt -make distclean - -set -e -./build/lol-build "$@" bootstrap android-arm -./build/lol-build "$@" configure android-arm -./build/lol-build "$@" build android-arm - diff --git a/build/build-html b/build/build-html deleted file mode 100755 index c1dc83b7..00000000 --- a/build/build-html +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# This can't hurt -make distclean - -set -e -"$(dirname "$0")/lol-build" "$@" bootstrap web-html -"$(dirname "$0")/lol-build" "$@" configure web-html -"$(dirname "$0")/lol-build" "$@" build web-html - diff --git a/build/build-js b/build/build-js deleted file mode 100755 index f35558c4..00000000 --- a/build/build-js +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# This can't hurt -make distclean - -set -e -./build/lol-build "$@" bootstrap web-js -./build/lol-build "$@" configure web-js -./build/lol-build "$@" build web-js - diff --git a/build/build-linux b/build/build-linux deleted file mode 100755 index 35fded75..00000000 --- a/build/build-linux +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -## Native Linux compilation for Lol Engine -- Sam Hocevar - -set -ex - -./bootstrap -./configure -make clean -make -j6 - diff --git a/build/build-mingw b/build/build-mingw deleted file mode 100755 index 9598b38a..00000000 --- a/build/build-mingw +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# This can't hurt -make distclean - -set -e -./build/lol-build "$@" bootstrap windows-i386 -./build/lol-build "$@" configure windows-i386 -./build/lol-build "$@" build windows-i386 - diff --git a/build/build-mingw64 b/build/build-mingw64 deleted file mode 100755 index cdbf4e4a..00000000 --- a/build/build-mingw64 +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# This can't hurt -make distclean - -set -e -./build/lol-build "$@" bootstrap windows-amd64 -./build/lol-build "$@" configure windows-amd64 -./build/lol-build "$@" build windows-amd64 - diff --git a/build/build-raspi b/build/build-raspi deleted file mode 100755 index 4b1728ad..00000000 --- a/build/build-raspi +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# This can't hurt -make distclean - -set -e -./build/lol-build "$@" bootstrap raspi-arm -./build/lol-build "$@" configure raspi-arm -./build/lol-build "$@" build raspi-arm - diff --git a/build/check-source.sh b/build/check-source.sh deleted file mode 100755 index b41cf7b9..00000000 --- a/build/check-source.sh +++ /dev/null @@ -1,209 +0,0 @@ -#!/bin/sh - -set -e - -fix=false -quiet=false -while [ "$#" -gt 0 ]; do - case "$1" in - -q) - quiet=true - ;; - -w) - fix=true - ;; - -c) - commit=true - fix=true - quiet=true - ;; - *) - echo "E: invalid argument $1" >&2 - exit 1 - ;; - esac - shift -done - -error() { if [ "$quiet" != true ]; then echo "E: $1" >&2; fi } -info() { if [ "$quiet" != true ]; then echo "I: $1" >&2; fi } - -# Ensure the system tools do not attempt to perform multibyte conversions -export LANG=C - -# Find out where the top directory is and go there -top_srcdir="$(cd "$(dirname $0)"; cd ..; pwd)" -cd "$top_srcdir" - -# Check for working tools -if [ "$(echo foo | grep -c foo)" != 1 ]; then - error "grep -c does not appear to work, cancelling" - exit 0 -fi - -SED=sed -if gsed --version >/dev/null 2>&1; then - SED=gsed -fi -if [ "$(echo 'x\x' | $SED 's/.*[^x\t]//')" != x ]; then - error "sed does not appear to work, cancelling" - exit 0 -fi - -if d2u -h >/dev/null 2>&1; then - d2u=d2u -elif dos2unix -h >/dev/null 2>&1; then - d2u=dos2unix -else - error "d2u or dos2unix not found, cancelling" - exit 0 -fi - -# Find out whether we need to care about CRLF -case "$(uname 2>/dev/null)" in - MINGW*|MSYS*) - can_check_crlf=false - ;; - *) - can_check_crlf=true - ;; -esac - -# Find out what kind of Vcs directory this is -if [ -f "$top_srcdir/.git/index" ]; then - info "detected Git repository" - repo=git -else - info "not in a Git directory, nothing to do" - exit 0 -fi - -total_crlfs=0 -total_spaces=0 -total_tabs=0 - -OIFS="$IFS" -IFS=' -' -FILES="`git ls-files`" - -total_files=0 -for file in $FILES; do - if [ -f "$file" ]; then - total_files="$(($total_files + 1))" - fi -done - -total_errors=0 -for file in $FILES; do - should_check_crlf=false - should_check_spaces=false - should_check_props=false - - case "$file" in - # These files we know how to handle - *.c|*.cpp|*.m|*.mm|*.h|*.hh|*.lolfx|*.lua|*.l|*.y|*.sh|*.py) - should_check_crlf=true - should_check_spaces=true - should_check_props=true - ;; - *) - continue - ;; - esac - - case "$file" in - # Don't harass these people, but fix their line endings - people/peeweek/*|\ - people/touky/*|\ - people/benlitz/*|\ - people/sam/lua-*) - should_check_spaces=false - ;; - esac - - clean=true - - # Check for CR LF - if [ "$can_check_crlf" = true -a "$should_check_crlf" = true ]; then - ncrlfs="$(od -tx1 "$file" | cut -b8- | tr ' ' '\n' | grep -c 0d || true)" - total_crlfs="$(($total_crlfs + $ncrlfs))" - if [ "$ncrlfs" -gt 0 ]; then - clean=false - if [ "$fix" = true ]; then - $d2u -q "$file" - info "$file has $ncrlfs CR characters" - else - error "$file has $ncrlfs CR characters" - fi - fi - fi - - # Check for trailing spaces - if [ "$should_check_spaces" = true ]; then - nspaces="$($SED 's/.*[^ \t]//' "$file" | tr -cd '\t ' | wc -c)" - total_spaces="$(($total_spaces + $nspaces))" - if [ "$nspaces" -gt 0 ]; then - clean=false - if [ "$fix" = true ]; then - $SED -i 's/[[:space:]][[:space:]]*$//g' "$file" - info "$file has $nspaces trailing spaces" - else - error "$file has $nspaces trailing spaces" - fi - fi - fi - - # Check for tabs - if [ "$should_check_spaces" = true ]; then - ntabs="$(tr -cd '\t' < "$file" | wc -c)" - total_tabs="$(($total_tabs + $ntabs))" - if [ "$ntabs" -gt 0 ]; then - clean=false - if [ "$fix" = true ]; then - $SED -i 's/\t/ /g' "$file" - info "$file has $ntabs tabs" - else - error "$file has $ntabs tabs" - fi - fi - fi - - if [ "$clean" != true ]; then - total_errors="$(($total_errors + 1))" - fi -done -IFS="$OIFS" - -if [ "$total_errors" -gt 0 ]; then - if [ "$commit" = "true" ]; then - # EITHER: commit all modified files - git commit --author 'Lolbot ' -a -F - << EOF -fixed $total_errors files out of $total_files: - - removed $total_crlfs CR characters - - removed $total_spaces trailing whitespaces - - replaced $total_tabs tabs with spaces -EOF - elif [ "$fix" = "true" ]; then - # OR: report in stdout - info "fixed $total_errors files out of $total_files:" - if [ "$total_crlfs" -gt 0 ]; then - info " - fixed $total_crlfs CR characters" - fi - if [ "$total_spaces" -gt 0 ]; then - info " - fixed $total_spaces trailing spaces" - fi - if [ "$total_tabs" -gt 0 ]; then - info " - fixed $total_tabs tabs" - fi - info "re-run with -c to commit fixes" - else - # OR: warn about how to fix errors - info "re-run with -w to fix errors" - exit 1 - fi -else - info "all $total_files source files appear to be OK, congratulations" -fi - - diff --git a/build/lol-build b/build/lol-build deleted file mode 100755 index 51af5e90..00000000 --- a/build/lol-build +++ /dev/null @@ -1,344 +0,0 @@ -#!/bin/sh - -# -# Lol Engine build script -# Usage: -# lol-build [...] [] -# -# Supported flags: -# --enable-debug -# --enable-devel -# --enable-release -# -# Where is one of: -# - bootstrap -# - configure -# - build -# - check -# - clean -# -# And is one of: -# - linux-i386 -# - linux-amd64 -# - ios-arm -# - osx-amd64 -# - android-arm -# - win*-i386 -# - win*-amd64 -# - raspi-arm -# - web-html -# - web-js -# - -set -e - -############################################################################### -# Commandline parsing -# -action="" -platform="" -configure_flags="" -while [ "$#" -gt 0 ]; do - case "$1" in - --enable-debug|--enable-devel|--enable-release) - configure_flags="${configure_flags} $1" - ;; - --*) - echo "E: invalid flag $1" - exit 1 - ;; - *) - if [ -z "$action" ]; then - action="$1" - else - platform="$1" - fi - ;; - esac - shift -done - -############################################################################### -# Initialisation code -# -# - sets the top_srcdir variable -# - sets the LOL_PARALLEL variable -# - fix PATH and MKPATH if necessary -# -__init__() -{ - top_srcdir="$(dirname "$0")/.." - cd "$top_srcdir" - top_srcdir="`pwd`" - - # Try to count CPU cores. First obvious try: /proc/cpuinfo on Linux - case "$cpu_count" in - [1-9]|[1-9][0-9]|[1-9][0-9][0-9]) ;; - *) if [ -r "/proc/cpuinfo" ]; then - cpu_count="$(grep -c '^processor\>' /proc/cpuinfo 2>/dev/null || true)" - fi ;; - esac - # If that didn't work, try sysctl (for OS X machines) - case "$cpu_count" in - [1-9]|[1-9][0-9]|[1-9][0-9][0-9]) ;; - *) cpu_count="$(sysctl -n hw.ncpu 2>/dev/null || true)" ;; - esac - # Otherwise, CPUInfo.exe (from Xoreax's XGE) may help on Windows - case "$cpu_count" in - [1-9]|[1-9][0-9]|[1-9][0-9][0-9]) ;; - *) cpu_count="$(CPUInfo.exe | sed -ne 's/CPU Cores.* \([0-9][0-9]*\)/\1/p')" ;; - esac - # Otherwise, Windows may define NUMBER_OF_PROCESSORS - case "$cpu_count" in - [1-9]|[1-9][0-9]|[1-9][0-9][0-9]) ;; - *) cpu_count="$NUMBER_OF_PROCESSORS" ;; - esac - # Otherwise, be conservative and assume 1 CPU core - case "$cpu_count" in - [1-9]|[1-9][0-9]|[1-9][0-9][0-9]) ;; - *) cpu_count=1 ;; - esac - # Now decide how many parallel threads to launch - case "$cpu_count" in - 1) LOL_PARALLEL=1 ;; - 2) LOL_PARALLEL=3 ;; - *) LOL_PARALLEL="$(expr $cpu_count '*' 3 / 2)" ;; - esac - - case "${MSYSTEM}" in - MINGW32|MINGW64) - PATH="$PATH:./external/gtk-2.22.1/bin" - M4PATH="$M4PATH:./external/gtk-2.22.1/share/aclocal" - ;; - esac - - # Ensure we don’t launch weird Windows binaries when cross-compiling - WINEDLLOVERRIDES="winemenubuilder.exe,wineboot.exe,explorer.exe,winedbg.exe=d" - export WINEDLLOVERRIDES - - # Ensure SDL does not redirect stdout/stderr to local files - SDL_STDIO_REDIRECT=0 - export SDL_STDIO_REDIRECT -} - -bootstrap() -{ - cd "$top_srcdir" - case "$platform" in - *) - PATH="$PATH" M4PATH="$M4PATH" ./bootstrap - ;; - esac -} - -do_configure() -{ - ./configure ${configure_flags} "$@" -} - -configure() -{ - cd "$top_srcdir" - case "$platform" in - android-arm) - PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$PWD/external/libcaca-0.99.beta18/lib/pkgconfig" - LDFLAGS="$LDFLAGS -L$PWD/external/libcaca-0.99.beta18/lib/arm-linux-androideabi -lz" - CPPFLAGS="$CPPFLAGS -I$PWD/external/libcaca-0.99.beta18/include -DCACA_STATIC" - ;; - win*-i386) - if test "x${MSYSTEM}" = xMINGW32; then - : - elif i586-mingw32msvc-g++ --version >/dev/null 2>&1; then - HOSTFLAGS=--host=i586-mingw32msvc - BUILDFLAGS=--build=none - elif i686-w64-mingw32-g++ --version >/dev/null 2>&1; then - HOSTFLAGS=--host=i686-w64-mingw32 - BUILDFLAGS=--build=none - else - echo "Error: could not find win32 compiler" >&2 - false - fi - if test "x${MSYSTEM}" = xMINGW64; then - # If using mingw64, we're not really cross-compiling - BUILDFLAGS= - fi - PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$PWD/external/gtkglarea-2.0.1/lib/pkgconfig" - PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$PWD/external/libcaca-0.99.beta18/lib/pkgconfig" - LDFLAGS="$LDFLAGS -L$PWD/external/ffmpeg-20190130/lib/i686-w64-mingw32" - LDFLAGS="$LDFLAGS -L$PWD/external/glew-2.1.0/lib/i686-w64-mingw32" - LDFLAGS="$LDFLAGS -L$PWD/external/sdl-2.0.9/lib/i686-w64-mingw32" - LDFLAGS="$LDFLAGS -L$PWD/external/sdl-image-2.0.4/lib/i686-w64-mingw32" - LDFLAGS="$LDFLAGS -L$PWD/external/sdl-mixer-2.0.4/lib/i686-w64-mingw32" - LDFLAGS="$LDFLAGS -L$PWD/external/gtk-2.22.1/lib" - LDFLAGS="$LDFLAGS -L$PWD/external/gtk-2.22.1/bin" - LDFLAGS="$LDFLAGS -L$PWD/external/gtkglarea-2.0.1/lib" - LDFLAGS="$LDFLAGS -L$PWD/external/libcaca-0.99.beta18/lib/i686-w64-mingw32" - ;; - win*-amd64) - if test "x${MSYSTEM}" = xMINGW64; then - : - elif x86_64-w64-mingw32-g++ --version >/dev/null 2>&1; then - HOSTFLAGS=--host=x86_64-w64-mingw32 - BUILDFLAGS=--build=none - else - echo "Error: could not find win64 compiler" >&2 - false - fi - if test "x${MSYSTEM}" = xMINGW32; then - # If using mingw32, we're not really cross-compiling - BUILDFLAGS= - fi - PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$PWD/external/gtkglarea-2.0.1/lib/pkgconfig" - PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$PWD/external/libcaca-0.99.beta18/lib/pkgconfig" - LDFLAGS="$LDFLAGS -L$PWD/external/ffmpeg-20190130/lib/x86_64-w64-mingw32" - LDFLAGS="$LDFLAGS -L$PWD/external/glew-2.1.0/lib/x86_64-w64-mingw32" - LDFLAGS="$LDFLAGS -L$PWD/external/sdl-2.0.9/lib/x86_64-w64-mingw32" - LDFLAGS="$LDFLAGS -L$PWD/external/sdl-image-2.0.4/lib/x86_64-w64-mingw32" - LDFLAGS="$LDFLAGS -L$PWD/external/sdl-mixer-2.0.4/lib/x86_64-w64-mingw32" - LDFLAGS="$LDFLAGS -L$PWD/external/libcaca-0.99.beta18/lib/x86_64-w64-mingw32" - ;; - *-i386) - # Ensure we're _really_ on i386 - CXXFLAGS="$CXXFLAGS -m32" - ;; - *-amd64) - # Ensure we're _really_ on amd64 - CXXFLAGS="$CXXFLAGS -m64" - ;; - web-*) - # Force cross-compilation because AC_TRY_LINK is going to check - # whether our binaries have the executable bit set. - HOSTFLAGS=--host=none - BUILDFLAGS=--build=`$top_srcdir/.auto/config.guess` - ;; - esac - case "$platform" in - ios-arm) - XCODE="/Applications/Xcode.app/Contents/Developer" - SDKVER="6.1" - DEVROOT="$XCODE/Platforms/iPhoneOS.platform/Developer" - SDKROOT="$DEVROOT/SDKs/iPhoneOS$SDKVER.sdk" - CC="$XCODE/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" - CXX="$XCODE/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++" - do_configure --host=armv7-apple-darwin10 CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" CC="$CC" CXX="$CXX" - ;; - android-arm) - CPPFLAGS="$CPPFLAGS -I$ANDROID_NDK_ROOT/sources/android/native_app_glue -fpic -fomit-frame-pointer -fno-strict-aliasing" - CFLAGS="$CFLAGS" - CXXFLAGS="$CXXFLAGS" - LOL_LIBS="$LOL_LIBS -lm -fpic -XCClinker -shared -u ANativeActivity_onCreate" - HOST=armv7a-linux-androideabi27 - PKG_CONFIG_PATH="$PKG_CONFIG_PATH" do_configure --host="$HOST" CC="$HOST-clang" CXX="$HOST-clang++" ac_cv_exeext=.so CPPFLAGS="$CPPFLAGS" CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" LOL_LIBS="$LOL_LIBS" - # FIXME: is this needed? - # ant debug - # ant debug install - # ant clean - ;; - raspi-arm) - do_configure --host=arm-bcm2708hardfp-linux-gnueabi CPPFLAGS="-I$RASPI_SDK_ROOT/firmware/opt/vc/include -I$RASPI_SDK_ROOT/firmware/opt/vc/include/interface/vmcs_host/linux -I$RASPI_SDK_ROOT/chroot/usr/include -I$RASPI_SDK_ROOT/chroot/usr/include/arm-linux-gnueabihf" LDFLAGS="-L$RASPI_SDK_ROOT/firmware/opt/vc/lib -L$RASPI_SDK_ROOT/chroot/lib/arm-linux-gnueabihf -Wl,-rpath-link -Wl,$RASPI_SDK_ROOT/chroot/lib/arm-linux-gnueabihf -L$RASPI_SDK_ROOT/chroot/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link -Wl,$RASPI_SDK_ROOT/chroot/usr/lib/arm-linux-gnueabihf -Wl,--unresolved-symbols=ignore-in-shared-libs" - ;; - osx-amd64) - # HACK: use clang++ because of a memory leak in llvm-g++. - do_configure CXX=clang++ CC=clang - ;; - win*-i386|win*-amd64) - CPPFLAGS="$CPPFLAGS -I$PWD/external/sdl-2.0.9/include" - CPPFLAGS="$CPPFLAGS -I$PWD/external/sdl-image-2.0.4/include" - CPPFLAGS="$CPPFLAGS -I$PWD/external/sdl-mixer-2.0.4/include" - CPPFLAGS="$CPPFLAGS -I$PWD/external/ffmpeg-20190130/include" - CPPFLAGS="$CPPFLAGS -I$PWD/external/glew-2.1.0/include -DGLEW_STATIC" - CPPFLAGS="$CPPFLAGS -I$PWD/external/gtk-2.22.1/lib/glib-2.0/include" - CPPFLAGS="$CPPFLAGS -I$PWD/external/gtk-2.22.1/lib/gtk-2.0/include" - CPPFLAGS="$CPPFLAGS -I$PWD/external/gtk-2.22.1/include/glib-2.0" - CPPFLAGS="$CPPFLAGS -I$PWD/external/gtk-2.22.1/include/gtk-2.0" - CPPFLAGS="$CPPFLAGS -I$PWD/external/gtk-2.22.1/include/cairo" - CPPFLAGS="$CPPFLAGS -I$PWD/external/gtk-2.22.1/include/pango-1.0" - CPPFLAGS="$CPPFLAGS -I$PWD/external/gtk-2.22.1/include/gdk-pixbuf-2.0" - CPPFLAGS="$CPPFLAGS -I$PWD/external/gtk-2.22.1/include/atk-1.0" - CPPFLAGS="$CPPFLAGS -I$PWD/external/gtkglarea-2.0.1/include" - CPPFLAGS="$CPPFLAGS -I$PWD/src/3rdparty/imgui/include" - CPPFLAGS="$CPPFLAGS -mms-bitfields" - LDFLAGS="$LDFLAGS -static-libgcc -static-libstdc++" - GTK_LIBS="$GTK_LIBS -lgtkgl-2.0 -lopengl32 -lglew32 -lgdi32" - GTK_LIBS="$GTK_LIBS -lgtk-win32-2.0 -lgdk-win32-2.0" - GTK_LIBS="$GTK_LIBS -lglib-2.0 -lgthread-2.0 -lgobject-2.0" - - CPPFLAGS="$CPPFLAGS -I$PWD/external/libcaca-0.99.beta18/include -DCACA_STATIC" - - PATH="$PATH" PKG_CONFIG_PATH="$PKG_CONFIG_PATH" do_configure $HOSTFLAGS $BUILDFLAGS CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" GTK_LIBS="$GTK_LIBS" - ;; - web-*) - # First do an emcc run so that dependent libraries are generated - emflags="-s USE_SDL=2 -s USE_SDL_IMAGE=2 -s USE_SDL_MIXER=2" - touch conftest.c ; emcc $(echo $emflags) conftest.c -c -o conftest.o ; rm -f conftest.c conftest.o - # We use --enable-release otherwise builds are really too slow - do_configure --enable-release $HOSTFLAGS $BUILDFLAGS CC=emcc CXX=em++ AR=emar RANLIB=emranlib PKG_CONFIG=/bin/false SDL_CONFIG=/bin/false ac_cv_exeext=".${platform##web-}" CPPFLAGS="$emflags" CXXFLAGS="$emflags" CFLAGS="$emflags" - ;; - *) - PATH="$PATH" do_configure CFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS" - ;; - esac -} - -build() -{ - cd "$top_srcdir" - case "$platform" in - win*-i386) - # Because of locking issues in Wine’s winepath.exe, we only - # build the static libraries in parallel. - make -j$LOL_PARALLEL -C src/3rdparty liblol-lua.a - make -j$LOL_PARALLEL -C src/ liblol-core.a - make - ;; - *) - make -j$LOL_PARALLEL - ;; - esac -} - -check() -{ - cd "$top_srcdir" - case "$platform" in - ios-arm) - ;; - android-arm) - ;; - raspi-arm) - ;; - web-*) - ;; - win*-i386) - # If neither $MSYSTEM or $DISPLAY are set, and xvfb-run - # exists, use it to run the test suite. - if test "x${MSYSTEM}${DISPLAY}" = x \ - && xvfb-run --help 2>&1 >/dev/null; then - xvfb-run -a make check VERBOSE=1 - else - make check VERBOSE=1 - fi - ;; - win*-amd64) - # No support for Wine64 yet - ;; - *) - make check VERBOSE=1 - ;; - esac -} - -clean() -{ - cd "$top_srcdir" - case "$platform" in - *) - make distclean - ;; - esac -} - -__init__ -echo "lol-build: executing action '$action' on platform '$platform'" >&2 -eval "$action" - diff --git a/build/msbuild/lol-bullet.props b/build/msbuild/lol-bullet.props deleted file mode 100644 index 13180415..00000000 --- a/build/msbuild/lol-bullet.props +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - {83d3b207-c601-4025-8f41-01dedc354661} - - - - diff --git a/build/msbuild/lol-core.props b/build/msbuild/lol-core.props deleted file mode 100644 index bff2e956..00000000 --- a/build/msbuild/lol-core.props +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - {9e62f2fe-3408-4eae-8238-fd84238ceeda} - - - - diff --git a/build/msbuild/lol-lua.props b/build/msbuild/lol-lua.props deleted file mode 100644 index 26338611..00000000 --- a/build/msbuild/lol-lua.props +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - {d84021ca-b233-4e0f-8a52-071b83bbccc4} - - - - diff --git a/build/msbuild/lol.config.props b/build/msbuild/lol.config.props deleted file mode 100644 index 3730ba7b..00000000 --- a/build/msbuild/lol.config.props +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - true - - - - - false - true - - - - - MultiByte - false - false - Fast - - - - - v141 - - - v141 - - - - - - - - - diff --git a/build/msbuild/lol.props b/build/msbuild/lol.props deleted file mode 100644 index 0474e308..00000000 --- a/build/msbuild/lol.props +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/build/msbuild/lol.rules.props b/build/msbuild/lol.rules.props deleted file mode 100644 index 31f4a054..00000000 --- a/build/msbuild/lol.rules.props +++ /dev/null @@ -1,123 +0,0 @@ - - - - true - false - - - - - - - - Level3 - - - stdcpplatest - - - true - false - - - $(IntDir)/%(Directory)/ - - - $(LolDir)\src; - $(LolDir)\src\3rdparty\bullet3\src; - $(LolDir)\tools\lolunit; - $(PegtlIncludes); - $(ImguiIncludes); - $(BtPhysIncludes); - $(GlIncludes); - %(AdditionalIncludeDirectories) - - - - $(SdlIncludes); - $(CppHttpIncludes); - $(FfmpegIncludes); - $(AssimpIncludes); - $(XinputIncludes); - %(AdditionalIncludeDirectories) - - - - NOMINMAX; - _CRT_SECURE_NO_WARNINGS; - B3_USE_CLEW; - LUA_ANSI; - - - $(AdditionalPreprocessorDefinitions.Replace('\n',''));%(PreprocessorDefinitions) - - - LOL_CONFIG_PROJECTDIR="$(ProjectDir.Trim('\').Replace('\','/'))";%(PreprocessorDefinitions) - LOL_CONFIG_SOLUTIONDIR="$(SolutionDir.Trim('\').Replace('\','/'))";%(PreprocessorDefinitions) - - WIN32;$(Win32Defines);%(PreprocessorDefinitions) - WIN32;$(Win32Defines);%(PreprocessorDefinitions) - $(OrbisDefines);%(PreprocessorDefinitions) - - - true - Disabled - MultiThreadedDebugDLL - _DEBUG;LOL_BUILD_DEBUG;%(PreprocessorDefinitions) - - - true - - MaxSpeed - - Level2 - - MultiThreadedDLL - true - true - Speed - NDEBUG;LOL_BUILD_RELEASE;%(PreprocessorDefinitions) - - - - - kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;$(SdlDeps);$(FfmpegDeps);$(AssimpDeps);$(LibGccDeps);$(GdiDeps);$(XinputDeps);$(GlDeps);$(CppHttpDeps);%(AdditionalDependencies) - $(LibGccLibs);%(AdditionalLibraryDirectories) - $(SdlLibs);%(AdditionalLibraryDirectories) - $(CppHttpLibs);%(AdditionalLibraryDirectories) - $(FfmpegLibs);%(AdditionalLibraryDirectories) - $(AssimpLibs);%(AdditionalLibraryDirectories) - $(GlLibs);%(AdditionalLibraryDirectories) - $(XinputLibs);%(AdditionalLibraryDirectories) - Windows - Console - - - $(OrbisLibs);%(AdditionalLibraryDirectories) - $(OrbisDeps);%(AdditionalDependencies) - - - true - - - true - true - true - - - %(AdditionalDependencies) - %(AdditionalLibraryDirectories) - - - - - - rem do nothing - - - - - diff --git a/build/msbuild/lol.vars.props b/build/msbuild/lol.vars.props deleted file mode 100644 index 692d5af7..00000000 --- a/build/msbuild/lol.vars.props +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - $(LolDir)\external - - i686 - x86_64 - - - $(LolDir)\src/3rdparty\pegtl\include - $(PegtlDir) - - - $(LolDir)\src\3rdparty\imgui - $(ImguiDir) - - - $(ExternalDir)\openssl-1.1.1d - - - $(LolDir)\src/3rdparty\cpp-httplib - $(CppHttpDir);$(OpenSslDir)\include - $(OpenSslDir)\lib\$(PlatformCode)-msvc - libssl.lib;libcrypto.lib;crypt32.lib - CPPHTTPLIB_OPENSSL_SUPPORT;$(Win32Defines) - - - $(ExternalDir)\gtk-2.22.1 - $(ExternalDir)\gtkglarea-2.0.1 - $(GtkDir)\lib\glib-2.0\include;$(GtkDir)\lib\gtk-2.0\include;$(GtkDir)\include\glib-2.0;$(GtkDir)\include\gtk-2.0;$(GtkDir)\include\cairo;$(GtkDir)\include\pango-1.0;$(GtkDir)\include\gdk-pixbuf-2.0;$(GtkDir)\include\atk-1.0;$(GtkGlDir)\include - $(GtkDir)\lib;$(GtkDir)\bin;$(GtkGlDir)\lib - gobject-2.0.lib;gthread-2.0.lib;glib-2.0.lib;gdk-win32-2.0.lib;gtk-win32-2.0.lib;gtkgl-2.0.lib - - - - - - $(ExternalDir)\libcaca-0.99.beta18 - $(CacaDir)\include - $(CacaDir)\lib\$(PlatformCode)-w64-mingw32 - caca.lib - CACA_STATIC;$(Win32Defines) - - - Gdiplus.lib - LOL_USE_GDIPLUS;$(Win32Defines) - - - $(DXSDK_DIR)\Include - $(DXSDK_DIR)\Lib\x86 - $(DXSDK_DIR)\Lib\x64 - xinput.lib - LOL_USE_XINPUT;$(Win32Defines) - - - HAVE_STDIO_H;$(Win32Defines) - - - HAVE_STDIO_H; - $(OrbisDefines) - - - - - $(ExternalDir)\glew-2.1.0 - $(GlewDir)\include - $(GlewDir)\lib\$(PlatformCode)-w64-mingw32 - opengl32.lib;glew32s.lib - HAVE_GL_2X;LOL_USE_GLEW;GLEW_STATIC;$(Win32Defines) - - - - - $(ExternalDir)\sdl-2.0.9 - $(ExternalDir)\sdl-image-2.0.4 - $(ExternalDir)\sdl-mixer-2.0.4 - $(SdlDir)\lib\$(PlatformCode)-msvc - $(SdlImageDir)\lib\$(PlatformCode)-msvc - $(SdlMixerDir)\lib\$(PlatformCode)-msvc - $(SdlDir)\include;$(SdlImageDir)\include;$(SdlMixerDir)\include - $(SdlLibDir);$(SdlImageLibDir);$(SdlMixerLibDir) - SDL2.lib;SDL2main.lib;SDL2_image.lib;SDL2_mixer.lib - HAVE_SDL_H;LOL_USE_SDL;$(Win32Defines) - LOL_USE_SDL_MIXER;LOL_USE_SDL_IMAGE;$(Win32Defines) - - - - - $(ExternalDir)\ffmpeg-20190130 - $(FfmpegDir)\include - $(FfmpegDir)\lib\$(PlatformCode)-msvc - swscale.lib;avformat.lib;avcodec.lib;swresample.lib;avutil.lib;ws2_32.lib;secur32.lib;bcrypt.lib - LOL_USE_FFMPEG;$(Win32Defines) - - - - - - - - $(ExternalDir) - $(PlatformCode) - - - $(PegtlDir) - $(PegtlIncludes) - $(CppHttpDir) - $(CppHttpIncludes) - $(ImguiDir) - $(ImguiIncludes) - $(LibGccDir) - $(LibGccLibs) - $(LibGccDeps) - $(SdlDir) - $(SdlImageDir) - $(SdlMixerDir) - $(SdlIncludes) - $(SdlLibs) - $(SdlDeps) - $(BtPhysDir) - $(BtPhysIncludes) - $(GtkDir) - $(GtkGlDir) - $(GtkIncludes) - $(GtkLibs) - $(GtkDeps) - $(FfmpegDir) - $(FfmpegIncludes) - $(FfmpegLibs) - $(FfmpegDeps) - $(AssimpDir) - $(AssimpIncludes) - $(AssimpLibs) - $(AssimpDeps) - $(CacaDir) - $(CacaIncludes) - $(CacaLibs) - $(CacaDeps) - $(GdiDeps) - $(GlewDir) - $(GlIncludes) - $(GlLibs) - $(GlDeps) - $(XinputIncludes) - $(XinputLibs) - $(XinputDeps) - $(Win32Defines) - $(OrbisDeps) - $(OrbisLibs) - $(OrbisDefines) - - - - - - - $(SolutionDir)\binaries - $(LolDir)\binaries - $(BinDir)\$(Platform) $(PlatformToolset) $(Configuration)\ - $(BinDir)\$(Platform) $(PlatformToolset) $(Configuration)\$(ProjectName)\ - - - diff --git a/build/msbuild/lolfx.props b/build/msbuild/lolfx.props deleted file mode 100644 index da2e9f18..00000000 --- a/build/msbuild/lolfx.props +++ /dev/null @@ -1,37 +0,0 @@ - - - - Midl - CustomBuild - - - _SelectedFiles;$(LolFxCompileDependsOn) - - - - @echo off -set D=$(IntDir)%(Filename)%(Extension).cpp - -set "name=lolfx_resource_%(RelativeDir)%(Filename)" -set "name=%name:\=_%" -set "name=%name:-=_%" -set "name=%name:.=_%" - -echo /* This file was autogenerated. DO NOT MODIFY IT. */ > "%D%" -echo extern "C" { char const *%name% = >> "%D%" -setlocal disabledelayedexpansion -for /F "tokens=1,* delims=`" %%L in ('type "%(Fullpath)"') do ( - set "line=%%L" - setlocal enabledelayedexpansion - echo "!line:"=\"!\n" >> "%D%" - endlocal -) -endlocal -echo ;} >> "%D%" - $(IntDir)%(FileName)%(Extension).cpp - %(FileName)%(Extension) - - - diff --git a/build/msbuild/lolfx.targets b/build/msbuild/lolfx.targets deleted file mode 100644 index 92e3a63a..00000000 --- a/build/msbuild/lolfx.targets +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - LolFxCompile - - - - - - $(ComputeCompileInputsTargets); - ComputeLolFxCompileOutput; - - - - - $(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml - - - - - - - - - @(LolFxCompile, '|') - - - - - - - - - - - - - - - - CompileAsC - - - - - - $(IntDir)\%(FileName).lolfx.cpp - - - - - diff --git a/build/msbuild/lolfx.xml b/build/msbuild/lolfx.xml deleted file mode 100644 index 04d034a1..00000000 --- a/build/msbuild/lolfx.xml +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - General - - - - - Command Line - - - - - - - - - - - - - - - - - - - - - - diff --git a/build/run-bitten.sh b/build/run-bitten.sh deleted file mode 100755 index 92c7c9d7..00000000 --- a/build/run-bitten.sh +++ /dev/null @@ -1,240 +0,0 @@ -#!/bin/sh - -tmpdir="$TMPDIR" -if [ -z "${tmpdir}" ]; then tmpdir="$TEMP"; fi -if [ -z "${tmpdir}" ]; then tmpdir="$TEMPDIR"; fi -if [ -z "${tmpdir}" ]; then tmpdir="$TMP"; fi -if [ -z "${tmpdir}" ]; then tmpdir="/tmp"; fi - -conffile="`mktemp -q "${tmpdir}/lol-bitten-XXXXXXXX" 2>/dev/null`" -if [ "${conffile}" = "" ]; then - conffile="`mktemp 2>/dev/null`" -fi -scriptfile="" -builddir="${tmpdir}/lol-bitten-`whoami`" -url="http://lolengine.net/builds" - -# -# Utility functions -# - -append() { - echo "$*" >> "${conffile}" -} - -cleanup() { - rm -f "${conffile}" "${scriptfile}" - rm -rf "${builddir}" -} - -bailout() { - cleanup - # Exit gracefully - exit 0 -} - -trap bailout EXIT HUP INT QUIT ABRT KILL ALRM TERM - -# -# Fork if necessary -# - -if [ "$1" = "--forked" ]; then - shift - scriptfile="$1" - shift -else - cp "$0" "${conffile}" - chmod +x "${conffile}" - exec "${conffile}" --forked "${conffile}" "$@" - exit 0 -fi - -# -# Check for command line -# - -if [ "$#" != 2 ]; then - echo "Usage: run-bitten.sh " - exit 1 -fi - -# -# Clean up working directory -# -cleanup -if [ -e "${builddir}" ]; then - echo "Error: cannot get rid of ${builddir}" - exit 1 -fi - -# -# Operating system information -# - -append "[os]" -append "name = `uname -srmo 2>/dev/null || uname -srm`" -append "version = 0" -family="`uname -s | tr A-Z a-z`" -case "$family" in - mingw*) family="windows" ;; - darwin*) family="osx" ;; -esac -append "family = $family" -# This random token prevents HTTP conflicts when several instances -# are run from the same machine. -append "token = $$$RANDOM" -append "" - -# -# Hardware information -# - -append "[machine]" -name="`uname -n | tr A-Z a-z | sed 's/[.].*//'`" -case "$name" in - d*e*s*o*v*) name="putois" ;; -esac -append "name = $name" -processor="`uname -m`" -case "$processor" in - x86_64) processor="amd64" - if test "`getconf LONG_BIT 2>/dev/null`" = 32; then - processor="i386" - fi ;; - i*86) processor="i386" ;; -esac -# Windows defines a lot of crazy shit, try to make sense of it -case "$PROCESSOR_ARCHITECTURE" in - amd64|AMD64) processor="amd64" ;; - x86|X86) processor="i386" ;; -esac -case "$PROCESSOR_ARCHITEW6432" in - amd64|AMD64) processor="amd64" ;; - x86|X86) processor="i386" ;; -esac -append "processor = $processor" -append "" - -# -# Authentication information -# - -append "[authentication]" -append "username = $1" -append "password = $2" -append "" - -# -# Visual Studio configuration -# - -# FIXME: we also need to check for the Visual Studio SDK -append "[msvc]" -if [ -n "$VS100COMNTOOLS" ]; then - append "version = 10" -elif [ -n "$VS110COMNTOOLS" ]; then - append "version = 11" -elif [ -n "$VS90COMNTOOLS" ]; then - append "version = 9" -fi -append "" - -# -# iOS development kit -# - -append "[ios]" -if [ -d "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk" ]; then - append "version = 6.1" -fi -append "" - -# -# mingw32 / mingw-w64 -# - -append "[mingw64]" -if x86_64-w64-mingw32-g++ --version >/dev/null 2>&1; then - append "version = $(x86_64-w64-mingw32-g++ --version | sed -ne 's/.*g++ *([^)]*) *//p')" -fi -append "" - -append "[mingw32]" -if i686-w64-mingw32-g++ --version >/dev/null 2>&1; then - append "version = $(i686-w64-mingw32-g++ --version | sed -ne 's/.*g++ *([^)]*) *//p')" -fi -append "" - -# -# Emscripten -# - -append "[emscripten]" -if em++ --version >/dev/null 2>&1; then - append "version = $(em++ --version | sed -ne 's/.*emcc.* \([0-9.]\{1,\}\).*/\1/p')" -fi -append "" - -# -# Android NDK -# - -append "[ndk]" -if [ "$family" != "windows" ]; then - if [ -f "$ANDROID_NDK_ROOT/RELEASE.TXT" ]; then - append "version = $(cat "$ANDROID_NDK_ROOT/RELEASE.TXT")" - fi -fi -append "" - -# -# Raspberry Pi cross-compiler -# - -append "[raspi]" -if [ "$family" != "windows" ]; then - if [ -d "$RASPI_SDK_ROOT/tools" ]; then - append "version = 0" - fi -fi -append "" - -# -# Show what we just did here -# - -cat "${conffile}" - -# -# Fix system -# - -if [ "$family" = "osx" ]; then - # The version of Subversion shipped by Apple is antique; try to - # use the one in /usr/local/bin instead. - PATH="/usr/local/bin:$PATH" - export PATH - # HACK: the version of llvm-g++ shipped by Apple has an insane - # memory leak; use clang++ instead. - CC="clang" - export CC - CXX="clang++" - export CXX -fi - -# -# Launch everything -# - -while : ; do - bitten-slave "$url" \ - -f "${conffile}" \ - --name "$name" \ - --work-dir="${builddir}" - rm -rf "${builddir}" - sleep 10 -done - -exit 0 - diff --git a/configure.ac b/configure.ac deleted file mode 100644 index d0bd8bdb..00000000 --- a/configure.ac +++ /dev/null @@ -1,280 +0,0 @@ -dnl -dnl Lol Engine -dnl -dnl Copyright © 2010—2017 Sam Hocevar -dnl -dnl Lol Engine is free software. It comes without any warranty, to -dnl the extent permitted by applicable law. You can redistribute it -dnl and/or modify it under the terms of the Do What the Fuck You Want -dnl to Public License, Version 2, as published by the WTFPL Task Force. -dnl See http://www.wtfpl.net/ for more details. -dnl - -AC_INIT(lolengine, 0.0) -AC_PREREQ(2.50) -AC_CONFIG_AUX_DIR(.auto) -AC_CANONICAL_SYSTEM -AM_INIT_AUTOMAKE([subdir-objects no-define tar-ustar silent-rules]) -dnl AM_MAINTAINER_MODE - -dnl Versioning of the separate software we ship -LOLUNIT_VERSION=0.1 -AC_SUBST(LOLUNIT_VERSION) - -AC_SUBST(lol_srcdir, '${top_srcdir}') -AC_SUBST(lol_builddir, '${top_builddir}') - -AM_PROG_CC_C_O -AC_PROG_CPP -AC_PROG_CXX -AC_PROG_CXXCPP -AC_PROG_RANLIB - -LOL_AC_INIT() - -AC_LIBTOOL_WIN32_DLL -AM_PROG_LIBTOOL -AC_LIBTOOL_CXX - -dnl Ensure an error is thrown if pkg-config M4 files are not found. -m4_pattern_allow([^PKG_CONFIG_LIBDIR$]) -m4_pattern_forbid([^PKG_CHECK_MODULES$]) -m4_pattern_forbid([^PKG_PROG_PKG_CONFIG$]) - -dnl Same for Lol Engine M4 files. -m4_pattern_forbid([^LOL_AC_]) - - -dnl Do not use PKG_CONFIG_LIBDIR when cross-compiling. -if test "${build}" != "${host}" -a "${PKG_CONFIG_LIBDIR}" = ""; then - export PKG_CONFIG_LIBDIR=/dev/null -fi - -dnl AC_PROG_EGREP only exists in autoconf 2.54+, so we use AC_EGREP_CPP right -dnl now otherwise it might be set in an obscure if statement. Same thing for -dnl PKG_PROG_PKG_CONFIG which needs to be called first. -AC_EGREP_CPP(yes, foo) -PKG_PROG_PKG_CONFIG() - - -dnl Check for a working implementation of sed -AC_PROG_SED -AC_MSG_CHECKING(for a sed that understands \t) -if test "$(echo 'x\x' | "${SED}" 's/.*@<:@^x\t@:>@//')" != x; then - AC_MSG_RESULT(no) - AC_MSG_ERROR([[consider installing GNU sed]]) -else - AC_MSG_RESULT(yes) -fi - - -dnl conditional builds -AC_ARG_ENABLE(debug, - [ --enable-debug build debug versions of the game (default no)]) -AC_ARG_ENABLE(release, - [ --enable-release build final release of the game (default no)]) -AC_ARG_ENABLE(experimental, - [ --enable-experimental experimental build (default no)]) - -AC_ARG_ENABLE(subproject, - [ --enable-subproject build as a subproject (default no)]) - -AC_ARG_ENABLE(gl, - [ --enable-gl build using OpenGL or OpenGL ES (default autodetected)]) -AC_ARG_ENABLE(ffmpeg, - [ --enable-ffmpeg build using FFmpeg (default autodetected)]) -AC_ARG_ENABLE(sdl, - [ --enable-sdl build using SDL (default autodetected)]) -AC_ARG_ENABLE(imlib2, - [ --enable-imlib2 build using Imlib2 (default autodetected)]) -AC_ARG_ENABLE(png, - [ --enable-png build using libpng (default autodetected)]) -AC_ARG_ENABLE(bullet, - [ --enable-bullet build using Bullet Physics (default yes)]) - -AC_ARG_ENABLE(test, - [ --enable-test build test suite (default yes)]) -AC_ARG_ENABLE(tools, - [ --enable-tools build miscellaneous tools (default yes)]) -AC_ARG_ENABLE(tutorial, - [ --enable-tutorial build tutorial applications (default yes)]) -AC_ARG_ENABLE(samples, - [ --enable-samples build sample applications (default yes)]) -AC_ARG_ENABLE(doc, - [ --enable-doc build documentation (needs doxygen and LaTeX)]) - - -dnl Subproject builds -if test "${enable_subproject}" = "yes"; then - AC_MSG_CHECKING(for a config-lol.h file in the parent project) - if test -f "../config-lol.h"; then - AC_MSG_RESULT(yes) - AC_DEFINE(HAVE_CONFIG_LOL_H, 1, Define to if parent project provides config-lol.h) - AH_BOTTOM([ -#if HAVE_CONFIG_LOL_H -#include "../config-lol.h" -#endif -]) - else - AC_MSG_RESULT(no) - fi -fi - - -dnl Common C headers -AC_CHECK_HEADERS(stdio.h stdarg.h inttypes.h stdint.h math.h) -AC_CHECK_HEADERS(fastmath.h unistd.h io.h) -AC_CHECK_HEADERS(execinfo.h) -AC_CHECK_HEADERS(sys/ioctl.h sys/ptrace.h sys/stat.h sys/syscall.h sys/user.h) -AC_CHECK_HEADERS(sys/wait.h sys/time.h sys/types.h) - - -dnl Common C++ headers -AC_LANG_PUSH(C++) -AC_CHECK_HEADERS(cxxabi.h) -AC_LANG_POP(C++) - -dnl Common C functions -AC_CHECK_FUNCS(getenv system tmpfile tmpnam getcwd _getcwd) -AC_CHECK_FUNCS(backtrace_symbols) -AC_CHECK_FUNCS(gettimeofday usleep) - - -dnl Build mode -ac_cv_my_build_mode="devel" -if test "x${enable_release}" = "xyes"; then - ac_cv_my_build_mode="release" -fi -if test "x${enable_devel}" = "xyes"; then - ac_cv_my_build_mode="devel" -fi -if test "x${enable_debug}" = "xyes"; then - ac_cv_my_build_mode="debug" -fi - -if test "x${ac_cv_my_build_mode}" = "xdebug"; then - AC_DEFINE(LOL_BUILD_DEBUG, 1, Define to 1 to activate debug build) - LOL_TRY_CXXFLAGS(-O, [AM_CXXFLAGS="${AM_CXXFLAGS} -O"]) - LOL_TRY_CXXFLAGS(-g, [AM_CXXFLAGS="${AM_CXXFLAGS} -g"]) -elif test "x${ac_cv_my_build_mode}" = "xdevel"; then - AC_DEFINE(LOL_BUILD_DEVEL, 1, Define to 1 to activate development build) - LOL_TRY_CXXFLAGS(-Os, [AM_CXXFLAGS="${AM_CXXFLAGS} -Os"]) - LOL_TRY_CXXFLAGS(-g, [AM_CXXFLAGS="${AM_CXXFLAGS} -g"]) - LOL_TRY_CXXFLAGS(-ffast-math, [AM_CXXFLAGS="${AM_CXXFLAGS} -ffast-math"]) -else - AC_DEFINE(LOL_BUILD_RELEASE, 1, Define to 1 to activate final release) - LOL_TRY_CXXFLAGS(-Os, [AM_CXXFLAGS="${AM_CXXFLAGS} -Os"]) - LOL_TRY_CXXFLAGS(-ffast-math, [AM_CXXFLAGS="${AM_CXXFLAGS} -ffast-math"]) - LOL_TRY_CXXFLAGS(-fomit-frame-pointer, [AM_CXXFLAGS="${AM_CXXFLAGS} -fomit-frame-pointer"]) - LOL_TRY_CXXFLAGS(-fno-strength-reduce, [AM_CXXFLAGS="${AM_CXXFLAGS} -fno-strength-reduce"]) -fi - - -dnl Build documentation? -DOXYGEN="no" -LATEX="no" -if test "${enable_doc}" != "no" -a "${enable_subproject}" != "yes"; then - AC_PATH_PROG(DOXYGEN, doxygen, no) - if test "${DOXYGEN}" != "no"; then - # Build LaTeX documentation? - AC_PATH_PROG(LATEX, pdflatex, no) - AC_PATH_PROG(KPSEWHICH, kpsewhich, no) - AC_PATH_PROG(DVIPS, dvips, no) - if test "${DVIPS}" = "no" -o "${KPSEWHICH}" = "no"; then - LATEX="no" - fi - if test "${LATEX}" != "no"; then - AC_MSG_CHECKING(for a4.sty and a4wide.sty) - if "${KPSEWHICH}" a4.sty >/dev/null 2>&1; then - if "${KPSEWHICH}" a4wide.sty >/dev/null 2>&1; then - AC_MSG_RESULT(yes) - else - LATEX="no" - AC_MSG_RESULT(no) - fi - else - LATEX="no" - AC_MSG_RESULT(no) - fi - fi - AC_PATH_PROG(DOT, dot, no) - if test "${DOT}" != "no"; then - LOL_USE_DOT="YES" - else - LOL_USE_DOT="NO" - fi - fi -fi -dnl XXX: disable LaTeX because we use too much memory -LATEX=no -AM_CONDITIONAL(BUILD_DOCUMENTATION, test "${DOXYGEN}" != "no") -AM_CONDITIONAL(LOL_USE_LATEX, test "${LATEX}" != "no") -AM_CONDITIONAL(LOL_USE_DOT, test "${DOT}" != "no") -AC_SUBST(LOL_USE_DOT) - - -dnl GCC-specific symbol demangling -AC_LANG_PUSH(C++) -AC_TRY_LINK( - [#include ], - [abi::__cxa_demangle(NULL, 0, 0, NULL);], - [AC_DEFINE(HAVE_CXA_DEMANGLE, 1, Define to 1 if abi::__cxa_demangle is available)]) -AC_LANG_POP(C++) - - -LOL_AC_CHECK() - - -dnl Use libcaca? (required for font generation) -ac_cv_my_have_caca="no" -PKG_CHECK_MODULES(CACA, caca >= 0.99.beta17, [ac_cv_my_have_caca="yes"], [:]) -if test "${ac_cv_my_have_caca}" != "no"; then - AC_DEFINE(LOL_USE_CACA, 1, Define to 1 to use libcaca) -fi -AM_CONDITIONAL(LOL_USE_CACA, test "${ac_cv_my_have_caca}" != "no") - - -dnl Use GTK+? (required for the deushax editor) -ac_cv_my_have_gtkgl="no" -PKG_CHECK_MODULES(GTK, gtk+-2.0, [ac_cv_my_have_gtkgl="yes"], [:]) -PKG_CHECK_MODULES(GTKGL, gtkgl-2.0, [:], [ac_cv_my_have_gtkgl="no"]) -if test "${ac_cv_my_have_gtkgl}" != "no"; then - AC_DEFINE(LOL_USE_GTKGL, 1, Define to 1 to use GtkGl) -fi -AM_CONDITIONAL(LOL_USE_GTKGL, test "${ac_cv_my_have_gtkgl}" != "no") - - -dnl Optional features -AM_CONDITIONAL(BUILD_TEST, test "${enable_test}" != "no" -a "${enable_subproject}" != "yes") -AM_CONDITIONAL(BUILD_TOOLS, test "${enable_tools}" != "no" -a "${enable_subproject}" != "yes") -AM_CONDITIONAL(BUILD_TUTORIAL, test "${enable_tutorial}" != "no" -a "${enable_subproject}" != "yes") -AM_CONDITIONAL(BUILD_SAMPLES, test "${enable_samples}" != "no" -a "${enable_subproject}" != "yes") - - -LOL_AC_FINI() - -AC_CONFIG_HEADER(config.h) - -AC_CONFIG_FILES( - [Makefile - src/Makefile - src/3rdparty/Makefile - src/data/Makefile - src/data/font/Makefile - src/t/Makefile - build/Makefile - binaries/Makefile - doc/Makefile - doc/doxygen.cfg - doc/samples/Makefile - doc/samples/math/Makefile - doc/samples/sandbox/Makefile - doc/tutorial/Makefile - tools/Makefile - tools/lolunit/Makefile - tools/vimlol/Makefile - tools/vslol/Makefile -]) - -AC_OUTPUT - diff --git a/doc/Makefile.am b/doc/Makefile.am deleted file mode 100644 index a3a47be8..00000000 --- a/doc/Makefile.am +++ /dev/null @@ -1,68 +0,0 @@ -include $(top_srcdir)/build/autotools/common.am - -SUBDIRS = -SUBDIRS += tutorial -SUBDIRS += samples - -EXTRA_DIST += doxygen.cfg.in doxygen.css footer.html header.html \ - $(man_MANS) $(doxygen_DOX) -CLEANFILES += doxygen.log stamp-latex stamp-doxygen - -doxygen_DOX = lolengine.dox -if BUILD_DOCUMENTATION -man_MANS = lolengine.1 -endif - -if BUILD_DOCUMENTATION -htmldoc_DATA = html/doxygen.css -htmldocdir = $(datadir)/doc/lolengine-dev/html -if LOL_USE_LATEX -pdfdoc_DATA = latex/lolengine.pdf -pdfdocdir = $(datadir)/doc/lolengine-dev/pdf -endif -endif - -html/doxygen.css html/doxygen.png: stamp-doxygen -latex/lolengine.pdf: stamp-latex - -stamp-doxygen: $(doxygen_DOX) -if BUILD_DOCUMENTATION - doxygen doxygen.cfg 2>&1 | tee doxygen.log - touch stamp-doxygen -endif - -stamp-latex: stamp-doxygen -if BUILD_DOCUMENTATION -if LOL_USE_LATEX - rm -f latex/lolengine.tex latex/lolengine.pdf - $(SED) -i -e 's/setlength{/renewcommand{/' latex/refman.tex - $(SED) -i -e 's/.*usepackage.*times.*//' latex/refman.tex - $(SED) -i -e 's/latex refman/latex -file-line-error -halt-on-error refman/' latex/Makefile - cd latex && $(MAKE) $(AM_CFLAGS) refman.pdf || (cat refman.log; exit 1) - mv latex/refman.pdf latex/lolengine.pdf - touch stamp-latex -endif -endif - -clean-local: - -rm -Rf html latex man - -install-data-local: -if BUILD_DOCUMENTATION - mkdir -p $(DESTDIR)$(datadir)/doc - $(mkinstalldirs) $(DESTDIR)$(datadir)/doc/lolengine-dev/html - cp `find html -name '*.html' -o -name '*.gif' -o -name '*.png'` \ - $(DESTDIR)$(datadir)/doc/lolengine-dev/html - $(mkinstalldirs) $(DESTDIR)$(mandir)/man3 - for man in $$(find man -name '*.3lol'); do \ - sed -e 's/man3lol/man3/g' -e "s/fC'\([a-zA-Z0-9]*\)'/fC\"\1\"/g" \ - $$man >$(DESTDIR)$(mandir)/man3/$${man##*/}; \ - done - $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 -endif - -uninstall-local: - rmdir $(DESTDIR)$(datadir)/doc/lolengine-dev/html 2>/dev/null || true - rmdir $(DESTDIR)$(datadir)/doc/lolengine-dev 2>/dev/null || true - rmdir $(DESTDIR)$(datadir)/doc 2>/dev/null || true - diff --git a/doc/doxygen.cfg.in b/doc/doxygen.cfg.in deleted file mode 100644 index 390226c5..00000000 --- a/doc/doxygen.cfg.in +++ /dev/null @@ -1,2469 +0,0 @@ -# Doxyfile 1.8.13 - -# This file describes the settings to be used by the documentation system -# doxygen (www.doxygen.org) for a project. -# -# All text after a double hash (##) is considered a comment and is placed in -# front of the TAG it is preceding. -# -# All text after a single hash (#) is considered a comment and will be ignored. -# The format is: -# TAG = value [value, ...] -# For lists, items can also be appended using: -# TAG += value [value, ...] -# Values that contain spaces should be placed between quotes (\" \"). - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- - -# This tag specifies the encoding used for all characters in the config file -# that follow. The default is UTF-8 which is also the encoding used for all text -# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv -# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv -# for the list of possible encodings. -# The default value is: UTF-8. - -DOXYFILE_ENCODING = UTF-8 - -# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by -# double-quotes, unless you are using Doxywizard) that should identify the -# project for which the documentation is generated. This name is used in the -# title of most generated pages and in a few other places. -# The default value is: My Project. - -PROJECT_NAME = @PACKAGE@ - -# The PROJECT_NUMBER tag can be used to enter a project or revision number. This -# could be handy for archiving the generated documentation or if some version -# control system is used. - -PROJECT_NUMBER = @VERSION@ - -# Using the PROJECT_BRIEF tag one can provide an optional one line description -# for a project that appears at the top of each page and should give viewer a -# quick idea about the purpose of the project. Keep the description short. - -PROJECT_BRIEF = - -# With the PROJECT_LOGO tag one can specify a logo or an icon that is included -# in the documentation. The maximum height of the logo should not exceed 55 -# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy -# the logo to the output directory. - -PROJECT_LOGO = - -# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path -# into which the generated documentation will be written. If a relative path is -# entered, it will be relative to the location where doxygen was started. If -# left blank the current directory will be used. - -OUTPUT_DIRECTORY = . - -# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- -# directories (in 2 levels) under the output directory of each output format and -# will distribute the generated files over these directories. Enabling this -# option can be useful when feeding doxygen a huge amount of source files, where -# putting all generated files in the same directory would otherwise causes -# performance problems for the file system. -# The default value is: NO. - -CREATE_SUBDIRS = NO - -# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII -# characters to appear in the names of generated files. If set to NO, non-ASCII -# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode -# U+3044. -# The default value is: NO. - -ALLOW_UNICODE_NAMES = NO - -# The OUTPUT_LANGUAGE tag is used to specify the language in which all -# documentation generated by doxygen is written. Doxygen will use this -# information to generate all constant output in the proper language. -# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese, -# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States), -# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian, -# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages), -# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian, -# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian, -# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish, -# Ukrainian and Vietnamese. -# The default value is: English. - -OUTPUT_LANGUAGE = English - -# If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member -# descriptions after the members that are listed in the file and class -# documentation (similar to Javadoc). Set to NO to disable this. -# The default value is: YES. - -BRIEF_MEMBER_DESC = YES - -# If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief -# description of a member or function before the detailed description -# -# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the -# brief descriptions will be completely suppressed. -# The default value is: YES. - -REPEAT_BRIEF = NO - -# This tag implements a quasi-intelligent brief description abbreviator that is -# used to form the text in various listings. Each string in this list, if found -# as the leading text of the brief description, will be stripped from the text -# and the result, after processing the whole list, is used as the annotated -# text. Otherwise, the brief description is used as-is. If left blank, the -# following values are used ($name is automatically replaced with the name of -# the entity):The $name class, The $name widget, The $name file, is, provides, -# specifies, contains, represents, a, an and the. - -ABBREVIATE_BRIEF = - -# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then -# doxygen will generate a detailed section even if there is only a brief -# description. -# The default value is: NO. - -ALWAYS_DETAILED_SEC = NO - -# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all -# inherited members of a class in the documentation of that class as if those -# members were ordinary class members. Constructors, destructors and assignment -# operators of the base classes will not be shown. -# The default value is: NO. - -INLINE_INHERITED_MEMB = NO - -# If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path -# before files name in the file list and in the header files. If set to NO the -# shortest path that makes the file name unique will be used -# The default value is: YES. - -FULL_PATH_NAMES = NO - -# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path. -# Stripping is only done if one of the specified strings matches the left-hand -# part of the path. The tag can be used to show relative paths in the file list. -# If left blank the directory from which doxygen is run is used as the path to -# strip. -# -# Note that you can specify absolute paths here, but also relative paths, which -# will be relative from the directory where doxygen is started. -# This tag requires that the tag FULL_PATH_NAMES is set to YES. - -STRIP_FROM_PATH = - -# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the -# path mentioned in the documentation of a class, which tells the reader which -# header file to include in order to use a class. If left blank only the name of -# the header file containing the class definition is used. Otherwise one should -# specify the list of include paths that are normally passed to the compiler -# using the -I flag. - -STRIP_FROM_INC_PATH = - -# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but -# less readable) file names. This can be useful is your file systems doesn't -# support long names like on DOS, Mac, or CD-ROM. -# The default value is: NO. - -SHORT_NAMES = NO - -# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the -# first line (until the first dot) of a Javadoc-style comment as the brief -# description. If set to NO, the Javadoc-style will behave just like regular Qt- -# style comments (thus requiring an explicit @brief command for a brief -# description.) -# The default value is: NO. - -JAVADOC_AUTOBRIEF = NO - -# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first -# line (until the first dot) of a Qt-style comment as the brief description. If -# set to NO, the Qt-style will behave just like regular Qt-style comments (thus -# requiring an explicit \brief command for a brief description.) -# The default value is: NO. - -QT_AUTOBRIEF = NO - -# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a -# multi-line C++ special comment block (i.e. a block of //! or /// comments) as -# a brief description. This used to be the default behavior. The new default is -# to treat a multi-line C++ comment block as a detailed description. Set this -# tag to YES if you prefer the old behavior instead. -# -# Note that setting this tag to YES also means that rational rose comments are -# not recognized any more. -# The default value is: NO. - -MULTILINE_CPP_IS_BRIEF = NO - -# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the -# documentation from any documented member that it re-implements. -# The default value is: YES. - -INHERIT_DOCS = YES - -# If the SEPARATE_MEMBER_PAGES tag is set to YES then doxygen will produce a new -# page for each member. If set to NO, the documentation of a member will be part -# of the file/class/namespace that contains it. -# The default value is: NO. - -SEPARATE_MEMBER_PAGES = NO - -# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen -# uses this value to replace tabs by spaces in code fragments. -# Minimum value: 1, maximum value: 16, default value: 4. - -TAB_SIZE = 8 - -# This tag can be used to specify a number of aliases that act as commands in -# the documentation. An alias has the form: -# name=value -# For example adding -# "sideeffect=@par Side Effects:\n" -# will allow you to put the command \sideeffect (or @sideeffect) in the -# documentation, which will result in a user-defined paragraph with heading -# "Side Effects:". You can put \n's in the value part of an alias to insert -# newlines. - -ALIASES = - -# This tag can be used to specify a number of word-keyword mappings (TCL only). -# A mapping has the form "name=value". For example adding "class=itcl::class" -# will allow you to use the command class in the itcl::class meaning. - -TCL_SUBST = - -# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources -# only. Doxygen will then generate output that is more tailored for C. For -# instance, some of the names that are used will be different. The list of all -# members will be omitted, etc. -# The default value is: NO. - -OPTIMIZE_OUTPUT_FOR_C = NO - -# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or -# Python sources only. Doxygen will then generate output that is more tailored -# for that language. For instance, namespaces will be presented as packages, -# qualified scopes will look different, etc. -# The default value is: NO. - -OPTIMIZE_OUTPUT_JAVA = NO - -# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran -# sources. Doxygen will then generate output that is tailored for Fortran. -# The default value is: NO. - -OPTIMIZE_FOR_FORTRAN = NO - -# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL -# sources. Doxygen will then generate output that is tailored for VHDL. -# The default value is: NO. - -OPTIMIZE_OUTPUT_VHDL = NO - -# Doxygen selects the parser to use depending on the extension of the files it -# parses. With this tag you can assign which parser to use for a given -# extension. Doxygen has a built-in mapping, but you can override or extend it -# using this tag. The format is ext=language, where ext is a file extension, and -# language is one of the parsers supported by doxygen: IDL, Java, Javascript, -# C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran: -# FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran: -# Fortran. In the later case the parser tries to guess whether the code is fixed -# or free formatted code, this is the default for Fortran type files), VHDL. For -# instance to make doxygen treat .inc files as Fortran files (default is PHP), -# and .f files as C (default is Fortran), use: inc=Fortran f=C. -# -# Note: For files without extension you can use no_extension as a placeholder. -# -# Note that for custom extensions you also need to set FILE_PATTERNS otherwise -# the files are not read by doxygen. - -EXTENSION_MAPPING = - -# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments -# according to the Markdown format, which allows for more readable -# documentation. See http://daringfireball.net/projects/markdown/ for details. -# The output of markdown processing is further processed by doxygen, so you can -# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in -# case of backward compatibilities issues. -# The default value is: YES. - -MARKDOWN_SUPPORT = YES - -# When the TOC_INCLUDE_HEADINGS tag is set to a non-zero value, all headings up -# to that level are automatically included in the table of contents, even if -# they do not have an id attribute. -# Note: This feature currently applies only to Markdown headings. -# Minimum value: 0, maximum value: 99, default value: 0. -# This tag requires that the tag MARKDOWN_SUPPORT is set to YES. - -TOC_INCLUDE_HEADINGS = 0 - -# When enabled doxygen tries to link words that correspond to documented -# classes, or namespaces to their corresponding documentation. Such a link can -# be prevented in individual cases by putting a % sign in front of the word or -# globally by setting AUTOLINK_SUPPORT to NO. -# The default value is: YES. - -AUTOLINK_SUPPORT = YES - -# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want -# to include (a tag file for) the STL sources as input, then you should set this -# tag to YES in order to let doxygen match functions declarations and -# definitions whose arguments contain STL classes (e.g. func(std::string); -# versus func(std::string) {}). This also make the inheritance and collaboration -# diagrams that involve STL classes more complete and accurate. -# The default value is: NO. - -BUILTIN_STL_SUPPORT = NO - -# If you use Microsoft's C++/CLI language, you should set this option to YES to -# enable parsing support. -# The default value is: NO. - -CPP_CLI_SUPPORT = NO - -# Set the SIP_SUPPORT tag to YES if your project consists of sip (see: -# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen -# will parse them like normal C++ but will assume all classes use public instead -# of private inheritance when no explicit protection keyword is present. -# The default value is: NO. - -SIP_SUPPORT = NO - -# For Microsoft's IDL there are propget and propput attributes to indicate -# getter and setter methods for a property. Setting this option to YES will make -# doxygen to replace the get and set methods by a property in the documentation. -# This will only work if the methods are indeed getting or setting a simple -# type. If this is not the case, or you want to show the methods anyway, you -# should set this option to NO. -# The default value is: YES. - -IDL_PROPERTY_SUPPORT = YES - -# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC -# tag is set to YES then doxygen will reuse the documentation of the first -# member in the group (if any) for the other members of the group. By default -# all members of a group must be documented explicitly. -# The default value is: NO. - -DISTRIBUTE_GROUP_DOC = NO - -# If one adds a struct or class to a group and this option is enabled, then also -# any nested class or struct is added to the same group. By default this option -# is disabled and one has to add nested compounds explicitly via \ingroup. -# The default value is: NO. - -GROUP_NESTED_COMPOUNDS = NO - -# Set the SUBGROUPING tag to YES to allow class member groups of the same type -# (for instance a group of public functions) to be put as a subgroup of that -# type (e.g. under the Public Functions section). Set it to NO to prevent -# subgrouping. Alternatively, this can be done per class using the -# \nosubgrouping command. -# The default value is: YES. - -SUBGROUPING = YES - -# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions -# are shown inside the group in which they are included (e.g. using \ingroup) -# instead of on a separate page (for HTML and Man pages) or section (for LaTeX -# and RTF). -# -# Note that this feature does not work in combination with -# SEPARATE_MEMBER_PAGES. -# The default value is: NO. - -INLINE_GROUPED_CLASSES = NO - -# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions -# with only public data fields or simple typedef fields will be shown inline in -# the documentation of the scope in which they are defined (i.e. file, -# namespace, or group documentation), provided this scope is documented. If set -# to NO, structs, classes, and unions are shown on a separate page (for HTML and -# Man pages) or section (for LaTeX and RTF). -# The default value is: NO. - -INLINE_SIMPLE_STRUCTS = NO - -# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or -# enum is documented as struct, union, or enum with the name of the typedef. So -# typedef struct TypeS {} TypeT, will appear in the documentation as a struct -# with name TypeT. When disabled the typedef will appear as a member of a file, -# namespace, or class. And the struct will be named TypeS. This can typically be -# useful for C code in case the coding convention dictates that all compound -# types are typedef'ed and only the typedef is referenced, never the tag name. -# The default value is: NO. - -TYPEDEF_HIDES_STRUCT = NO - -# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This -# cache is used to resolve symbols given their name and scope. Since this can be -# an expensive process and often the same symbol appears multiple times in the -# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small -# doxygen will become slower. If the cache is too large, memory is wasted. The -# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range -# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536 -# symbols. At the end of a run doxygen will report the cache usage and suggest -# the optimal cache size from a speed point of view. -# Minimum value: 0, maximum value: 9, default value: 0. - -LOOKUP_CACHE_SIZE = 0 - -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- - -# If the EXTRACT_ALL tag is set to YES, doxygen will assume all entities in -# documentation are documented, even if no documentation was available. Private -# class members and static file members will be hidden unless the -# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES. -# Note: This will also disable the warnings about undocumented members that are -# normally produced when WARNINGS is set to YES. -# The default value is: NO. - -EXTRACT_ALL = NO - -# If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will -# be included in the documentation. -# The default value is: NO. - -EXTRACT_PRIVATE = NO - -# If the EXTRACT_PACKAGE tag is set to YES, all members with package or internal -# scope will be included in the documentation. -# The default value is: NO. - -EXTRACT_PACKAGE = NO - -# If the EXTRACT_STATIC tag is set to YES, all static members of a file will be -# included in the documentation. -# The default value is: NO. - -EXTRACT_STATIC = NO - -# If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined -# locally in source files will be included in the documentation. If set to NO, -# only classes defined in header files are included. Does not have any effect -# for Java sources. -# The default value is: YES. - -EXTRACT_LOCAL_CLASSES = NO - -# This flag is only useful for Objective-C code. If set to YES, local methods, -# which are defined in the implementation section but not in the interface are -# included in the documentation. If set to NO, only methods in the interface are -# included. -# The default value is: NO. - -EXTRACT_LOCAL_METHODS = NO - -# If this flag is set to YES, the members of anonymous namespaces will be -# extracted and appear in the documentation as a namespace called -# 'anonymous_namespace{file}', where file will be replaced with the base name of -# the file that contains the anonymous namespace. By default anonymous namespace -# are hidden. -# The default value is: NO. - -EXTRACT_ANON_NSPACES = NO - -# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all -# undocumented members inside documented classes or files. If set to NO these -# members will be included in the various overviews, but no documentation -# section is generated. This option has no effect if EXTRACT_ALL is enabled. -# The default value is: NO. - -HIDE_UNDOC_MEMBERS = NO - -# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all -# undocumented classes that are normally visible in the class hierarchy. If set -# to NO, these classes will be included in the various overviews. This option -# has no effect if EXTRACT_ALL is enabled. -# The default value is: NO. - -HIDE_UNDOC_CLASSES = NO - -# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend -# (class|struct|union) declarations. If set to NO, these declarations will be -# included in the documentation. -# The default value is: NO. - -HIDE_FRIEND_COMPOUNDS = NO - -# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any -# documentation blocks found inside the body of a function. If set to NO, these -# blocks will be appended to the function's detailed documentation block. -# The default value is: NO. - -HIDE_IN_BODY_DOCS = NO - -# The INTERNAL_DOCS tag determines if documentation that is typed after a -# \internal command is included. If the tag is set to NO then the documentation -# will be excluded. Set it to YES to include the internal documentation. -# The default value is: NO. - -INTERNAL_DOCS = NO - -# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file -# names in lower-case letters. If set to YES, upper-case letters are also -# allowed. This is useful if you have classes or files whose names only differ -# in case and if your file system supports case sensitive file names. Windows -# and Mac users are advised to set this option to NO. -# The default value is: system dependent. - -CASE_SENSE_NAMES = NO - -# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with -# their full class and namespace scopes in the documentation. If set to YES, the -# scope will be hidden. -# The default value is: NO. - -HIDE_SCOPE_NAMES = NO - -# If the HIDE_COMPOUND_REFERENCE tag is set to NO (default) then doxygen will -# append additional text to a page's title, such as Class Reference. If set to -# YES the compound reference will be hidden. -# The default value is: NO. - -HIDE_COMPOUND_REFERENCE= NO - -# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of -# the files that are included by a file in the documentation of that file. -# The default value is: YES. - -SHOW_INCLUDE_FILES = NO - -# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each -# grouped member an include statement to the documentation, telling the reader -# which file to include in order to use the member. -# The default value is: NO. - -SHOW_GROUPED_MEMB_INC = NO - -# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include -# files with double quotes in the documentation rather than with sharp brackets. -# The default value is: NO. - -FORCE_LOCAL_INCLUDES = NO - -# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the -# documentation for inline members. -# The default value is: YES. - -INLINE_INFO = YES - -# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the -# (detailed) documentation of file and class members alphabetically by member -# name. If set to NO, the members will appear in declaration order. -# The default value is: YES. - -SORT_MEMBER_DOCS = NO - -# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief -# descriptions of file, namespace and class members alphabetically by member -# name. If set to NO, the members will appear in declaration order. Note that -# this will also influence the order of the classes in the class list. -# The default value is: NO. - -SORT_BRIEF_DOCS = NO - -# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the -# (brief and detailed) documentation of class members so that constructors and -# destructors are listed first. If set to NO the constructors will appear in the -# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS. -# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief -# member documentation. -# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting -# detailed member documentation. -# The default value is: NO. - -SORT_MEMBERS_CTORS_1ST = NO - -# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy -# of group names into alphabetical order. If set to NO the group names will -# appear in their defined order. -# The default value is: NO. - -SORT_GROUP_NAMES = NO - -# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by -# fully-qualified names, including namespaces. If set to NO, the class list will -# be sorted only by class name, not including the namespace part. -# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. -# Note: This option applies only to the class list, not to the alphabetical -# list. -# The default value is: NO. - -SORT_BY_SCOPE_NAME = NO - -# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper -# type resolution of all parameters of a function it will reject a match between -# the prototype and the implementation of a member function even if there is -# only one candidate or it is obvious which candidate to choose by doing a -# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still -# accept a match between prototype and implementation in such cases. -# The default value is: NO. - -STRICT_PROTO_MATCHING = NO - -# The GENERATE_TODOLIST tag can be used to enable (YES) or disable (NO) the todo -# list. This list is created by putting \todo commands in the documentation. -# The default value is: YES. - -GENERATE_TODOLIST = YES - -# The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test -# list. This list is created by putting \test commands in the documentation. -# The default value is: YES. - -GENERATE_TESTLIST = YES - -# The GENERATE_BUGLIST tag can be used to enable (YES) or disable (NO) the bug -# list. This list is created by putting \bug commands in the documentation. -# The default value is: YES. - -GENERATE_BUGLIST = YES - -# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO) -# the deprecated list. This list is created by putting \deprecated commands in -# the documentation. -# The default value is: YES. - -GENERATE_DEPRECATEDLIST= YES - -# The ENABLED_SECTIONS tag can be used to enable conditional documentation -# sections, marked by \if ... \endif and \cond -# ... \endcond blocks. - -ENABLED_SECTIONS = - -# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the -# initial value of a variable or macro / define can have for it to appear in the -# documentation. If the initializer consists of more lines than specified here -# it will be hidden. Use a value of 0 to hide initializers completely. The -# appearance of the value of individual variables and macros / defines can be -# controlled using \showinitializer or \hideinitializer command in the -# documentation regardless of this setting. -# Minimum value: 0, maximum value: 10000, default value: 30. - -MAX_INITIALIZER_LINES = 30 - -# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at -# the bottom of the documentation of classes and structs. If set to YES, the -# list will mention the files that were used to generate the documentation. -# The default value is: YES. - -SHOW_USED_FILES = NO - -# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This -# will remove the Files entry from the Quick Index and from the Folder Tree View -# (if specified). -# The default value is: YES. - -SHOW_FILES = YES - -# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces -# page. This will remove the Namespaces entry from the Quick Index and from the -# Folder Tree View (if specified). -# The default value is: YES. - -SHOW_NAMESPACES = YES - -# The FILE_VERSION_FILTER tag can be used to specify a program or script that -# doxygen should invoke to get the current version for each file (typically from -# the version control system). Doxygen will invoke the program by executing (via -# popen()) the command command input-file, where command is the value of the -# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided -# by doxygen. Whatever the program writes to standard output is used as the file -# version. For an example see the documentation. - -FILE_VERSION_FILTER = - -# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed -# by doxygen. The layout file controls the global structure of the generated -# output files in an output format independent way. To create the layout file -# that represents doxygen's defaults, run doxygen with the -l option. You can -# optionally specify a file name after the option, if omitted DoxygenLayout.xml -# will be used as the name of the layout file. -# -# Note that if you run doxygen from a directory containing a file called -# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE -# tag is left empty. - -LAYOUT_FILE = - -# The CITE_BIB_FILES tag can be used to specify one or more bib files containing -# the reference definitions. This must be a list of .bib files. The .bib -# extension is automatically appended if omitted. This requires the bibtex tool -# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info. -# For LaTeX the style of the bibliography can be controlled using -# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the -# search path. See also \cite for info how to create references. - -CITE_BIB_FILES = - -#--------------------------------------------------------------------------- -# Configuration options related to warning and progress messages -#--------------------------------------------------------------------------- - -# The QUIET tag can be used to turn on/off the messages that are generated to -# standard output by doxygen. If QUIET is set to YES this implies that the -# messages are off. -# The default value is: NO. - -QUIET = NO - -# The WARNINGS tag can be used to turn on/off the warning messages that are -# generated to standard error (stderr) by doxygen. If WARNINGS is set to YES -# this implies that the warnings are on. -# -# Tip: Turn warnings on while writing the documentation. -# The default value is: YES. - -WARNINGS = YES - -# If the WARN_IF_UNDOCUMENTED tag is set to YES then doxygen will generate -# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag -# will automatically be disabled. -# The default value is: YES. - -WARN_IF_UNDOCUMENTED = YES - -# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for -# potential errors in the documentation, such as not documenting some parameters -# in a documented function, or documenting parameters that don't exist or using -# markup commands wrongly. -# The default value is: YES. - -WARN_IF_DOC_ERROR = YES - -# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that -# are documented, but have no documentation for their parameters or return -# value. If set to NO, doxygen will only warn about wrong or incomplete -# parameter documentation, but not about the absence of documentation. -# The default value is: NO. - -WARN_NO_PARAMDOC = NO - -# If the WARN_AS_ERROR tag is set to YES then doxygen will immediately stop when -# a warning is encountered. -# The default value is: NO. - -WARN_AS_ERROR = NO - -# The WARN_FORMAT tag determines the format of the warning messages that doxygen -# can produce. The string should contain the $file, $line, and $text tags, which -# will be replaced by the file and line number from which the warning originated -# and the warning text. Optionally the format may contain $version, which will -# be replaced by the version of the file (if it could be obtained via -# FILE_VERSION_FILTER) -# The default value is: $file:$line: $text. - -WARN_FORMAT = "$file:$line: $text " - -# The WARN_LOGFILE tag can be used to specify a file to which warning and error -# messages should be written. If left blank the output is written to standard -# error (stderr). - -WARN_LOGFILE = - -#--------------------------------------------------------------------------- -# Configuration options related to the input files -#--------------------------------------------------------------------------- - -# The INPUT tag is used to specify the files and/or directories that contain -# documented source files. You may enter file names like myfile.cpp or -# directories like /usr/src/myproject. Separate the files or directories with -# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING -# Note: If this tag is empty the current directory is searched. - -INPUT = .. \ - ../doc \ - ../src \ - ../src/application \ - ../src/core \ - ../src/data \ - ../src/debug \ - ../src/easymesh \ - ../src/gpu \ - ../src/image \ - ../src/lol \ - ../src/lol/math \ - ../src/lol/core \ - ../src/math \ - ../src/mesh \ - ../src/platform \ - ../src/platform/android \ - ../src/platform/sdl \ - ../src/platform/xbox \ - ../src/thread \ - ../src/ui - -# This tag can be used to specify the character encoding of the source files -# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses -# libiconv (or the iconv built into libc) for the transcoding. See the libiconv -# documentation (see: http://www.gnu.org/software/libiconv) for the list of -# possible encodings. -# The default value is: UTF-8. - -INPUT_ENCODING = UTF-8 - -# If the value of the INPUT tag contains directories, you can use the -# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and -# *.h) to filter out the source-files in the directories. -# -# Note that for custom extensions or not directly supported extensions you also -# need to set EXTENSION_MAPPING for the extension otherwise the files are not -# read by doxygen. -# -# If left blank the following patterns are tested:*.c, *.cc, *.cxx, *.cpp, -# *.c++, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, -# *.hh, *.hxx, *.hpp, *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, -# *.m, *.markdown, *.md, *.mm, *.dox, *.py, *.pyw, *.f90, *.f95, *.f03, *.f08, -# *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf and *.qsf. - -FILE_PATTERNS = *.dox \ - *.cpp \ - *.h \ - AUTHORS \ - NEWS \ - README \ - THANKS - -# The RECURSIVE tag can be used to specify whether or not subdirectories should -# be searched for input files as well. -# The default value is: NO. - -RECURSIVE = NO - -# The EXCLUDE tag can be used to specify files and/or directories that should be -# excluded from the INPUT source files. This way you can easily exclude a -# subdirectory from a directory tree whose root is specified with the INPUT tag. -# -# Note that relative paths are relative to the directory from which doxygen is -# run. - -EXCLUDE = - -# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or -# directories that are symbolic links (a Unix file system feature) are excluded -# from the input. -# The default value is: NO. - -EXCLUDE_SYMLINKS = NO - -# If the value of the INPUT tag contains directories, you can use the -# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude -# certain files from those directories. -# -# Note that the wildcards are matched against the file with absolute path, so to -# exclude all test directories for example use the pattern */test/* - -EXCLUDE_PATTERNS = - -# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names -# (namespaces, classes, functions, etc.) that should be excluded from the -# output. The symbol name can be a fully qualified name, a word, or if the -# wildcard * is used, a substring. Examples: ANamespace, AClass, -# AClass::ANamespace, ANamespace::*Test -# -# Note that the wildcards are matched against the file with absolute path, so to -# exclude all test directories use the pattern */test/* - -EXCLUDE_SYMBOLS = - -# The EXAMPLE_PATH tag can be used to specify one or more files or directories -# that contain example code fragments that are included (see the \include -# command). - -EXAMPLE_PATH = - -# If the value of the EXAMPLE_PATH tag contains directories, you can use the -# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and -# *.h) to filter out the source-files in the directories. If left blank all -# files are included. - -EXAMPLE_PATTERNS = - -# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be -# searched for input files to be used with the \include or \dontinclude commands -# irrespective of the value of the RECURSIVE tag. -# The default value is: NO. - -EXAMPLE_RECURSIVE = NO - -# The IMAGE_PATH tag can be used to specify one or more files or directories -# that contain images that are to be included in the documentation (see the -# \image command). - -IMAGE_PATH = - -# The INPUT_FILTER tag can be used to specify a program that doxygen should -# invoke to filter for each input file. Doxygen will invoke the filter program -# by executing (via popen()) the command: -# -# -# -# where is the value of the INPUT_FILTER tag, and is the -# name of an input file. Doxygen will then use the output that the filter -# program writes to standard output. If FILTER_PATTERNS is specified, this tag -# will be ignored. -# -# Note that the filter must not add or remove lines; it is applied before the -# code is scanned, but not when the output code is generated. If lines are added -# or removed, the anchors will not be placed correctly. -# -# Note that for custom extensions or not directly supported extensions you also -# need to set EXTENSION_MAPPING for the extension otherwise the files are not -# properly processed by doxygen. - -INPUT_FILTER = - -# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern -# basis. Doxygen will compare the file name with each pattern and apply the -# filter if there is a match. The filters are a list of the form: pattern=filter -# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how -# filters are used. If the FILTER_PATTERNS tag is empty or if none of the -# patterns match the file name, INPUT_FILTER is applied. -# -# Note that for custom extensions or not directly supported extensions you also -# need to set EXTENSION_MAPPING for the extension otherwise the files are not -# properly processed by doxygen. - -FILTER_PATTERNS = - -# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using -# INPUT_FILTER) will also be used to filter the input files that are used for -# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES). -# The default value is: NO. - -FILTER_SOURCE_FILES = NO - -# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file -# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and -# it is also possible to disable source filtering for a specific pattern using -# *.ext= (so without naming a filter). -# This tag requires that the tag FILTER_SOURCE_FILES is set to YES. - -FILTER_SOURCE_PATTERNS = - -# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that -# is part of the input, its contents will be placed on the main page -# (index.html). This can be useful if you have a project on for instance GitHub -# and want to reuse the introduction page also for the doxygen output. - -USE_MDFILE_AS_MAINPAGE = - -#--------------------------------------------------------------------------- -# Configuration options related to source browsing -#--------------------------------------------------------------------------- - -# If the SOURCE_BROWSER tag is set to YES then a list of source files will be -# generated. Documented entities will be cross-referenced with these sources. -# -# Note: To get rid of all source code in the generated output, make sure that -# also VERBATIM_HEADERS is set to NO. -# The default value is: NO. - -SOURCE_BROWSER = NO - -# Setting the INLINE_SOURCES tag to YES will include the body of functions, -# classes and enums directly into the documentation. -# The default value is: NO. - -INLINE_SOURCES = NO - -# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any -# special comment blocks from generated source code fragments. Normal C, C++ and -# Fortran comments will always remain visible. -# The default value is: YES. - -STRIP_CODE_COMMENTS = YES - -# If the REFERENCED_BY_RELATION tag is set to YES then for each documented -# function all documented functions referencing it will be listed. -# The default value is: NO. - -REFERENCED_BY_RELATION = YES - -# If the REFERENCES_RELATION tag is set to YES then for each documented function -# all documented entities called/used by that function will be listed. -# The default value is: NO. - -REFERENCES_RELATION = YES - -# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set -# to YES then the hyperlinks from functions in REFERENCES_RELATION and -# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will -# link to the documentation. -# The default value is: YES. - -REFERENCES_LINK_SOURCE = YES - -# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the -# source code will show a tooltip with additional information such as prototype, -# brief description and links to the definition and documentation. Since this -# will make the HTML file larger and loading of large files a bit slower, you -# can opt to disable this feature. -# The default value is: YES. -# This tag requires that the tag SOURCE_BROWSER is set to YES. - -SOURCE_TOOLTIPS = YES - -# If the USE_HTAGS tag is set to YES then the references to source code will -# point to the HTML generated by the htags(1) tool instead of doxygen built-in -# source browser. The htags tool is part of GNU's global source tagging system -# (see http://www.gnu.org/software/global/global.html). You will need version -# 4.8.6 or higher. -# -# To use it do the following: -# - Install the latest version of global -# - Enable SOURCE_BROWSER and USE_HTAGS in the config file -# - Make sure the INPUT points to the root of the source tree -# - Run doxygen as normal -# -# Doxygen will invoke htags (and that will in turn invoke gtags), so these -# tools must be available from the command line (i.e. in the search path). -# -# The result: instead of the source browser generated by doxygen, the links to -# source code will now point to the output of htags. -# The default value is: NO. -# This tag requires that the tag SOURCE_BROWSER is set to YES. - -USE_HTAGS = NO - -# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a -# verbatim copy of the header file for each class for which an include is -# specified. Set to NO to disable this. -# See also: Section \class. -# The default value is: YES. - -VERBATIM_HEADERS = NO - -# If the CLANG_ASSISTED_PARSING tag is set to YES then doxygen will use the -# clang parser (see: http://clang.llvm.org/) for more accurate parsing at the -# cost of reduced performance. This can be particularly helpful with template -# rich C++ code for which doxygen's built-in parser lacks the necessary type -# information. -# Note: The availability of this option depends on whether or not doxygen was -# generated with the -Duse-libclang=ON option for CMake. -# The default value is: NO. - -CLANG_ASSISTED_PARSING = NO - -# If clang assisted parsing is enabled you can provide the compiler with command -# line options that you would normally use when invoking the compiler. Note that -# the include paths will already be set by doxygen for the files and directories -# specified with INPUT and INCLUDE_PATH. -# This tag requires that the tag CLANG_ASSISTED_PARSING is set to YES. - -CLANG_OPTIONS = - -#--------------------------------------------------------------------------- -# Configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- - -# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all -# compounds will be generated. Enable this if the project contains a lot of -# classes, structs, unions or interfaces. -# The default value is: YES. - -ALPHABETICAL_INDEX = NO - -# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in -# which the alphabetical index list will be split. -# Minimum value: 1, maximum value: 20, default value: 5. -# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. - -COLS_IN_ALPHA_INDEX = 5 - -# In case all classes in a project start with a common prefix, all classes will -# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag -# can be used to specify a prefix (or a list of prefixes) that should be ignored -# while generating the index headers. -# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. - -IGNORE_PREFIX = - -#--------------------------------------------------------------------------- -# Configuration options related to the HTML output -#--------------------------------------------------------------------------- - -# If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output -# The default value is: YES. - -GENERATE_HTML = YES - -# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a -# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of -# it. -# The default directory is: html. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_OUTPUT = html - -# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each -# generated HTML page (for example: .htm, .php, .asp). -# The default value is: .html. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_FILE_EXTENSION = .html - -# The HTML_HEADER tag can be used to specify a user-defined HTML header file for -# each generated HTML page. If the tag is left blank doxygen will generate a -# standard header. -# -# To get valid HTML the header file that includes any scripts and style sheets -# that doxygen needs, which is dependent on the configuration options used (e.g. -# the setting GENERATE_TREEVIEW). It is highly recommended to start with a -# default header using -# doxygen -w html new_header.html new_footer.html new_stylesheet.css -# YourConfigFile -# and then modify the file new_header.html. See also section "Doxygen usage" -# for information on how to generate the default header that doxygen normally -# uses. -# Note: The header is subject to change so you typically have to regenerate the -# default header when upgrading to a newer version of doxygen. For a description -# of the possible markers and block names see the documentation. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_HEADER = @srcdir@/header.html - -# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each -# generated HTML page. If the tag is left blank doxygen will generate a standard -# footer. See HTML_HEADER for more information on how to generate a default -# footer and what special commands can be used inside the footer. See also -# section "Doxygen usage" for information on how to generate the default footer -# that doxygen normally uses. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_FOOTER = @srcdir@/footer.html - -# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style -# sheet that is used by each HTML page. It can be used to fine-tune the look of -# the HTML output. If left blank doxygen will generate a default style sheet. -# See also section "Doxygen usage" for information on how to generate the style -# sheet that doxygen normally uses. -# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as -# it is more robust and this tag (HTML_STYLESHEET) will in the future become -# obsolete. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_STYLESHEET = doxygen.css - -# The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined -# cascading style sheets that are included after the standard style sheets -# created by doxygen. Using this option one can overrule certain style aspects. -# This is preferred over using HTML_STYLESHEET since it does not replace the -# standard style sheet and is therefore more robust against future updates. -# Doxygen will copy the style sheet files to the output directory. -# Note: The order of the extra style sheet files is of importance (e.g. the last -# style sheet in the list overrules the setting of the previous ones in the -# list). For an example see the documentation. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_EXTRA_STYLESHEET = - -# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or -# other source files which should be copied to the HTML output directory. Note -# that these files will be copied to the base HTML output directory. Use the -# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these -# files. In the HTML_STYLESHEET file, use the file name only. Also note that the -# files will be copied as-is; there are no commands or markers available. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_EXTRA_FILES = - -# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen -# will adjust the colors in the style sheet and background images according to -# this color. Hue is specified as an angle on a colorwheel, see -# http://en.wikipedia.org/wiki/Hue for more information. For instance the value -# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300 -# purple, and 360 is red again. -# Minimum value: 0, maximum value: 359, default value: 220. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_COLORSTYLE_HUE = 220 - -# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors -# in the HTML output. For a value of 0 the output will use grayscales only. A -# value of 255 will produce the most vivid colors. -# Minimum value: 0, maximum value: 255, default value: 100. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_COLORSTYLE_SAT = 100 - -# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the -# luminance component of the colors in the HTML output. Values below 100 -# gradually make the output lighter, whereas values above 100 make the output -# darker. The value divided by 100 is the actual gamma applied, so 80 represents -# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not -# change the gamma. -# Minimum value: 40, maximum value: 240, default value: 80. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_COLORSTYLE_GAMMA = 80 - -# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML -# page will contain the date and time when the page was generated. Setting this -# to YES can help to show when doxygen was last run and thus if the -# documentation is up to date. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_TIMESTAMP = NO - -# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML -# documentation will contain sections that can be hidden and shown after the -# page has loaded. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_DYNAMIC_SECTIONS = NO - -# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries -# shown in the various tree structured indices initially; the user can expand -# and collapse entries dynamically later on. Doxygen will expand the tree to -# such a level that at most the specified number of entries are visible (unless -# a fully collapsed tree already exceeds this amount). So setting the number of -# entries 1 will produce a full collapsed tree by default. 0 is a special value -# representing an infinite number of entries and will result in a full expanded -# tree by default. -# Minimum value: 0, maximum value: 9999, default value: 100. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_INDEX_NUM_ENTRIES = 100 - -# If the GENERATE_DOCSET tag is set to YES, additional index files will be -# generated that can be used as input for Apple's Xcode 3 integrated development -# environment (see: http://developer.apple.com/tools/xcode/), introduced with -# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a -# Makefile in the HTML output directory. Running make will produce the docset in -# that directory and running make install will install the docset in -# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at -# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html -# for more information. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_DOCSET = NO - -# This tag determines the name of the docset feed. A documentation feed provides -# an umbrella under which multiple documentation sets from a single provider -# (such as a company or product suite) can be grouped. -# The default value is: Doxygen generated docs. -# This tag requires that the tag GENERATE_DOCSET is set to YES. - -DOCSET_FEEDNAME = "Doxygen generated docs" - -# This tag specifies a string that should uniquely identify the documentation -# set bundle. This should be a reverse domain-name style string, e.g. -# com.mycompany.MyDocSet. Doxygen will append .docset to the name. -# The default value is: org.doxygen.Project. -# This tag requires that the tag GENERATE_DOCSET is set to YES. - -DOCSET_BUNDLE_ID = org.doxygen.Project - -# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify -# the documentation publisher. This should be a reverse domain-name style -# string, e.g. com.mycompany.MyDocSet.documentation. -# The default value is: org.doxygen.Publisher. -# This tag requires that the tag GENERATE_DOCSET is set to YES. - -DOCSET_PUBLISHER_ID = org.doxygen.Publisher - -# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher. -# The default value is: Publisher. -# This tag requires that the tag GENERATE_DOCSET is set to YES. - -DOCSET_PUBLISHER_NAME = Publisher - -# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three -# additional HTML index files: index.hhp, index.hhc, and index.hhk. The -# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop -# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on -# Windows. -# -# The HTML Help Workshop contains a compiler that can convert all HTML output -# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML -# files are now used as the Windows 98 help format, and will replace the old -# Windows help format (.hlp) on all Windows platforms in the future. Compressed -# HTML files also contain an index, a table of contents, and you can search for -# words in the documentation. The HTML workshop also contains a viewer for -# compressed HTML files. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_HTMLHELP = NO - -# The CHM_FILE tag can be used to specify the file name of the resulting .chm -# file. You can add a path in front of the file if the result should not be -# written to the html output directory. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -CHM_FILE = - -# The HHC_LOCATION tag can be used to specify the location (absolute path -# including file name) of the HTML help compiler (hhc.exe). If non-empty, -# doxygen will try to run the HTML help compiler on the generated index.hhp. -# The file has to be specified with full path. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -HHC_LOCATION = - -# The GENERATE_CHI flag controls if a separate .chi index file is generated -# (YES) or that it should be included in the master .chm file (NO). -# The default value is: NO. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -GENERATE_CHI = NO - -# The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc) -# and project file content. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -CHM_INDEX_ENCODING = - -# The BINARY_TOC flag controls whether a binary table of contents is generated -# (YES) or a normal table of contents (NO) in the .chm file. Furthermore it -# enables the Previous and Next buttons. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -BINARY_TOC = NO - -# The TOC_EXPAND flag can be set to YES to add extra items for group members to -# the table of contents of the HTML help documentation and to the tree view. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -TOC_EXPAND = NO - -# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and -# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that -# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help -# (.qch) of the generated HTML documentation. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_QHP = NO - -# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify -# the file name of the resulting .qch file. The path specified is relative to -# the HTML output folder. -# This tag requires that the tag GENERATE_QHP is set to YES. - -QCH_FILE = - -# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help -# Project output. For more information please see Qt Help Project / Namespace -# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace). -# The default value is: org.doxygen.Project. -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_NAMESPACE = - -# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt -# Help Project output. For more information please see Qt Help Project / Virtual -# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual- -# folders). -# The default value is: doc. -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_VIRTUAL_FOLDER = doc - -# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom -# filter to add. For more information please see Qt Help Project / Custom -# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- -# filters). -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_CUST_FILTER_NAME = - -# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the -# custom filter to add. For more information please see Qt Help Project / Custom -# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- -# filters). -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_CUST_FILTER_ATTRS = - -# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this -# project's filter section matches. Qt Help Project / Filter Attributes (see: -# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes). -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_SECT_FILTER_ATTRS = - -# The QHG_LOCATION tag can be used to specify the location of Qt's -# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the -# generated .qhp file. -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHG_LOCATION = - -# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be -# generated, together with the HTML files, they form an Eclipse help plugin. To -# install this plugin and make it available under the help contents menu in -# Eclipse, the contents of the directory containing the HTML and XML files needs -# to be copied into the plugins directory of eclipse. The name of the directory -# within the plugins directory should be the same as the ECLIPSE_DOC_ID value. -# After copying Eclipse needs to be restarted before the help appears. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_ECLIPSEHELP = NO - -# A unique identifier for the Eclipse help plugin. When installing the plugin -# the directory name containing the HTML and XML files should also have this -# name. Each documentation set should have its own identifier. -# The default value is: org.doxygen.Project. -# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES. - -ECLIPSE_DOC_ID = org.doxygen.Project - -# If you want full control over the layout of the generated HTML pages it might -# be necessary to disable the index and replace it with your own. The -# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top -# of each HTML page. A value of NO enables the index and the value YES disables -# it. Since the tabs in the index contain the same information as the navigation -# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -DISABLE_INDEX = YES - -# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index -# structure should be generated to display hierarchical information. If the tag -# value is set to YES, a side panel will be generated containing a tree-like -# index structure (just like the one that is generated for HTML Help). For this -# to work a browser that supports JavaScript, DHTML, CSS and frames is required -# (i.e. any modern browser). Windows users are probably better off using the -# HTML help feature. Via custom style sheets (see HTML_EXTRA_STYLESHEET) one can -# further fine-tune the look of the index. As an example, the default style -# sheet generated by doxygen has an example that shows how to put an image at -# the root of the tree instead of the PROJECT_NAME. Since the tree basically has -# the same information as the tab index, you could consider setting -# DISABLE_INDEX to YES when enabling this option. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_TREEVIEW = NO - -# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that -# doxygen will group on one line in the generated HTML documentation. -# -# Note that a value of 0 will completely suppress the enum values from appearing -# in the overview section. -# Minimum value: 0, maximum value: 20, default value: 4. -# This tag requires that the tag GENERATE_HTML is set to YES. - -ENUM_VALUES_PER_LINE = 1 - -# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used -# to set the initial width (in pixels) of the frame in which the tree is shown. -# Minimum value: 0, maximum value: 1500, default value: 250. -# This tag requires that the tag GENERATE_HTML is set to YES. - -TREEVIEW_WIDTH = 250 - -# If the EXT_LINKS_IN_WINDOW option is set to YES, doxygen will open links to -# external symbols imported via tag files in a separate window. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -EXT_LINKS_IN_WINDOW = NO - -# Use this tag to change the font size of LaTeX formulas included as images in -# the HTML documentation. When you change the font size after a successful -# doxygen run you need to manually remove any form_*.png images from the HTML -# output directory to force them to be regenerated. -# Minimum value: 8, maximum value: 50, default value: 10. -# This tag requires that the tag GENERATE_HTML is set to YES. - -FORMULA_FONTSIZE = 10 - -# Use the FORMULA_TRANPARENT tag to determine whether or not the images -# generated for formulas are transparent PNGs. Transparent PNGs are not -# supported properly for IE 6.0, but are supported on all modern browsers. -# -# Note that when changing this option you need to delete any form_*.png files in -# the HTML output directory before the changes have effect. -# The default value is: YES. -# This tag requires that the tag GENERATE_HTML is set to YES. - -FORMULA_TRANSPARENT = YES - -# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see -# http://www.mathjax.org) which uses client side Javascript for the rendering -# instead of using pre-rendered bitmaps. Use this if you do not have LaTeX -# installed or if you want to formulas look prettier in the HTML output. When -# enabled you may also need to install MathJax separately and configure the path -# to it using the MATHJAX_RELPATH option. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -USE_MATHJAX = NO - -# When MathJax is enabled you can set the default output format to be used for -# the MathJax output. See the MathJax site (see: -# http://docs.mathjax.org/en/latest/output.html) for more details. -# Possible values are: HTML-CSS (which is slower, but has the best -# compatibility), NativeMML (i.e. MathML) and SVG. -# The default value is: HTML-CSS. -# This tag requires that the tag USE_MATHJAX is set to YES. - -MATHJAX_FORMAT = HTML-CSS - -# When MathJax is enabled you need to specify the location relative to the HTML -# output directory using the MATHJAX_RELPATH option. The destination directory -# should contain the MathJax.js script. For instance, if the mathjax directory -# is located at the same level as the HTML output directory, then -# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax -# Content Delivery Network so you can quickly see the result without installing -# MathJax. However, it is strongly recommended to install a local copy of -# MathJax from http://www.mathjax.org before deployment. -# The default value is: http://cdn.mathjax.org/mathjax/latest. -# This tag requires that the tag USE_MATHJAX is set to YES. - -MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest - -# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax -# extension names that should be enabled during MathJax rendering. For example -# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols -# This tag requires that the tag USE_MATHJAX is set to YES. - -MATHJAX_EXTENSIONS = - -# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces -# of code that will be used on startup of the MathJax code. See the MathJax site -# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an -# example see the documentation. -# This tag requires that the tag USE_MATHJAX is set to YES. - -MATHJAX_CODEFILE = - -# When the SEARCHENGINE tag is enabled doxygen will generate a search box for -# the HTML output. The underlying search engine uses javascript and DHTML and -# should work on any modern browser. Note that when using HTML help -# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET) -# there is already a search function so this one should typically be disabled. -# For large projects the javascript based search engine can be slow, then -# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to -# search using the keyboard; to jump to the search box use + S -# (what the is depends on the OS and browser, but it is typically -# , /