Learn sequence, free list, pool memory allocators for L-system project.
You need to have bazel installed. // TODO: Add Cmake build file.
- MemoryAllocator (dynamic library)
- MemoryAllocator_main (client part that depends on library)
- MemoryAllocator_test (unit tests for library)
If you are under 64 or 32 bit machine and want to build 64 or 32 bit app respectively, then run next command
bazel build :<Target Name>
# Example
bazel build :MemoryAllocator
Note: you have to be in folder with WORKSPACE file.
If you are under 64 bit machine and want to build for 32 bit, then run next command
bazel build :<Target Name> --copt=-m32 --cxxopt=-m32 --linkopt=-m32
# Example
bazel build :MemoryAllocator --copt=-m32 --cxxopt=-m32 --linkopt=-m32
Note: you have to be in folder with WORKSPACE file.
Add the --cxxopt=-D_DEBUG to your command
bazel build :<Target Name> --cxxopt=-D_DEBUG
# Example
bazel build :MemoryAllocator --cxxopt=-D_DEBUG