FLECS-Technologies / flecs-public

This is the FLECS Core.

Home Page:https://flecs-technologies.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FLECS - The World of Automation

We make the world’s automation solutions available at one place, with one click!

How To Build

Cloning the sources

If you are new to FLECS, make sure to clone recursively:

git clone --recurse-submodules https://github.com/flecs-technologies/flecs-public

If you have cloned the source code earlier, make sure to initialize submodules:

git submodule update --init

Requirements

The recommended way

It is recommended to use our official Docker image for building. To do so, run

docker run -it --rm --name flecs-build -v $(pwd):$(pwd) -w $(pwd) flecs/flecs-build:1.5.4-porpoise

from the repository's root directory.

If you intend to build Docker images as well (such as our System Apps), make sure to mount yout local Docker socket:

docker run -it --rm --name flecs-build -v $(pwd):$(pwd) -v /run/docker.sock:/run/docker.sock -w $(pwd) flecs/flecs-build:1.5.4-porpoise

Note: It is recommended to use the Docker image tag that corresponds to the Git tag you are building.

The other way

If you don't want to use our Docker image for whatever reason, please take a peek at https://github.com/FLECS-Technologies/flecs-build/tree/main/docker/flecs-build to find out which dependencies you might need for building. More detailed instructions will follow at a later stage...

Building

  1. Configuration:
cmake -G Ninja -B build/${ARCH} -DARCH=${ARCH} -DCMAKE_INSTALL_PREFIX=out/${ARCH}

ARCH has to be one of (amd64|arm64|armhf)

2a. Building the whole project

cmake --build build/${ARCH}

2b. Building single targets

cmake --build build/${ARCH} --target <target>

Relevant single <target>s might be flunder or mqtt.

About

This is the FLECS Core.

https://flecs-technologies.com/

License:Apache License 2.0


Languages

Language:C++ 88.2%Language:CMake 9.4%Language:Shell 1.7%Language:C 0.6%Language:Dockerfile 0.2%