Sam Hocevar
aedc1da589
build: remove built-in bullet compilation on Linux.
Executables that use libbullet are now 1 MiB smaller (stripped!).
pirms 5 gadiem
Sam Hocevar
9c13aabe98
build: fix the mingw cross compilation.
pirms 5 gadiem
Sam Hocevar
cd388836b3
build: fix a few mistakes in the MSVC refactoring.
pirms 5 gadiem
Sam Hocevar
5a8296a001
build: clean up lol-core vcxproj filters and improve DLL copying.
pirms 5 gadiem
Sam Hocevar
17814637f0
Update all external libraries. Finally activate FFmpeg on Windows.
pirms 5 gadiem
Sam Hocevar
3beea51c06
Fix typo in autoconf check for html5.h.
pirms 5 gadiem
Sam Hocevar
7d42c3d58e
Various emscripten compilation fixes.
pirms 5 gadiem
Sam Hocevar
a1ef3552bc
No longer look for SDL/SDL*.h headers.
We now just look for SDL2/SDL.h (the regular location) and SDL.h (when
the user provides their own location for this header).
pirms 5 gadiem
Sam Hocevar
34fab09274
Remove NaCl support. Google is deprecating it.
pirms 5 gadiem
Sam Hocevar
0e8227aa71
build: fix EGL library detection.
Sometimes libEGL.so can be available (provided as a symlink
by Debian diversion packages) while EGL/egl.h isn’t.
pirms 6 gadiem
Sam Hocevar
a18ccb3987
build: drop support for SDL v1.
The only reason we had to keep this was for emscripten builds. We can
now use SDL v2 using “emconfigure ./configure CFLAGS="-s USE_SDL=2” and
a few additional flags.
SDL_Mixer v2 is not available in emscripten packages but either it will
be added at some time, or I will get rid of it altogether. An alternate
solution could be this code snippet I found:
cd SDL2_mixer
emconfigure ./configure --prefix=$(pwd)/dist --enable-music-ogg --disable-music-ogg-shared CFLAGS="-s USE_VORBIS=1"
emmake make install
pirms 6 gadiem
Sam Hocevar
af06563b94
Do not try to link with liblol-bullet if Bullet was disabled.
pirms 6 gadiem
Sam Hocevar
f6c386f560
Allow to build without Bullet Physics.
pirms 6 gadiem
Sam Hocevar
487c82609c
Make lol-lua an optional dependency.
pirms 7 gadiem
Sam Hocevar
05e3b710fc
Fix build with Visual Studio 2017.
pirms 7 gadiem
Sam Hocevar
42f52f2c8b
Update bullet3 to a more recent Git head.
pirms 7 gadiem
Sam Hocevar
c7fa8939f5
Fix a few build issues when features are disabled.
pirms 7 gadiem
Sam Hocevar
ff0ff83d98
Update EXTRA_DIST in several makefiles.
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
2c671158a1
If SDL is disabled on Windows, build a console application.
pirms 7 gadiem
Sam Hocevar
c6daf5be39
Refactor the msbuild feature selection mechanism.
Rename config-build.xml to build.config, move it to the root directory,
and add MSBuild flags for SDL, FFmpeg (unused yet) and OpenGL.
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
2df8762d47
Migrate to Visual Studio 2017.
pirms 7 gadiem
Sam Hocevar
c86f703dcf
Some Windows compilation fixes + support for [[nodiscard]].
pirms 7 gadiem
Sam Hocevar
f9058a384d
3rdparty: upgrade PEGTL to its latest version (2.1.4 or something).
pirms 7 gadiem
Sam Hocevar
ee622b762f
build: add several missing distributed files for Windows versions.
pirms 7 gadiem
Sam Hocevar
e38a7e7c22
tools: remove lolremez.
It will now be available at https://github.com/samhocevar/lolremez
pirms 7 gadiem
Sam Hocevar
ad45e4d284
doc: fix linking with ffmpeg on Linux and start a tutorial program.
pirms 8 gadiem
touky
893ab7b6f5
first little pass, everything is broken.
Will resume on other computer.
pirms 8 gadiem
Sam Hocevar
168dbb0e00
test: put back commit feature in check-source.sh.
pirms 8 gadiem
Sam Hocevar
dc9f5c72cb
test: make source code checks more verbose
pirms 8 gadiem
Sam Hocevar
eac41fd3f8
test: remove obsolete SVN support in check-source.sh
pirms 8 gadiem
touky
3b255d4137
first test for lolimgui
pirms 8 gadiem
Sam Hocevar
aaa39bd782
build: fix Windows build and LolFx generation
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
3544b8ccd7
build: update Visual Studio solution
pirms 8 gadiem