Template for creating applications using allolib. This template is suitable for large projects wil multiple files and dependencies where you need more control. If you are prototyping single files or want to explore the allolib examples, use the allolib_playground repo.
Developed by:
AlloSphere Research Group
University of California, Santa Barbara
terminal to run bash
git
cmake version 3.0 or higher
On a bash shell:
git clone https://github.com/AlloSphere-Research-Group/allotemplate.git <project folder name>
cd <project folder name>
./init.sh
You can convert the folder into a git repository of your choice with the following commands. (Example is using a github repository: replace username and repository name)
git remote add origin [email protected]:username/new_repo
After the initial commit, set the upstream with the following command.
git push -u origin master
src folder contains the initial test code you can replace.
Edit CMakeLists.txt and run.sh to match your code.
On a bash shell:
./configure.sh
This will execute cmake on the project
./run.sh
This will compile the project, and run the binary if compilation is successful.
If you need to delete the distribution,
./distclean.sh
should recursively clean all the build directories of the project including those of allolib and its submodules.