Parcourir la Source

Added a first version of an EASTL library module

It doesn't work until one provides their own `new[]` operators. Maybe
there is also interest in providing other EA libraries but here's the
minimal working set I'm using for now.
Eiyeron Fulmincendii il y a 5 ans
Parent
commit
787b4a7a66
3 fichiers modifiés avec 46 ajouts et 0 suppressions
  1. 3 0
      README.md
  2. 17 0
      prelude/libraries/eabase.lua
  3. 26 0
      prelude/libraries/eastl.lua

+ 3 - 0
README.md

@@ -74,6 +74,9 @@ that'd be an excellent candidate for magic-based refactoring.
   - Clone its git repo into `external/glm`
 - LibXMP-lite : I would like to prototype some stuff out of module playback.
   - Download the tarball into `external/libxmp-lite`
+- EASTL : No need to introduce it I guess
+  - Download the last release version into `external/eastl` and last EABase's
+    version in `external/eabase`
 
 Obviously, more are going to come.
 

+ 17 - 0
prelude/libraries/eabase.lua

@@ -0,0 +1,17 @@
+local prelude = require "prelude"
+
+local eabase = prelude.library_module("EABase", "eabase")
+
+:use_public_includes {
+    "include/Common/"
+} 
+
+:use_files {
+    "include/Common/**.h",
+}
+
+eabase._VERSION = "0.0.1"
+eabase._LIBRARY_VERSION = "2.0.10"
+eabase._NAME = "EABase"
+
+return eabase

+ 26 - 0
prelude/libraries/eastl.lua

@@ -0,0 +1,26 @@
+local prelude = require "prelude"
+local eabase = require "prelude.libraries.eabase"
+
+
+local eastl = prelude.library_module("EASTL", "eastl")
+eastl:require_module(eabase, "None")
+
+:use_public_includes {
+    "include"
+} 
+
+:use_files {
+    "include/**.h",
+    "source/**.cpp",
+    "test/packages/EABase/"
+}
+
+:use_win_files {
+    "doc/EASTL.natvis"
+}
+
+eastl._VERSION = "0.0.1"
+eastl._LIBRARY_VERSION = "3.16.01"
+eastl._NAME = "EASTL"
+
+return eastl