https://github.com/mobius3/terraformer
A CMake super-build project to help create a suitable development environment
https://github.com/mobius3/terraformer
Last synced: 3 months ago
JSON representation
A CMake super-build project to help create a suitable development environment
- Host: GitHub
- URL: https://github.com/mobius3/terraformer
- Owner: mobius3
- License: mit
- Created: 2017-04-18T02:23:35.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-27T02:39:29.000Z (about 8 years ago)
- Last Synced: 2025-05-29T11:59:15.950Z (about 1 year ago)
- Language: CMake
- Size: 15.6 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform
Terraform is a CMake super-build project to aid in the creation of a suitable development environment. It downloads and builds libraries.
It uses ExternalProject to accomplish this via a series of scripts or recipes that contains the required commands to build all dependencies.
# Usage
Clone this repository:
git clone git@github.com:mobius3/terraform.git
Create a build folder inside
cd terraform
mkdir build
cd build
Run `cmake ..` passing a list of targets that needs to be build:
cmake .. -DTERRAFORM_TARGETS="sdl2;sdl2-image;glm"
Run make:
make
This will download and build all targets listed, and install to the parent directory of the root dir. You can change this by passing the argument `TERRAFORM_ROOT`:
cmake .. -DTERRAFORM_TARGETS="sdl2;sdl2-image;glm" -DTERRAFORM_ROOT=/tmp/terraform