====== SetupProject ======
SetupProject is a tool that simplifies the preparation of environments for different Projects. It can create necessary directories, sets environment variables and a does lot more.
For a more details:
[[https://twiki.cern.ch/twiki/bin/view/LHCb/SetupProject | Setup Project User Guide]]
===== runtime environment =====
To prepare a runtime environment use:
SetupProject PROJECT [VERSION]
This will first look for the Project in **User_release_area**. If you have a local copy of the project (with correct version), this source will be used.
To see which versions exist use:
SetupProject PROJECT --list
or
SetupProject PROJECT --ask
===== build environment =====
To prepare a build environment use:
SetupProject PROJECT --build-env [VERSION]
This will create a "user project" in **User_release_area**.
If the project already exists it will not be modified.
If no version is given, SetupProject will ask.
=== Traps & Hints ===
* Setting up a build environment is needed only once (when starting a new user project). To continue development the runtime environment is enough.
* **Setting up a build environment will not set up a runtime environment.**