Sam Hocevar
c7fa8939f5
Fix a few build issues when features are disabled.
pirms 7 gadiem
Sam Hocevar
a94e477f7f
Parse build.config in configure.ac.
This gives us a reasonably cross-platform way to to build options. Works
well with LolRemez, where we no longer depend on GUI libraries.
pirms 7 gadiem
Sam Hocevar
3e26164dc9
Add --enable-png configure flag.
pirms 7 gadiem
Sam Hocevar
5b21579db4
Add --disable-opengl flag.
This flag disables GL, GLES, but also Glew and EGL libraries.
pirms 7 gadiem
Sam Hocevar
fcd72f408f
Allow master projects to disable features.
When built as a subproject, we need the master to decide what features
to activate or not. This could lead to reduced dependences.
This patch also allows to build without imlib2.
pirms 7 gadiem
Sam Hocevar
7be150b0e4
Allow to build without SDL or ffmpeg.
Linux-only for now. This will be necessary for projects that do not
actually use the rendering engine, such as LolRemez.
pirms 7 gadiem
Sam Hocevar
f9058a384d
3rdparty: upgrade PEGTL to its latest version (2.1.4 or something).
pirms 7 gadiem
Sam Hocevar
ad45e4d284
doc: fix linking with ffmpeg on Linux and start a tutorial program.
pirms 8 gadiem
Sam Hocevar
dc9f5c72cb
test: make source code checks more verbose
pirms 8 gadiem
Sam Hocevar
9e4b6a4155
build: add path to lolfx resource names
This will help us deal with shader name collision. Breaks the Windows
build for the moment, unfortunately.
pirms 8 gadiem
Sam Hocevar
c5a4f59517
sys: getopt wrapper and reimplementation (first iteration).
pirms 8 gadiem
Sam Hocevar
8c3c62bdc0
build: improvements when building as a subproject
pirms 8 gadiem
Sam Hocevar
77bac2b98f
build: new --disable-tools configure option
pirms 8 gadiem
Sam Hocevar
39c00a8f5c
build: add more tests to the common m4 file
pirms 8 gadiem
Sam Hocevar
9c90721bda
build: make mingw-std-threads a submodule
pirms 8 gadiem
Sam Hocevar
fb641c9e81
build: move PEGTL to a Git submodule
pirms 8 gadiem
Sam Hocevar
7ccf613a08
build: move Lua to a submodule
pirms 8 gadiem
Sam Hocevar
f1a2b66d62
build: move Bullet to a submodule
pirms 8 gadiem
Sam Hocevar
1dcb065121
build: make imgui a submodule instead of copying it
pirms 8 gadiem
Sam Hocevar
fe279ea38b
build: various autotools improvements and fixes
pirms 8 gadiem
Sam Hocevar
fe5bcc55cc
build: move C++11 support macros to the common .m4 file
pirms 8 gadiem
Sam Hocevar
c6f4070e70
build: refactor autotools files for out-of-tree builds.
All these changes will allow us to more easily add Lol Engine as a
submodule of another Git project.
pirms 8 gadiem
Sam Hocevar
52529cd8b9
bullet: update code to most recent GitHub branch.
pirms 8 gadiem
Sam Hocevar
1280e15c9e
build: use <GL/glew.h> instead of <glew.h>.
pirms 9 gadiem
Sam Hocevar
4bd6538a87
Fix a bug in SDL detection causing false positives.
If SDL_CFLAGS is defined to a non-empty value, even spaces, a later
test will wrongly succeed and think SDL_CFLAGS is a user override.
pirms 9 gadiem
Sam Hocevar
31477c906e
build: remove the LolFx and the EasyMesh compilers for now.
pirms 10 gadiem
Sam Hocevar
a07844682e
build: remove dead PS3 code.
pirms 10 gadiem
Sam Hocevar
e5faf45929
build: some PS4 compilation fixes.
pirms 10 gadiem
Sam Hocevar
7934df34ef
build: "USE_SDL" is now for SDL v2 and "USE_OLD_SDL" for version 1.
pirms 10 gadiem
Sam Hocevar
7d8e75b029
build: fix SDL2 library names.
pirms 10 gadiem
Sam Hocevar
7d4a58021f
build: use SDL2 on Windows.
pirms 10 gadiem
Sam Hocevar
d37d124849
sdl: SDL2 video and audio support (no input yet).
pirms 10 gadiem
Sam Hocevar
0e91d9cf66
build: fix an infinite loop in recursive rules.
pirms 10 gadiem
Sam Hocevar
0f3805be4c
android: various fixes, but the switch to NativeActivity isn't complete.
pirms 11 gadiem
Sam Hocevar
5b8afad60a
build: minor tweaks for emscripten builds.
pirms 11 gadiem
Sam Hocevar
f852e8d7e1
build: a lot more emscripten build fixes.
pirms 11 gadiem
Sam Hocevar
b106bdd8f9
build: add experimental support for emscripten.
pirms 11 gadiem
Sam Hocevar
3af7e62b6a
android: switch to NativeActivity instead of rolling our own Java crap;
no known regressions yet.
pirms 11 gadiem
Sam Hocevar
a5388b434b
build: fail the Android build upon error and make it idempotent.
pirms 11 gadiem
Sam Hocevar
ff7904d96c
build: big Android build system refactor; we now attempt to build
an apk for each project.
pirms 11 gadiem
Sam Hocevar
ddeaa5f81a
build: reorganise automake build system.
pirms 11 gadiem
Sam Hocevar
94acb0f519
build: the “fuck you, Apple” commit; work around three different
compiler bugs in the Xcode toolchain.
pirms 11 gadiem
Sam Hocevar
1b07850346
build: a few iOS build fixes; nowhere near ready though.
pirms 11 gadiem
Sam Hocevar
1ff5c99da0
build: do not assume the OS X compiler understands -ObjC++.
pirms 11 gadiem
Sam Hocevar
1d0eab0203
base: on Linux and some other architectures, dump a stack trace before
crashing from an assertion failure.
pirms 11 gadiem
Sam Hocevar
face8cf61c
build: better check for compiler flags; we no longer try to use
flags that autoconf hasn’t checked first.
pirms 11 gadiem
Sam Hocevar
32753fa130
build: fix a few macro logic issues in SDL.h inclusion.
pirms 11 gadiem
Sam Hocevar
1e973c81bd
build: add SDL detection code in new file lol-sdl.m4. The SDL2 version is
disabled until the engine code itself is ported to SDL2.
pirms 11 gadiem
Sam Hocevar
3adf42b00c
build: hide LolFx external declarations behind macros.
pirms 12 gadiem
Sam Hocevar
e70fcd05f8
build: upgrade glew binaries to 1.9.0 and rename the contrib directory
to external so as to avoid some autocompletion collisions with "configure".
pirms 12 gadiem