No description
Find a file
Stephen Seo 9ddd0a0813
All checks were successful
Run UnitTests / build-and-run-unittests (push) Successful in 33s
Merge branch 'master' into cxx17
2024-11-14 17:30:49 +09:00
.forgejo/workflows Enable tests on "any_archLinux" act runners 2024-01-20 19:44:48 +09:00
.github/workflows Update some actions' versions in .github/workflows 2024-11-14 17:30:27 +09:00
conan_usage_example Fix minor typo 2024-07-15 17:32:45 +09:00
doxygen Update doxygen main page to link to EC::Manager 2021-09-09 13:13:55 +09:00
src Merge branch 'master' into cxx17 2024-07-15 13:47:06 +09:00
.clang-format Impl nested threaded calls 2022-06-15 21:15:34 +09:00
.clangd Modify .clangd specifying use of C++17 2021-09-07 18:18:08 +09:00
.gitignore Impl ThreadPool 2021-09-06 15:54:24 +09:00
AttributionNotice Added License and legal related requirements 2016-03-15 19:29:13 +09:00
conanfile.py Fix conanfile.py, add example usage conan project 2024-07-15 17:24:07 +09:00
Doxyfile Update Doxygen and README.md 2021-09-08 18:06:24 +09:00
LICENSE Update LICENSE year 2024-07-15 12:52:34 +09:00
README.md Update README.md 2024-07-15 13:49:50 +09:00

About

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

Generated Doxygen Documentation

Check this repository's gh-pages documentation on ECMS

Alternatively, check out the doxygen docs hosted on my website

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