Commit Graph

29 Commits

Author SHA1 Message Date
Silent 0f978fe907
Remove the last non-Unicode Windows functions 2022-10-07 15:05:43 +02:00
Simon Jarrett f3aba68e46 Update project build files 2020-09-16 20:18:54 +01:00
Michał Janiszewski c95702c469 Fix mingw cross-compiler prefix 2018-01-28 22:20:49 +01:00
Michał Janiszewski a1bd146ac2
Set CMAKE_SYSTEM_PROCESSOR for Mingw toolchain file 2017-11-24 20:59:04 +01:00
Michał Janiszewski 6a5fc90cd4 Fix CMakeLists for MinGW cross-compilation
This makes sure that shared library built with MinGW toolchain is linked
statically to *all* its dependencies, including libc, libstdc++, libsdl2
and all the others. This allows producing of working `openrct2.dll` by
cross-compiling.

I hit a bug with libcrypto, a dependency of libssl, which in turn is a
dependency of curl, which creates a `DllMain` entrypoint for static lib
too, but since we don't do anything in ours, this should be safe.

I have only had chance to try it out when cross-compiling, ideally it
should be tested under Cygwin/MSYS too, but it is too bothersome to
setup for me.
2015-12-28 01:17:28 +01:00
Michał Janiszewski 5bc180a583 Fixes for travis builds of new AT&T syntax 2015-10-22 23:59:10 +02:00
Michał Janiszewski a16de307d7 Refactor project build scripts
This is mostly refactoring of cmake scripts, but also touches build.sh
and install.sh. The cmake should be much more palatable now for major
Linux distributions.

At the same time, new configuration is introduced to Linux version, one
with Twitch enabled.

Please note, however, this change requires update of orctlibs.zip for
mingw builds.
2015-09-28 21:10:21 +02:00
Gymnasiast c86f07bbba Fix Travis 2015-09-20 12:02:09 +02:00
Gymnasiast 48ef64c913 Take out MinGW error preventing Linux from being detected. 2015-09-20 11:47:01 +02:00
Gymnasiast de3f558f49 Enable optimisations in Linux build 2015-08-10 13:25:26 +02:00
Michał Janiszewski 189c6bb0ee travis fixes 2015-08-05 23:25:49 +02:00
Miso Zmiric (Mike Squinter) ae4b2277cd link pthread on linux so that dlls don't have to be copied form elsewhere 2015-07-03 10:54:42 +01:00
Miso Zmiric (Mike Squinter) c2c9bbf4ef add twitch integration, part 2 2015-05-25 20:38:33 +01:00
Miso Zmiric (Mike Squinter) 4ac520eaf7 fixes #585, now statically linking against stdlibc++ 2014-11-22 20:28:23 +00:00
Balletie 271290c308 Make toolchain compatible for both OSX and Linux 2014-08-24 16:40:57 +02:00
Balletie 0a37d51b4e Set the correct permissions after extracting. 2014-08-24 13:15:56 +02:00
Balletie fd1943d3cb install.sh: Download mingw from sourceforge.
It will automatically extract to /usr/local/
2014-08-24 13:15:56 +02:00
Balletie ed8db48b40 Set CMAKE_FIND_ROOT_PATH, use i686-w64-mingw32
The project now uses the MinGW headers instead of wine's headers.
2014-08-24 13:15:56 +02:00
anyc 2d216ff47a better struct packing for MinGW 2014-05-27 23:24:09 +02:00
Kevin Burke b036a51cfd Move build instructions from travis into shell scripts
fix syntax

use elif

run it with bash

fix directory incantations

add missing build steps

dont use colors if not terminal

update install.sh

add sanity check

changes

set verbose mode

enable debug output

changes to get it working on mac

Platform specific cmakelists

fix issue with intptr_t not being found/defined

update build scripts

see if it can find the pkg-config

try running it outside of cmake

check whether excho works way we expect

try -e

remove debug info
2014-05-27 12:36:56 +09:00
anyc 7da7e483a3 added .travis.yml and modified CMake scripts 2014-05-24 16:18:28 +02:00
Kevin Burke fb635e5069 dont use bits folder 2014-05-24 12:54:12 +09:00
Kevin Burke c2e313c52d add bits directory 2014-05-24 12:44:49 +09:00
Kevin Burke 242c40d5ff change ordering 2014-05-24 12:39:00 +09:00
Kevin Burke 61a602edde try the dumbest thing possible 2014-05-24 12:36:10 +09:00
Kevin Burke 79b1f71317 just hardcode it 2014-05-24 12:24:57 +09:00
Kevin Burke 80a74ae27d move it 2014-05-24 12:16:52 +09:00
anyc 932add79e5 bug fixes and more error reporting 2014-05-22 23:47:23 +02:00
anyc 5e4f313471 added cmake build scripts 2014-05-22 23:47:23 +02:00