Commit Graph

107 Commits

Author SHA1 Message Date
James Sherratt c46d1260f5 Tidy up 2022-08-24 23:26:25 +01:00
Jammyjamjamman c5245a9e73 More fixes to cmake builds
- Add icons to windows exes.
- Revert removal of CurlGetConfig.cmake. This is still required in
ubuntu. (Perhaps only for static builds.)
2022-08-24 23:26:24 +01:00
Jammyjamjamman 523229ab55 More progress with cmake for Visual Studio projects
* Change conditon so that L137 onwards of main CMakelists.txt is
executed fro VS project target. Main reason to do this was to make sure
project actually built with streflop.
* Change conditions after L137 so unwanted compile flags aren't added.
* Project now builds multi threaded for VS project. Tries to use max
number of cores.
* Simplify cxx flags. Remove unneeded MT and MTd flags.
* Set VS build output to mk/windoze.
* Add FPUSettings.asm to streflop in cmake, if VS project specified.
* Remove STREFLOP compile definitions. Not needed now streflop is
configured properly.
* Simplify cmake by adding "VS_BUILD" variable, instead of doing string
comparisons all the time to check if is "Visual Studio" target.
2022-08-24 23:26:24 +01:00
Jammyjamjamman c6a632c33c Fix for linux and mac 2022-08-24 23:26:24 +01:00
Jammyjamjamman 1e8ff3642c Cmake: Add build configuration for VS builds
* Build vs 2019 project using cmake.
* Cmake configured to work in windows. Hopefully still works in linux
too!
* Update vcpkg install script.
* Configures build for MG game release or debug mode.
* Still need to fix building mapeditor and g3d viewer.
* Remove CurlGetConfig.cmake (not needed!)
2022-08-24 23:26:24 +01:00
Jammyjamjamman 680c868aa9 FTGL required + Manjaro wx package corrected to wxgtk-common
Fixes bugs found in iss #206. Building without FTGL fails and the error
is confusing. So we'll fail at the cmake stage (suggested by andy5995).
People who don't want it can disable this at their own peril! ;-)
2021-07-14 22:28:06 +01:00
David Carlier 5d696d4136 build fix ... maths functions were not available due to POSIX_C_SOURCE=1 2018-03-19 13:40:46 +00:00
filux a719f29758 updated the supported linux's releases in the script; closes #170 2017-06-29 22:48:01 +02:00
SoftCoder 85b4e4eda7 - Implement solution for Issue #119 2017-02-05 16:51:15 -08:00
SoftCoder 8195121fca - Check for packaged streflop and use it before using embedded copy 2017-02-05 16:48:50 -08:00
filux 32d7085816 cmake patches from mageia [ci skip] 2016-03-05 13:57:08 +01:00
filux 1125a2b405 added switch for compilation [W]ithout wxWidgets; updated list of deps related with curl 2016-01-18 20:59:21 +01:00
filux f594e8a037 removed one redundant message [ci skip] 2015-11-16 21:49:20 +01:00
filux 8a4ee15e59 Merge branch 'develop' into feature/sdl2 2015-11-05 20:45:53 +01:00
SoftCoder 952e0a6315 - editor and g3d viewer work in wxwidgets 3.0.2 2015-10-26 19:49:25 -07:00
SoftCoder 75077c4a50 - added support for miniupnpc 1.9, this fixes #79 (cherry-pick to develop & RC) 2015-10-22 17:34:14 +02:00
SoftCoder 49ce8e729b - added support for miniupnpc 1.9 2015-10-21 18:11:19 -07:00
filux 4bef525bf3 removed not required CURL module, renamed several cmake-build options for be more easy sortable by name 2015-09-27 19:46:35 +02:00
filux 4ad684deaf updated modules: LUA, GLEW 2015-09-22 01:04:22 +02:00
filux 6ac255095a implemented basic support for SDL2 in cmake files (only); changed a general idea of how and where are showed deprecation warnings 2015-09-18 19:17:52 +02:00
filux 5afa6c68ba added missing option for lua 5.3 2015-08-20 16:52:27 +02:00
filux 617bc9a89e extended support for lua to v5.3; removed some duplicate messages showing up during 'cmake configuration' time 2015-08-20 16:43:14 +02:00
filux 72539021f9 in default OpenSSL is not required, closed #67 2015-06-13 00:09:56 +02:00
Rémi Verschelde 56ac448177 Ensure libcurl also links against libssl and libcrypto
ssl and crypto seem to be lacking in ${CURL_LIBRARIES} at least on my distro,
and that causes underlinking issues.
2015-06-12 21:42:50 +02:00
filux e26ea22378 more universal and matched entry, fixed #65 2015-06-05 01:54:05 +02:00
Michael Palimaka fc07d9caf2 Fix build with >=cmake-3.2.
The FindOpenGL module no longer pulls in X11 libraries.
2015-06-05 00:47:52 +02:00
filux 34d52e40d7 updated support for new versions of ubuntu 2015-04-29 20:23:03 +02:00
filux 69e9dff754 better support for static build on debian 2015-01-31 11:53:59 +01:00
filux 9977fd2606 fixed 'Not a git repository' bug related with real out of source build from the git repository 2015-01-31 10:30:19 +01:00
SoftCoder 9cb0ba8833 - xerces included only if forced in cmake since it will be deprecated 2014-01-25 18:12:53 -08:00
SoftCoder 952004151c - removed d3d files which were deprecated long ago
- removed freetype-gl (the embedded library from code.google.com)
2014-01-25 17:54:46 -08:00
SoftCoder e0aa65402d - added ability to force the LUA version to compile with (5.1 or 5.2) 2013-12-30 18:30:23 -08:00
SoftCoder 3bb9da6cdf - removed directsound related references as it has been deprecated since 3.6.0.1
- coverity related fixes
2013-12-25 11:42:00 -08:00
Mark Vejvoda 8d69cc02fd update cmake script for mac and miniupnpc 2013-11-09 18:33:19 +00:00
Mark Vejvoda d55af0355b added mac define for darwin compiling miniupnpc 2013-11-09 18:10:41 +00:00
Mark Vejvoda aa66e4b5e9 - updates to cmake script to detect inclusion of libvlc (and spelling mistake fix) 2013-09-18 19:03:12 +00:00
Mark Vejvoda c60c96a22f enable fontconfig in cmake build 2013-08-01 22:24:00 +00:00
Mark Vejvoda 0e184d609c updated cmake message 2013-06-21 19:24:59 +00:00
Mark Vejvoda 7b4a724764 bugfix for libminiupnpc cmake script 2013-06-21 19:19:38 +00:00
Mark Vejvoda 0c56e13e7a bugfix for libminiupnpc cmake script 2013-06-21 19:04:57 +00:00
Mark Vejvoda c30d78ff74 saved games for rejoining in progress games saves to .zip and sends that to clients. 2013-05-01 20:56:19 +00:00
Mark Vejvoda b8357b8696 - updated cmake to output more info regarding finding libircclient and better support for ircclcient
- cleanup too many exclamations in finding ftgl libs
2013-03-06 00:47:21 +00:00
Mark Vejvoda 71d5f24828 - added support for google-breakpad in linux 2013-02-01 02:27:01 +00:00
Mark Vejvoda 1e6364051b - updated cmake to only place binaries in dev friendly folder if a new option is passed (enabled by default using the build script)
-DWANT_DEV_OUTPATH=ON
2013-01-15 17:26:55 +00:00
Mark Vejvoda 6872a873b2 - added support to disable libircclient via cmake:
-DDISABLE_IRCCLIENT=On
2013-01-08 06:59:53 +00:00
Mark Vejvoda 4c94cedb85 - upgrade embedded miniupnpc to 1.7 (fixes build) 2012-12-27 18:59:38 +00:00
Mark Vejvoda 7fdd70402d - added support for libfribidi for languages requiring complex text rendering like Arabic and Hebrew 2012-12-27 08:24:30 +00:00
Mark Vejvoda 7a57668a91 - added support for libminiupnpc 1.7 2012-12-26 01:11:11 +00:00
Mark Vejvoda f27e1c8d95 - added patch from freebsd for libdl.so 2012-11-30 23:40:27 +00:00
Mark Vejvoda d322f73284 - bug fixes and patches from hasufell related to:
- fontconfig not working
- new cmake option to control inclusion of libvlc
- new commandline option to force where to look for fonts: --font-path=x
- removal of libluajit from cmake
2012-11-14 19:20:08 +00:00