|
|
@@ -5,9 +5,17 @@
|
|
|
# Systems:
|
|
|
# * Give the Linux flag when compiling on Linux or similar Posix systems having the same dependencies installed.
|
|
|
# * Give the Windows flag when compiling on Microsoft Windows.
|
|
|
+# Features:
|
|
|
+# * Give the ReuseMemory flag to enable memory recycling using allocator.cpp.
|
|
|
+# This can cause crashes if you have more than one memory recycler linked,
|
|
|
+# because you don't want one implementation allocating and another freeing.
|
|
|
# Strings use a subset of the C standard for mangling, so \\ is used to write \.
|
|
|
# You can also use / and let the file abstraction layer convert it into \ automatically when running on Windows.
|
|
|
|
|
|
+if ReuseMemory
|
|
|
+ Crawl "base/allocator.cpp"
|
|
|
+end if
|
|
|
+
|
|
|
if Linux
|
|
|
Message "Building for Linux\n"
|
|
|
end if
|