Commit Graph

111 Commits

Author SHA1 Message Date
Lynix 68208f5426 Merge branch 'master' into vulkan 2020-05-27 19:48:22 +02:00
Jérôme Leclercq 1425f99edf Merge branch 'master' into SDL2 2020-05-27 11:11:21 +02:00
Lynix 6ffbfd9941 Allow examples to setup their own includes/libs 2020-05-18 13:57:10 +02:00
Lynix d298e93c13 Fix Linux linking issues 2020-02-24 20:57:06 +01:00
Lynix 2f102ac242 Enable more warnings (except for chipmunk) 2020-02-24 18:48:42 +01:00
Lynix c9635ed766 Fix linking issues on Linux 2020-02-24 18:48:29 +01:00
Lynix 67d0e0a689 Switch to C++17 2020-02-22 15:17:28 +01:00
Lynix 0cedd108a1 Add ReleaseWithDebug 2019-12-12 09:58:11 +01:00
Apjue 1a8a5e612e Set start project 2019-05-12 16:07:21 +02:00
REMqb 848f05a420 ~ Initial SDL2 implementation
Limitation
- Dependent projects need to set NAZARA_PLATFORM_SDL2 if nazara has been build with SDL2 since OpenGL.hpp (and maybe some other headers) exposes platform details
- SDL2 window doesn't supports async window since the API isn't fitting for now
- Contexts parameters can't be changed until we close all the SDL windows (SDL limitation)
2019-04-03 21:17:06 +02:00
Apjue f4e6f6a44f Premake: Set libraries' rpath to current folder (#199)
* Set libraries' rpath to .

* Update changelog
2019-03-06 23:00:30 +01:00
Lynix 754823f46e Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2019-02-02 02:09:37 +01:00
Lynix 58c99e80f1 Enable MSVC conformance options 2019-02-02 02:09:34 +01:00
Alexandre Janniaux e075b59019 premake: use omitframepointer instead of deprecated NoFramePointer (#195)
* premake: update to version 5 alpha 13

* premake: use omitframepointer instead of deprecated NoFramePointer
2019-01-21 15:27:40 +01:00
Lynix 9ecfe31637 Build: Copy .dll only if host is Windows 2018-08-08 10:35:49 +02:00
Lynix 456f2b32e7 Build: Fix install/executable paths 2018-06-10 15:49:11 +02:00
Lynix efa727dfd4 Build: Fix thirdparty target dir 2018-05-21 19:28:33 +02:00
Jérôme Leclercq f864fc8a52 Build: Gather projects around categories 2018-05-16 12:55:36 +02:00
Alexandre Janniaux f8d1959d87 Fix gmake2 makefile by filtering gmake* instead of gmake
From a proposition of github.com/tdesveauxPKFX, filter on gmake*
generator instead of gmake so as to add library output directory.

Fixes #155
2018-04-02 20:45:03 +02:00
Jérôme Leclercq 1feb4b2ba7 Build: defines NDEBUG in Release 2018-02-09 17:16:51 +01:00
Lynix db7f778672 Build self-hosted lib in a different folder and .gitignore it 2018-02-07 18:18:55 +01:00
Lynix 0b2d5b9332 Build: Improve coherence
This will prevent regeneration of the project for no reason.
There's a remaining bug with the units tests (which sometimes are processed before SDK, thus ending with less dependencies libraries)
2018-01-14 14:24:23 +01:00
Jérôme Leclercq 588b7487f6 Rename extlibs to thirdparty 2018-01-11 12:57:42 +01:00
Lynix 61ecedfe8c Build: Merged extern workspace to main (and only) workspace
Also removed extern libraries precompiled binaries
2018-01-06 02:45:20 +01:00
Lynix 02d76aee5d Build: Fix exclusion not working 2017-12-02 14:39:40 +01:00
Lynix 547ad8682f Build: Add Category and possibility to excludes whole category with one command 2017-12-02 14:24:35 +01:00
Jérôme Leclercq 3d7799ec62 Update build script to match Lua 5.3 and new Premake version 2017-09-07 16:23:43 +02:00
Lynix 9806231b5c Oops 2017-08-20 21:40:42 +02:00
Lynix 885804e58a Disable PremakeProject for non-Windows OSes 2017-08-20 21:37:45 +02:00
Lynix 973e3b094a Build: Add PremakeProject option 2017-08-14 01:59:17 +02:00
Jérôme Leclercq f88174c8ca Woops again (works this time) 2017-03-06 13:20:02 +01:00
Jérôme Leclercq 8147b0807e Woops 2017-03-06 13:16:55 +01:00
Jérôme Leclercq d14574151a Build: Add AdditionalCompilationFlags build option 2017-03-06 13:11:17 +01:00
Lynix 92d26ab18d Build: Add Configurations option (and add support for ReleaseWithDebug configuration) 2016-12-09 09:02:14 +01:00
Lynix 1334dc1fc2 Build: Little refactor 2016-12-09 08:58:19 +01:00
Lynix 84e3d8df9a Build: Enable RTTI on release
While the engine does not uses it, some projects using Nazara may use
RTTI and fail to compile
2016-11-20 15:21:27 +01:00
Lynix 46f2c18e20 Build: Enable relative links for makefile 2016-11-15 14:58:00 +01:00
Jérôme Leclercq 2f11529669 Build: Enable big object only on Windows 2016-11-07 01:10:17 +01:00
Jérôme Leclercq 5d4595e9d6 Build: Enable -mbig-obj on Clang/GCC 2016-11-07 00:07:51 +01:00
Jérôme Leclercq 0f14a57b2e Build: Cleanup common.lua 2016-11-06 22:41:22 +01:00
Jérôme Leclercq 0de741a541 Build: Fix MSVC creating .a .. 2016-11-06 22:25:13 +01:00
Jérôme Leclercq 5e48f8b8b3 Build: Fix install commands 2016-11-06 22:04:47 +01:00
Jérôme Leclercq 6500d088e9 Build: Fix some premake5 weirdness
It seems some options are global and other local to the workspace (flags
and buildoptions could be defined outside of the workspace, defines
couldn't)
2016-11-06 21:59:48 +01:00
Jérôme Leclercq 88000ab2e4 Build: Upgrade to Premake5-alpha10, get rid of Premake4 2016-11-06 21:30:37 +01:00
Jérôme Leclercq 5aeb9f8d59 Build: Add CodeBlocks target to premake5 2016-11-06 11:17:19 +01:00
Lynix a05f9222ee Build: Output plugins binaries to plugins/lib instead of plugin/NAME/lib 2016-10-17 14:14:17 +02:00
Lynix 3461eb49ca Disable RTTI everywhere and fix Linux compilation
Former-commit-id: c8c0f11725d2e5b6c6da6dc3ab11f0eda065094f [formerly c2977e388c70ba7ccdf52f9eb97d7fe71ed6f4cf] [formerly 73c0d0759a6c9cad05dff59bff486f99fde336b6 [formerly 96a6e52ba5c97fd3a107fed5d11738466bd53f7e]]
Former-commit-id: c6a193ee5ccb07a40a74719937dbf224ad22081e [formerly 5f275dc02a44bd2ee54f6d926338ddfe388f565b]
Former-commit-id: e35640a20ac2269f96b75998e56fcba2fdbf6f00
2016-09-30 14:15:19 +02:00
Lynix bd0c99c687 UnitTest: Enable RTTI
Former-commit-id: 99410bd952b14a187de04632ae041fd556a66e34 [formerly 85c10d4f7f2251c67cc14f1e7b10bac7092681e7] [formerly 4cd0ef1e6cbe595673dfb71ba82f4620dde4413e [formerly 3b7b24b4cad4e0abd4fb2faf7c9305ca75462028]]
Former-commit-id: 4419ea87112eb630430b46e5a8c0a3c155925df3 [formerly 83f3c7cab613c17d504484937fedca9ab09329ea]
Former-commit-id: 1455045645ef8e3ca74b49488b3d53adaf7e3d55
2016-09-28 13:55:27 +02:00
Lynix 3875d2abe2 Build: Make some fixes in order to prepare static building
Still not linking though


Former-commit-id: 3962a663c9368ea78c4703cc860beef8c440bb4b [formerly b9575a870528ef6712500a94c5223a74d5c6dbec] [formerly bf2ab7b17b25479d6a8fda660e8d9055ffce38de [formerly 3db6f9cbf4cedd9f91ef8f7f1bcc99a4e84027a4]]
Former-commit-id: 0c292fec84d1963f377d16d5e9a15337bef4620f [formerly 93c016fa10c60bf11e4b0b1e17d8c98a66dfa028]
Former-commit-id: 712b1bf14355a82be4cc2c37912f87039b3d9616
2016-09-27 18:10:13 +02:00
Lynix 576c7c3f5d Fixed linking of tools on GCC 64bits
Former-commit-id: e47425b9ff79fc0cb3342594422bb5e20cbc4250 [formerly 373a7d7f61de3a74cd4302389b94e78ccd47ed8d] [formerly cc40ac8e81efa2207d533729cf117b786922b92f [formerly 9fe0392a9506a796791b3a21c54236ad638bd6fc]]
Former-commit-id: 18791f6f0c493e6cd28be214431f7e18a39e8741 [formerly 49f8a79996b9fc6698d091472c5347dd0c8d0081]
Former-commit-id: 45316bf33503cd2fd1d0bbdbffe21dff6d22f565
2016-08-19 01:49:36 +02:00