You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Stephen Seo 57101d283d Update LICENSE year 12 months ago
.github/workflows Attempt to use github actions for Doxygen docs 2 years ago
doxygen Update doxygen main page to link to EC::Manager 2 years ago
src clang-format EC/ThreadPool.hpp 12 months ago
.clang-format Impl nested threaded calls 12 months ago
.clangd Add .clangd specifying use of C++14 2 years ago
.gitignore Impl ThreadPool 2 years ago
AttributionNotice Added License and legal related requirements 7 years ago
Doxyfile Update Doxygen and README.md 2 years ago
LICENSE Update LICENSE year 12 months ago
README.md Update Doxygen and README.md 2 years ago

README.md

About

EntityComponentMetaSystem is a header-only library. However, UnitTests can be built and run using cmake (gtest is a dependency).

(Note that gtest uses the BSD 3-Clause License.)

Generated Doxygen Documentation

Check this repository's gh-pages documentation on ECMS

Compiling the UnitTests

Create a build directory.
mkdir build

Generate makefile with CMake.
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ../src

Build the project's UnitTests.
make

Run the UnitTests.
./UnitTests

Install the Header-Only Library

mkdir build; cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ../src

Install the project to where you want to.
make DESTDIR=install_here install

In this example, CMAKE_INSTALL_PREFIX=/usr, then invoking make DESTDIR=install_here install will install the src/EC directory to install_here/usr/include. The path to Manager.hpp will then look like install_here/usr/include/EC/Manager.hpp