Commit Graph

118 Commits

Author SHA1 Message Date
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
Lynix 5d308d7812 Build: Fix an oopsie
Former-commit-id: f0f30058efb92e7a24d66f480bb65a945880ad68 [formerly e591e16a60ba1768e5a057ca42fe5b86ea68c64f] [formerly 8cda2a08263f38358814c22387afe94436976fd4 [formerly fb3768694da2c6d4311a73c5583293b2b26bf8f3]]
Former-commit-id: 20cb578d12161750f9bd790f75c94de6b3ee5853 [formerly 78f6f9c6108bad01926e88b94bc27331190493be]
Former-commit-id: af429ed967d8753ba3c0a041c393d1eaf6da3dd7
2016-08-17 13:11:52 +02:00
Lynix 658526ff58 Build/Assimp: Fix assimp rejection
Former-commit-id: 4bd673c117b8450e4e7238dd09c0381e8a4f2c61 [formerly 8cc3af25b5c7baba115c80fe555ab8931def6ef1] [formerly 2d0bcd153b4441bc8b32137965f95e580b6570ab [formerly 567211701b7aca9f35b9b47713138d932673b71d]]
Former-commit-id: db44829c31fcd67fb52643ea63f64bd127080c20 [formerly ded3811843b6d6d90058c238349bcd05c0bfe91b]
Former-commit-id: 56684cc6b81490f9f7e8c445ded6abc4608e0ba1
2016-08-17 13:05:41 +02:00
Lynix a7a98df1a2 Build: Fix TargetDirectory not being taken into account
Former-commit-id: ffaf52748cda6abf396dbe79284c6e011e21af95 [formerly 581bef8e7e4973147111c1ae2dbe204a2e2fe619] [formerly 182b31ea267d0d629dd1bafb9a067a2a70b4b234 [formerly 4e59f7f0ee7a2768cbc1d9e0a7923dda498ffda0]]
Former-commit-id: 82e66db889b74c6614949d0755eae9b41dc889fa [formerly faffe8c22d70e23c041fad00dc735b268fc07d90]
Former-commit-id: 32e116644ab6213d23f6e819bd8341ae512a74e2
2016-08-17 12:59:12 +02:00
Lynix fdfd078335 Build: Fix empty install commands
Former-commit-id: 42abd0d02836ee466821da11bc34bbe4acc30389 [formerly 0031006522b6c8910fae4c7b72eaf05cda23dcea]
Former-commit-id: 11ed91151aa8db729bea196ca9705a6e60f260bb
2016-07-31 12:59:04 +02:00
Lynix b2351e6ef2 Build: Fix command line arguments being ignored if config.lua loading failed
Former-commit-id: a0b9389550d838dbb1257ad68f190f1191bf1987 [formerly 6888f45b376814ff8cea69054c87110b0842bae4]
Former-commit-id: 13522b14991d0e08341798d29344b6e5d6f0a9bd
2016-07-31 11:01:07 +02:00
Lynix f3fa95ee4f Build: Add a separate config file and library/binary search paths support
Former-commit-id: cdab236bb7e31f9a49f60c88de22a2d7b4c63a8a [formerly 7fa3e521de3428ce9d451c3117629a5e84ec675f]
Former-commit-id: 71abf8891e423fecdfea0d80a13c156ed9a427a2
2016-07-29 23:47:09 +02:00
Lynix d90a735372 Build: Fix example path
Former-commit-id: 3cdf26b3497439c344bbc8b3738df6a316f6bef6 [formerly c25cd61df2ea180fa2d79585bd031027c75f2007]
Former-commit-id: 96a3ee99070e34f05b9dabb582ee878a82801c65
2016-06-13 21:19:12 +02:00
Lynix 819b46f5fc Fix a shitload of warnings in 64 bits mode
Former-commit-id: c7792a7d5b1f85ab934da25324831b9daa3f47ff [formerly 3469974c48432be1f65808bff0ea39d9e22f5b50]
Former-commit-id: 5080815e9e1a3aebe237ff9a291b908ce0292eca
2016-06-13 21:09:55 +02:00
Lynix f36eec7346 Build: Fix typo
Former-commit-id: 5037b445f99a56806ef1b512e603e83b1fd717aa [formerly 80d13514491997daabb265e22aaa6738ecb12c0c]
Former-commit-id: 4bb75843b3b70ce460594b01e89205efde53686d
2016-06-12 12:46:56 +02:00
Lynix 7cca8401db Build: Remake install system
Former-commit-id: deb30606621cac3e2142a797158f5472e219d573 [formerly 834b361d6ad2f3cb3626985874996b13b98d5985]
Former-commit-id: c56755b94f8f35bbcfae36528fd41aa8db77c7e9
2016-06-12 11:39:31 +02:00
Lynix 3be6ab3666 Build: Remove duplicate
Former-commit-id: ced72a69471a434dedaa211d105e6ee4a170b487 [formerly d5548d8765668abbad846266e181c7a6e8320926]
Former-commit-id: e882b5914602c508deb7a90e60bcd00b4a697fbd
2016-06-12 10:14:36 +02:00
Lynix bd785b9e0e Build: Convert spaces to tabs
Former-commit-id: c6be47cd6c0945a43472d79efdae28c4ff633b04 [formerly 858f001b7ee5f7e0e8af2421cbc01222fca6d576]
Former-commit-id: fa48639f86989da1aa99d8e43c5293a27a8a10b4
2016-06-12 10:06:27 +02:00
Lynix daa49db2da Build: Remove -fPIC on Windows
Former-commit-id: 5cd3d0c7fa9af5022c71c582859b019f695c5b3d [formerly 1f81da6357e1a8664649015fb2cc58a4dac433e7]
Former-commit-id: f58c4b94b53994f2e506acdc085e245d8419c4fa
2016-06-12 10:03:39 +02:00
Lynix 3a1498b9a4 Build: Remake exclusion system
Allows to excludes pretty much everything and now also excludes projects
relying on an excluded dependency


Former-commit-id: abb175217d473b85f4add760e13fde3f2c6ff9fa [formerly 27ee2d61414ed907c8d828e5862b97ee40008f85]
Former-commit-id: 48bce8d17f8f6c3e761eff000724c60735541ebe
2016-06-12 10:03:05 +02:00
Lynix e70b1f57ae Fix compilation for CodeBlocks 16.01 ! (Fixes #65)
Former-commit-id: 4cddcf427228260249ac1578283896ee2b7ecbfc [formerly 7bf4124ba228559456f38f4247116ed71a45c227]
Former-commit-id: 2b1a728de56c163627fcb6b59231102708f57513
2016-06-09 13:02:02 +02:00
Lynix 70167ce106 Build: Fix build on Premake4
Former-commit-id: 90e0b92e48bbb285a95db0300a8eeaa4125f4d81 [formerly c9fe9513e9e4b6ce4fb53a2f2a2f61f779f756e8]
Former-commit-id: ca9ea9c6931d4857af7f0aab8f43465eb462dd2e
2016-06-09 12:32:04 +02:00
Lynix 14541deb76 Build: Fix with-extlibs option being required for compilation
Former-commit-id: d549ed954e4285f34399e610e3dcfde33c0ad83d [formerly 239e7cd99680e8bd35fdde4e0e137818f1b1bce9]
Former-commit-id: 5233a5e6923162f630bfa186192259123d1ab3da
2016-06-01 13:52:59 +02:00
Lynix b6be16b3c3 Build: Add server option, allows to compile only the server-side part of Nazara
Former-commit-id: 28347f372b3d4b0afef0fcf8f54ebf45589470a3 [formerly b432be7d6e4404bd1c5a10c4b0a7ef43fceed307]
Former-commit-id: 1622472689c5f87d5d77ffe391f1dde9cece815d
2016-06-01 13:51:32 +02:00
Lynix 9a2a19a834 Build: Fix default platform on 32bits os
Former-commit-id: a068dac229fce61efa32634ff616309c91a66079
2016-05-30 13:52:08 +02:00
Lynix 044882bb31 Build: Improve build
- Help linux default to 64bits build in case of 64bits OS
- Fix linux linking with tools


Former-commit-id: 31ea427401fd4fb12b453e8517b2cb4f24ded094
2016-05-30 08:48:22 +02:00
Lynix c31f70af55 Build: Copy all dependency modules to the example directory
Former-commit-id: 13e9d585df15ecc727c140b30dbd5e83e3997b5f
2016-05-16 20:02:59 +02:00
Lynix c0b5ac2529 Build: Make every lib copy its binaries (and dependency bins) to the example/bin folder
Former-commit-id: 02571367a0af738197066d4a17446e203b389d31
2016-05-15 00:38:19 +02:00
Lynix 7e037e4d6f Build: Add an option to copy the built library to the example directory
Former-commit-id: e9b2df26e19917355e3bbc486892f2aeead2ae0e
2016-05-05 23:36:34 +02:00
Lynix 0aac3ab33e Build: Improve code and allow to be platform specific about everything
Former-commit-id: 7f13e1a49ad33da26c1841ee550c9de03303cd80
2016-04-29 20:34:03 +02:00
Lynix 4996b158c2 Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine
Former-commit-id: b649a1ff5716046c72a1720777e4675a57689bca
2016-04-29 18:47:33 +02:00
Lynix 34b7260d54 Plugins: Add Assimp plugin (WIP)
Currently load only static meshes


Former-commit-id: 61dee8f53a423d6d170bd3bfe72e71daa63e8c5b
2016-04-29 14:22:14 +02:00
Lynix 95cb384897 Build: Add support for OS-specific defines
Former-commit-id: 7181f755cfc2640e862e496db96909fdbe485072
2016-04-29 09:03:05 +02:00
Lynix d7ab29e5ef Fix and improve last PR
Former-commit-id: 16afead68e42411402dfb5a7bd957a4940b6f83a
2016-01-24 15:20:14 +01:00
Lynix 69d98fa724 Revert "Build: Make compiling with make easier by adding a native plateform"
This reverts commit ee268879a325e3f62741e57dbe8790fbcc78498f [formerly 3720c0c8924e277e5cab757cc1950adba88bd66b].


Former-commit-id: 2314caedebd2b98ea2fba756c27d4edc76fb0e5c
2015-09-28 21:38:33 +02:00
Lynix b711f47304 Build: Make compiling with make easier by adding a native plateform
Former-commit-id: 2b12eff243fba3ce25a3cd4634ac18b351b18f49
2015-09-28 21:27:17 +02:00
Lynix 05056d41de Build: Fix project generation for Linux
Former-commit-id: 9e0787779d9c8fa84f3f41a6f75e7bf29be403d4
2015-09-28 00:41:59 +02:00
Lynix bef0736295 Build: Disable VS Minimal Rebuild (in order to enable /MP)
Former-commit-id: 3dd5ea9e59060c9991be55271c6619c6c226e61e
2015-09-19 13:38:30 +02:00
Lynix 252adbf191 Build: Fix support for windowed tools
Former-commit-id: 35513cbde7cddecba27256919c0ebd5cc8d56160
2015-09-19 13:37:29 +02:00
Lynix a09f859144 Build: Fix support for executable tools
Former-commit-id: c6a986ed730d5d5eac043fbf66434821aa6f6839
2015-09-19 01:12:57 +02:00
Lynix c4c8904aca Merge branch 'NDK' of https://github.com/DigitalPulseSoftware/NazaraEngine into NDK
Former-commit-id: 25bdf44e4ef7458a50ab60cd5f6bd49522528c23
2015-08-20 21:17:47 +02:00
Lynix 2847f262b2 Build: Enabled multi-processor building on VS
Former-commit-id: c62e66a548b36e81a3816bff9457691f203a1f73
2015-08-20 21:17:41 +02:00
Lynix 4d5cea8afe Build: Switching to C++14
Former-commit-id: 05e737521493d41df024932c731079a22b838681
2015-08-20 13:28:31 +02:00
Lynix ec21416231 Build/Common: Fix double execution of actions
Former-commit-id: b7279f39c57f3f2b1974642525dd4dea3d412781
2015-06-21 14:54:29 +02:00
Lynix b3597d5330 Build: Fix library directories
Former-commit-id: 7bf4a9078e03e0de9ec8ab3df2303d4e3eb9e031
2015-06-15 21:14:20 +02:00
Lynix 58f8ffac35 Move libraries to specific directories (depending on the compiler)
Former-commit-id: 7b9c7141036ae01ca1d269c0748200ec4d069312
2015-06-15 13:41:50 +02:00
Lynix 32a217ea1b Build: Now handle 32/64bits the right way
Former-commit-id: 5769c92df0994e91e7098df37612893fb51fdf8a
2015-06-14 16:17:02 +02:00
Lynix 71e595fe49 Build: Rework build system + introduced SDK build file
Former-commit-id: 90727a78031a83753404d2fe09a6347315a00a39
2015-06-14 15:48:16 +02:00
Lynix a6092be930 Move all build files to build directory
Former-commit-id: 499125a81d877144aabe7d89bb69043b92872b24
2015-06-14 01:47:02 +02:00
Lynix b2a248d6f5 Merge remote-tracking branch 'origin/BuildSystem-Update' into NDK
Conflicts:
	build/scripts/common.lua
	build/scripts/module/audio.lua
	build/scripts/module/core.lua
	build/scripts/module/graphics.lua
	build/scripts/module/lua.lua
	build/scripts/module/noise.lua
	build/scripts/module/physics.lua
	build/scripts/module/renderer.lua
	build/scripts/module/utility.lua

Former-commit-id: 8374b17a214e0efbdc7d35e81ed809f8dc9d3b79
2015-06-13 23:26:34 +02:00
Lynix 251e21f006 More VS fixes
Former-commit-id: 356effb816b9527ff9e89ee3b99074c468455b08
2015-06-13 19:42:07 +02:00
Lynix debe39501e Added experimental new build system
Former-commit-id: ab7fb35db6be4b975d0558680c840d72e38562f9
2015-01-20 23:37:49 +01:00
Lynix cca920e597 Enabled GCC vectorization
Former-commit-id: f585c662924d7167457373633ee0df424bbe9cdb
2013-06-19 15:23:40 +02:00
Lynix 783e609c8e Fixed warnings and optimized noise module
Former-commit-id: 62840540e2938d08436a22d4e19d801466f1d6ba
2013-06-17 23:58:06 +02:00
Lynix 6ccde01bee Fixed United build option not including all files (Close #13)
Former-commit-id: 8e9da1c6fa7e65ac5285abdd3f358c033c9f2174
2013-06-17 17:29:33 +02:00
Lynix a3f8d058ec Fixed some warnings with Visual Studio
Former-commit-id: e783a55f47e9cfd8a08eced14d19e5eb03b864d8
2013-06-09 16:26:29 +02:00
Lynix 278a15de62 Nazara will now build on 64bits target
I used a new MinGW package to build these. If your doesn't work, use :
64bits:
http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.0/64-bit/threads-win32/seh/
32bits:
http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.0/32-bit/threads-win32/dwarf/

Former-commit-id: 406181e292648f3bcd7431617c4db55eab7d918f
2013-05-03 12:16:32 +02:00
Lynix 143707bc2e Added extern libraries (Made STB one of them)
Former-commit-id: 0ca555e9f035600924c7c23fff06bc3810051fdf
2013-04-12 15:12:11 +02:00
Lynix e3316c4e10 Fixed SSE warning in debug with GCC
Former-commit-id: 3632988311795547ccf59a66606b3faccff1a1b1
2012-11-22 01:15:58 +01:00
Lynix dba1668011 Fixed SSE2 not being enabled
Former-commit-id: b4b6b3e014bac4dedfe684a30f9729b4c8f03a36
2012-11-21 19:31:16 +01:00
Lynix 40ec2003b4 Added Audio module
Fixed examples resources not being commited
Temporary removed static build configurations
2012-08-21 15:04:00 +02:00
Lynix cd6b2c447a Fixed modules target names 2012-08-18 14:08:14 +02:00
Lynix 15afde86c8 Rewritted ResourceLoader and moved it to core
Added creation constructor to NzImage
Added member function functor
Added option to build Nazara as one library (instead of many)
Fixed some 2011 copyrights
Made use of "using def = T" C++11 feature instead of some illigible
typedefs
Removed unused premake file
2012-08-18 01:46:01 +02:00
Lynix f8a0cdad39 Added Windows shortcut to generate CodeLite project
Changed two submesh's error message
Fixed OpenGL.hpp/.cpp spaces for some displayers
OpenGL loads GL_kdr_debug if possible instead of GL_ARB_debug_output
Refactored external includes
2012-08-10 02:03:25 +02:00
Lynix b442ab0bd2 Refactored mathematics module
Added AABBs
Added code examples
Added experimental support for texture arrays (1D/2D)
Added initialisers (new way of initialising modules)
Added global headers (Plus a global header generator script)
Added pattern support for directory
Added support for spinlocks critical section on Windows
Added NzRenderWindow::SetFramerateLimit
Core project now includes Mathematics files
Fixed color implementation using double
Fixed declaration needing renderer include
Fixed MLT not clearing nextFree(File/Line) after Free
Fixed move operators not being noexcept
Fixed thread-safety (Now working correctly - If I'm lucky)
Moved Resource to core
New interface for modules
New interface for the renderer
Put some global functions to anonymous namespace
Removed empty modules
Renamed ThreadCondition to ConditionVariable
Replaced redirect to cerr log option by duplicate to cout
Setting mouse position relative to a window will make this window ignore
the event
Shaders sending methods no longer takes the uniform variable name (it's
using ID instead)
Using new OpenGL 4.3 header
2012-08-08 04:44:17 +02:00
Lynix be0a5d2819 Fixed many bugs
Added NzOpenGL::GetEntry
Activated preprocessor error if not compiling with a C++11 compliant
compiler
Cube can now be constructed with a Rect
Desactived utility option "threaded window" (bugged)
Epured Image interface (No more UpdateFace, use Update with z = the face
you are targetting)
Fixed compilation errors (Thanks to RafBill)
Fixed predefined colors not exported
Fixed uplading pixels not aligned by 4 bytes
Fixed Thumbs.db files not ignored by git
NzImage now supports Filling and Flipping (Horizontally and vertically)
NzImage::Get(Const)Pixels now support pixel location
NzVector(2/3) can now return floatting distance/length with all types
NzVector(2/3/4) can now be constructed by a vector of smaller dimension
Premake now set "-std=c++11" build option for GCC
Renamed NzImage::(Get/Set)Pixel to (Get/Set)PixelColor
Updated new([])/delete([]) in the leaks tracker to the new C++11
signatures
2012-06-15 11:03:43 +02:00
Lynix 71b4262c51 First commit 2012-05-01 16:43:48 +02:00