Commit graph

71 commits

Author SHA1 Message Date
Zvika Haramaty
7e168256c2 DEVTOOLS: add fribidi library support to create_project 2020-04-30 23:59:10 +01:00
Bastien Bouclet
66654cb376 ALL: Sync with ScummVM - rev. cd37d510f9 2019-01-26 20:47:55 +01:00
Cameron Cawley
8fa2f90a26 CREATE_PROJECT: Support building with Tremor instead of Vorbis 2018-11-27 22:58:02 +00:00
Cameron Cawley
90299eb73e CREATE_PROJECT: Fix creating CMake projects outside of the main source directory 2018-08-11 08:22:03 +02:00
Bastien Bouclet
0de4171c07 CREATE_PROJECT: CMAKE: Fix importing SDL2 when it was built using CMake
When SDL is built using CMake, Find_Package imports a target instead of
defining variables. If a target was imported we now define the include
path and linker flags variables from the target's properties.

Using imported targets is a best practice. Ideally, we should define an
imported target when we detect variables were defined.
However, the linker flags variable would need to be parsed into a
library path and a list of libraries, making that approach impractical.
2018-04-22 09:30:21 +02:00
Bastien Bouclet
04c321d200 CREATE_PROJECT: CMAKE: Fix importing SDL2 when it was built using CMake
When SDL is built using CMake, Find_Package imports a target instead of
defining variables. If a target was imported we now define the include
path and linker flags variables from the target's properties.

Using imported targets is a best practice. Ideally, we should define an
imported target when we detect variables were defined.
However, the linker flags variable would need to be parsed into a
library path and a list of libraries, making that approach impractical.
2018-04-22 09:27:04 +02:00
Bastien Bouclet
1702925c31 CREATE_PROJECT: Place libs requiring symbols before libs providing them
In the CMake generator. So the linker can resolve the symbols it marked
as unresolved as it walks the libraries.

Fixes building ResidualVM with msys2 from Qt Creator on Windows.
2018-03-20 19:37:45 +01:00
Bastien Bouclet
728f4d4ba5 CREATE_PROJECT: Place libs requiring symbols before libs providing them
In the CMake generator. So the linker can resolve the symbols it marked
as unresolved as it walks the libraries.

Fixes building ResidualVM with msys2 from Qt Creator on Windows.
2018-03-20 19:36:44 +01:00
Bastien Bouclet
3ec01653c3 ALL: Merge from ScummVM rev 3a933138ce 2017-12-06 21:41:03 +01:00
Bastien Bouclet
55f46d3667 BUILD: Define pointer sized integer types and remove SCUMM_64BITS 2017-09-30 21:35:16 +02:00
Bastien Bouclet
84e62b6c8d ALL: Sync with ScummVM - rev. 87ebc7140c 2017-09-02 15:04:07 +02:00
Torbjörn Andersson
6cda47ca3d JANITORIAL: Remove superfluous semicolons 2017-04-18 06:49:14 +02:00
Peter Kohaut
6bb953e25b CREATE_PROJECT: Support for a different target build directory in CMake 2017-03-10 00:21:14 +01:00
Bastien Bouclet
1897cbb938 CREATE_PROJECT: Add ResidualVM specific libraries to produce working CMake projects 2016-11-12 18:01:01 +01:00
Pawel Kolodziejski
19bcd1f3bc ALL: Sync with ScummVM 2016-11-12 12:59:06 +01:00
Pawel Kolodziejski
9ba9c69b3f ALL: Sync with ScummVM - rev. 823c2f899b 2016-11-12 08:49:29 +01:00
Bastien Bouclet
7155f14310 CREATE_PROJECT: Use SDL_Net2 when building with SDL2 for cmake 2016-09-15 12:44:57 +02:00
Bastien Bouclet
cda41d2fb4 CREATE_PROJECT: Add CURL and SDL_net to the list of libraries for cmake generation 2016-09-03 07:58:35 +02:00
Bastien Bouclet
15cc188abe CREATE_PROJECT: Fix MSVC compilation
Fixes #7173.
2016-07-24 14:18:10 +02:00
Eugene Sandulenko
11a7598aa8 CREATE_PROJECT: Hopewfully fix MSVC compilation 2016-07-24 06:31:11 +03:00
Bastien Bouclet
6a3e07dca5 DEVTOOLS: Add a CMake project generator to create_project
Also-By: Joel Teichroeb <joel@teichroeb.net>
Also-By: Einar Johan Trøan Sømåen <einarjohants@gmail.com>
2016-07-07 18:47:18 +02:00