Skip to content
This repository has been archived by the owner on Apr 5, 2021. It is now read-only.

Building project

Arnis Lielturks edited this page Mar 2, 2019 · 3 revisions

How to build

THIS SAMPLE WORKS WITH THE LATEST CHANGES FROM THE URHO3D REPOSITORY! IT WILL NOT WORK WITH THE 1.7 AND PREVIOUS RELEASES!


Make sure that the URHO3D_HOME environment variable is set and points to the right directory. Build this the same way how you would build Urho3D engine itself

Ubuntu:

git clone https://github.com/ArnisLielturks/Urho3D-Empty-Project.git
cd Urho3D-Empty-Project
./cmake_generic.sh build
cd  build
make

If everything worked, build/bin directory should contain EmptyProject executable.

Dockerized builds

This sample includes build configuration for the CircleCI and TravisCI services. Both of them utilize the Docker to build the sample. To run the build process simply execute this command in the root folder of this project.

docker build .

To see the full build process steps, see the Dockerfile: https://github.com/ArnisLielturks/Urho3D-Project-Template/blob/master/Dockerfile

And of course here's the quick preview of how it should look in the end: alt tag