Commit Graph

48 Commits

Author SHA1 Message Date
Rémi Verschelde
54890a0c0d CMake: Add option to use system WiiUse (#3817)
Adapted from Fedora patch by @ignatenkobrain:
be85787d34/f/0002-Unbundle-WiiUse.patch
2019-04-07 22:10:33 +02:00
Deve
060855c710 Check wayland version in cmake.
Fixed #3579.
2018-11-17 21:56:23 +01:00
Deve
c76f48c701 Require enet >= 1.3.4.
It's needed for enet_peer_ping_interval()
2018-07-09 22:33:14 +02:00
Deve
e14ea99acd
Don't use pkg-config on macOS
Fixes #3305
2018-06-15 21:06:29 +02:00
Marianne Gagnon
cb8f519bd9 Change OSX build system to be homebrew-based 2018-06-05 19:56:15 -04:00
Deve
0093a8eaab Fixed mingw compilation 2018-03-27 23:03:47 +02:00
Igor Gnatenko
810df68f9c Unbundle ENet
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2018-01-30 22:29:38 +01:00
Deve
08be02af8f Fixed 64-bit dependencies.
Thanks to qwertychouskie for finding it.
2017-11-05 21:54:43 +01:00
Benau
88e15147b8 Merge remote-tracking branch 'origin/win-64bit' 2017-10-17 00:55:22 +08:00
Deve
66cebbdbe7 Add cmake scripts that find egl and wayland libraries 2017-09-18 21:50:34 +02:00
Deve
8a3cdb4fef Don't link with useless libs.
Also remove custom script for xrandr.
2017-09-05 00:19:55 +02:00
hiker
f3d56b37df Merge branch 'master' into win-64bit 2017-08-16 17:29:57 +10:00
Deve
0a715ac31a Fixed 32-bit mingw compilation 2017-08-07 22:33:57 +02:00
QwertyChouskie
0be10ce448 Fix MinGW cross-compilation (#2883)
* Fix MinGW x64 cross-compilation

* Fix MinGW x86 cross-compilation
2017-07-22 20:17:31 -04:00
hiker
5e5d86bc6d On windows look for the 64-bit dependency package in dependencies-64bit.
This allows installation compiling 32 and 64-bit windows versions from
the same repo without switching dependencies.
2017-04-06 23:59:01 +10:00
Benau
b0d0a0739e Add CMake flag to enable / disable recorder 2017-04-04 14:23:04 +08:00
Benau
cacbdbd668 Allow recording audio in windows using wasapi 2017-04-01 00:52:38 +08:00
Benau
9039324145 Allow muxing into webm using libwebm 2017-03-30 13:30:21 +08:00
Benau
a68c085e95 Use pulseaudio + vorbisenc for sound recording (linux for now) 2017-03-24 21:51:17 +08:00
Deve
803eba5d5c Fixed typo 2017-01-27 22:44:22 +01:00
Benau
aa0edb65dc Use cmake to find libbfd 2016-06-24 08:59:39 +08:00
Benau
41bd914f7c Fix typo 2015-10-31 00:29:53 +08:00
hasufell
4e307522d1
Fix compilation with system angelscript
Upstream names the shared library angelscript_s.
In addition, add more common PATH_SUFFIXES.
2015-10-20 16:47:23 +02:00
Deve
0d58774b54 Fixed mingw compilation 2015-10-19 20:50:39 +02:00
Marianne Gagnon
0571db6bef Freetpye support on OSX 2015-10-18 19:44:28 -04:00
Marianne Gagnon
cee6d9d611 Merge branch 'master' into freetype_lazyloadchar 2015-10-17 21:34:19 -04:00
Deve
91db8620f8 Some work on support 64-bit windows compilation using mingw 2015-10-13 01:05:41 +02:00
Benau
3a5ec83ae9 Basic render of text using freetype
This is a testing version of stk using freetype

It enable better arabic font display with less blurred glyph to all fonts thanks to hinting provide by freetype.

TODO: billboard text
2015-10-04 11:59:44 +08:00
Igor Gnatenko
7005f3b069 build: allow to use system angelscript
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-05-18 17:23:28 +03:00
Deve
89d5cee4c1 MinGW: Better finding libraries 2015-03-02 19:30:26 +01:00
Deve
d0f96a7673 Allow to cross-compile Windows build under Linux using MinGW.
It works fine on Ubuntu. You only need to use:
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-mingw.cmake
2015-01-08 21:46:59 +01:00
Deve
0b463f5222 Allow to run xrandr instead of vidmode as an option 2014-05-12 20:08:15 +02:00
hikerstk
af70fc938d On VS don't use a Source folder, which is just one
unnecessary hierarchy.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14451 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-15 22:45:14 +00:00
auria
6abb994a61 CMake : do not separate headers and source files when generating, place them next to each other
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14450 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-15 22:38:56 +00:00
auria
1cb4d02075 Some minor cleanup in cmake
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12556 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-15 23:02:05 +00:00
auria
d4fa9e0cb6 Finalize integration of cmake build on osx with builtin irrlicht
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12548 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-13 04:03:26 +00:00
hikerstk
591d5d7f70 Use pkgconfig, as recommended by hasufell - thanks for the patch!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12275 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-13 02:23:14 +00:00
undef-in-ed
fb7c95dd66 CMake: fix problem occurring with Wardje's setup
For Wardje both tests (with and without Xxf86vm) failed because of gcc
being unable to execute 'as'. His error log showed also tests executed
by FindX11 (provided by CMake itself) failed because of this.
Not sure what is broken exactly but this patch circumvents it.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10980 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-15 20:27:44 +00:00
undef-in-ed
1e0625d4ab CMake: refactor FindIrrlicht a little bit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10975 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-15 12:50:15 +00:00
undef-in-ed
9c1d373c4b CMake: workaround for Xxf86vm when building on X11 platforms
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10974 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-15 12:49:44 +00:00
undef-in-ed
6e148e2aaf CMake: mimic folder hierarchy with source_group for MSVC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10973 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-15 12:41:52 +00:00
auria
bdac17c748 CMake can now also generate cygwin makefiles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10962 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-12 00:48:52 +00:00
auria
f639458f26 CMake can now generate visual c++ projects
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10959 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-10 23:16:57 +00:00
auria
f59dab5914 Apply small patch by riebl to support more ways in which irrlicht may be installed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10941 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 21:18:32 +00:00
auria
1ff469d1a6 Apply another patch by riebl to move detection of Ogg/Vorbis to the find_package module in a subdir
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10936 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 17:07:16 +00:00
auria
c1a43b42aa Apply patch by rielb to make our use of custom build flags for release builds more CMake-standard
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10935 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 16:42:00 +00:00
auria
ea1260df5b osx fix
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10924 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 01:15:27 +00:00
auria
09804299f4 Apply more cmake patches by riebl, the files are easier to read now, thanks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10923 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 01:07:26 +00:00