Commit graph

32 commits

Author SHA1 Message Date
Julian Sikorski
1a5ac25f61 Sync with GENie upstream revision ce9f3c5 (#6262)
* Change makerules to take variable $(PROJECT_TYPE) instead of hardcoded 'gmake'

This allows to run `make projgen PROJECT_TYPE=ninja` to generate ninja build files instead.
and to build GENie using ninja by running `make release PROJECT_TYPE=ninja`.

Using ninja improves build times,
e.g. for macOS: 12.47s with gmake goes down to 2.05s with ninja.

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Set prefer project set as solution.startproject as default target

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Adding `GenerateMapFiles` flag.

Causes Visual Studio's linker to generate .map files for that
configuration.

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Add ninja support for 'wholearchive' libraries

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Fixup ninja.esc to gracefully ignore nil passed as value

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Use -Wl,-force_load for wholearchive libs when building for macosx

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Updated README.

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Add space after filename in 'Generating' message

This makes the filename 'clickable' to open in iTerm and VSCode

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Print generated filenames as quoted string

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Remove '...' after filename

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Pop cwd after pushing to run file

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Make paths in embed.lua rely on script dir

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Updated README.

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Fix issues caused by make-4.3 no longer adding spaces to variables in some cases The fix was found by @asavah.

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Fixed release script.

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Updated README.

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Update scripts.c

Co-authored-by: Christian Helmich <kagekirin@gmail.com>
Co-authored-by: Johan Sköld <johan@skold.cc>
Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
2020-02-06 12:49:15 +11:00
Robert
b48efcdac6
Revert "Sync with GENie upstream revision ce9f3c5 (#6262)" (#6263)
This reverts commit a06d8e9cc6.
2020-02-06 10:02:41 +11:00
Julian Sikorski
a06d8e9cc6
Sync with GENie upstream revision ce9f3c5 (#6262)
* Change makerules to take variable $(PROJECT_TYPE) instead of hardcoded 'gmake'

This allows to run `make projgen PROJECT_TYPE=ninja` to generate ninja build files instead.
and to build GENie using ninja by running `make release PROJECT_TYPE=ninja`.

Using ninja improves build times,
e.g. for macOS: 12.47s with gmake goes down to 2.05s with ninja.

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Set prefer project set as solution.startproject as default target

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Adding `GenerateMapFiles` flag.

Causes Visual Studio's linker to generate .map files for that
configuration.

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Add ninja support for 'wholearchive' libraries

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Fixup ninja.esc to gracefully ignore nil passed as value

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Use -Wl,-force_load for wholearchive libs when building for macosx

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Updated README.

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Add space after filename in 'Generating' message

This makes the filename 'clickable' to open in iTerm and VSCode

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Print generated filenames as quoted string

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Remove '...' after filename

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Pop cwd after pushing to run file

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Make paths in embed.lua rely on script dir

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Updated README.

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Fix issues caused by make-4.3 no longer adding spaces to variables in some cases The fix was found by @asavah.

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Fixed release script.

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Updated README.

Signed-off-by: Julian Sikorski <belegdol+github@gmail.com>

* Update scripts.c

Co-authored-by: Christian Helmich <kagekirin@gmail.com>
Co-authored-by: Johan Sköld <johan@skold.cc>
Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
2020-02-05 17:21:10 -05:00
Julian Sikorski
ed2b7e5ef1 Synced with GENie upstream revision e78d6c1 (#5631)
* Synced with GENie upstream revision e78d6c1

* Add Visual Studio 2019 support

* Fix hardcoded -m64

* Switch appveyor to Visual Studio 2019

* Fix genie being built as 32-bit

* MSVC build is known to be broken currently. Let it fail until all the known issues are fixed.

* Update the packages before building

* Build with 3 threads
Appveyor VMs have only 2 cores and 8 GB RAM.

* Enable caching of pacman cache
2019-09-29 09:30:18 -04:00
Miodrag Milanovic
3917627494 Updated GENie, BGFX, BX, added BIMG since it is separated now, updated all shader binaries and MAME part of code to support new interfaces [Miodrag Milanovic] 2017-12-01 13:22:27 +01:00
Branimir Karadžić
88ca8d5b48 Update GENie (nw) 2017-03-29 17:31:27 +02:00
Branimir Karadžić
193e8c8a89 Update GENie 2017-02-05 13:54:19 +01:00
Branimir Karadžić
a642e29ecd Update GENie (nw) 2017-01-02 14:03:29 +01:00
Miodrag Milanovic
ffc04d2bae Sync with GENie and addition of VS2017 (nw) 2016-11-16 21:00:28 +01:00
Miodrag Milanovic
330e3cb28e Finally sync with GENie, no more local changes (nw) 2016-11-03 10:04:29 +01:00
Miodrag Milanovic
6c390127c2 Update to latest GENie (nw) 2016-11-02 08:36:07 +01:00
Miodrag Milanovic
e8cb3e06d0 Updated GENie to latest (nw) 2016-06-08 20:42:23 +02:00
Branimir Karadžić
f97b68d3ed Update GENie, BGFX and BX (nw) 2016-05-03 12:20:29 +02:00
Miodrag Milanovic
0edd2cd1be Updated genie left our local changes (nw) 2016-04-27 18:09:08 +02:00
Miodrag Milanovic
5c34b1ba40 Update GENie (nw) 2016-03-31 20:37:28 +02:00
Branimir Karadžić
cb04dd4bae Updated GENie to latest (nw) 2016-03-21 12:16:30 +01:00
Miodrag Milanovic
842519672e Synced with latest GENie, our specific code is not overwritten (nw) 2016-01-03 16:55:52 +01:00
Miodrag Milanovic
f45715a420 Update to latest Genie (nw)
KO Myung-Hun: please send your patches upstream first always.
2015-10-15 11:21:28 +02:00
Miodrag Milanovic
08bfa598df Update GENie (nw) 2015-05-27 12:06:10 +02:00
Miodrag Milanovic
2b97bfba29 update to latest 3rdparty, rollback of genie change (nw) 2015-04-16 14:16:14 +02:00
Miodrag Milanovic
df90d5068a Update to latest 3rdparty, fixes issues on OpenGL 2.1 for bgfx (nw) 2015-03-31 08:17:12 +02:00
Miodrag Milanovic
fadbc9808c Updated to latest 3rdparty (nw) 2015-03-30 14:36:33 +02:00
Miodrag Milanovic
522a6d8c30 updated to latest 3rdparty 2015-03-26 08:14:29 +01:00
Miodrag Milanovic
43f92ea260 update 3rdparty (nw) 2015-03-19 08:40:37 +01:00
Miodrag Milanovic
c14b700825 Sync with latest (nw) 2015-03-17 11:08:12 +01:00
Miodrag Milanovic
7360ae6547 updated 3rd party (nw) 2015-03-13 17:40:15 +01:00
Miodrag Milanovic
1ecbc8f95f update 3rdparty libs 2015-03-10 08:05:28 +01:00
Miodrag Milanovic
ab9dc8369c sync with latest 3rdparty (nw) 2015-03-05 08:40:11 +01:00
Miodrag Milanovic
abb3442fe6 update libs to latest (nw) 2015-02-28 07:52:28 +01:00
Miodrag Milanovic
5618dda146 Update of bx, bgfx, genie and mongoose (nw)
mongoose change should fix issue on XP
2015-02-18 08:19:17 +01:00
Miodrag Milanovic
8afe66fc63 Updated BGFX, BX and GENie to latest (nw) 2015-02-14 12:53:08 +01:00
Miodrag Milanovic
c8aa59196e Added GENie build system source to 3rdparty (nw) 2015-02-01 10:16:25 +01:00