Commit Graph

98 Commits

Author SHA1 Message Date
James Sherratt c46d1260f5 Tidy up 2022-08-24 23:26:25 +01:00
James Sherratt 1c8a6f3d8b Fix SSE check and cleanup 2022-08-24 23:26:25 +01:00
Jammyjamjamman db8d2dd355 Fix cmake-clang for macos
* Also fix for ubuntu 18, by decreasing required cmake version.
2022-08-24 23:26:24 +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 b405ce86ca Get map editor and model viewer building with VS cmake builds
* Map editor and model viewer build, but only as "Release" build.
* Unwanted flags not set for msbuild, such as FPIC, -g3, -O3, -sse...
* Wanted flags set for msbuild e.g. /arch:SSE2 /fp:fast -D__SSE__
-D__SSE2__
* Allow including wx, used for vcpkg wx.
* Mapeditor is WIN32 exe for VS_BUILD. (Not sure why this is needed...)
* g3d viewer and map editor mains edited to remove unnecessary windows-
only code(, for strings).
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
filux 4a5249fe54 another test for macOS 2017-08-27 09:07:32 +02:00
filux f0cb385efb let's check how macOS like it 2017-08-26 19:05:04 +02:00
filux 5323a4fcdf let's try static curl also for mac OS 2017-08-25 22:06:08 +02:00
filux ef1c26d931 improved formatting of '--help' output in a way to be more friendly for help2man 2017-04-01 14:53:34 +02:00
SoftCoder bdfb05a700 - attempt to add support for static use of wxwidgets in tools 2017-03-20 17:06:12 -07:00
filux 661b512a8a since latest release macos is not 'X' anymore 2016-11-18 02:07:44 +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 a5a1e2b717 tiny polishing related with gcc & wxWidgets 2015-12-07 17:20:58 +01:00
filux fcbf254a05 linux's installer based on binary and data files (no parallel configuration anymore) 2015-11-20 20:09:39 +01:00
filux 9b7bb4246c simplified procedure for determining why 'vlc is not found'; ubuntu 14.04 also requires libvlccore-dev 2015-11-16 23:55:03 +01:00
filux 9932920712 few improvements in compilation on mac 2015-10-26 20:56:55 +01:00
filux 5c5493397a fix for old cmake version 2015-09-27 19:58:30 +02: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 ca5cd29ef1 removed not required modules: LUAJIT, wxWidgets, PackageHandleStandardArgs 2015-09-21 23:56:55 +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 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 74cbbba6ba improvements for static build and a bit of cleaning 2015-06-14 19:24:08 +02:00
filux e934a48fe2 added "mac ports" path 2015-02-23 19:24:53 +01:00
filux 69e9dff754 better support for static build on debian 2015-01-31 11:53:59 +01:00
SoftCoder b1cafabb01 - added cmake compile warning when users uses clang as clang currently does NOT support some critical GCC settings we require. 2014-02-06 19:14:14 -08:00
SoftCoder f72b7046e5 - added experimental lunix32 cross compile support 2014-01-08 21:19:14 -08:00
SoftCoder 5e5f22e7ab - fix cmake checking for libminiupnpc versions to not actually call api's just compile check 2014-01-08 16:31:30 -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 14627660d7 - updated lua cmake script version find ordering 2013-12-30 13:12:22 -08:00
SoftCoder c7c82b56e1 - a little cleanup of building with lua and CMAKE
- added ability to force building without static libs in build script: -d=1
- added --lua-debug commandline option
2013-12-30 11:02:43 -08:00
SoftCoder d01e026db9 - escape double quote in cmake module to cleanup warning 2013-12-22 09:20:25 -08:00
Mark Vejvoda fe07998816 - updated with patches from hasufell related to fribidi detection 2013-11-19 16:23:31 +00:00
Mark Vejvoda 8099a8696a added mac ports folder for curl to find it 2013-11-09 17:35:32 +00:00
Mark Vejvoda 7f94eb215b added mac ports folder for curl to find it 2013-11-09 17:20:21 +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 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 0385e6f5f8 bugfix for libminiupnpc cmake script 2013-06-21 18:43:17 +00:00
Mark Vejvoda 65266ca41e - added cppunit into build system and started writing some unit tests (requires new dependency cppunit) 2013-04-30 01:27:14 +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 87a4eb49e4 - fixed lua 5.2 code for save / load games
- cmake now prefers lua 5.2 over 5.1
2013-02-16 21:20:09 +00:00
Mark Vejvoda cb30df57a6 - added better breakpad lib detection 2013-02-09 20:45:21 +00:00
Mark Vejvoda d808b4ecc4 - added Unit selection type label
- updated unhandled exception logic in linux
2013-02-01 05:52:00 +00:00
Mark Vejvoda 71d5f24828 - added support for google-breakpad in linux 2013-02-01 02:27:01 +00:00
Mark Vejvoda 5643cc67a4 - add ability to link static fribidi 2012-12-29 23:27:25 +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 d0006db4a1 - updated for debian compliance 2012-11-15 07:50:43 +00:00