-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
50ffd5c
commit 6b55392
Showing
1 changed file
with
1 addition
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,6 @@ | ||
# How to build mGear | ||
|
||
## Prerequisites | ||
|
||
Git (of course) | ||
|
||
Python 2.7 | ||
|
||
SCons | ||
|
||
Maya 2014 ~ 2018 (*) | ||
|
||
A C++ compiler: (*) | ||
- gcc on linux | ||
- clang on OSX | ||
- Visual Studio on windows (**) | ||
|
||
(*) Only when building the plugins | ||
|
||
(**) The version should match the one used by the target Maya version | ||
|
||
## Step by step process | ||
|
||
1. Clone the repository and initialize it | ||
|
||
``` | ||
$ git clone [email protected]:mgear-dev/mgear_dist.git | ||
$ cd mgear_dist | ||
$ git submodule update --init | ||
$ git submodule foreach --recursive git checkout master | ||
``` | ||
|
||
2. Checkout the desired branch or tag | ||
|
||
- **develop** : latest developments | ||
- **master** : latest official release | ||
- **RB-x.x** : latest version in x.x series (i.e. 2.2.5 in RB-2.2) | ||
|
||
``` | ||
$ git submodule foreach --recursive git checkout develop | ||
$ git submodule foreach git pull origin develop | ||
``` | ||
|
||
3. Compile | ||
|
||
The available targets are: | ||
- **mgear_core** : Only mgear python module. | ||
- **mgear_solvers** : Solvers maya plugin. | ||
- **cvwrap** : cvwrap maya plugin. | ||
- **mgear** : everything (*default*) | ||
|
||
``` | ||
$ scons with-maya=2017 | ||
... | ||
(let it cook) | ||
``` | ||
|
||
To show all available build options: | ||
|
||
```$ scons -h``` | ||
we are using now CMAKE, this file needs to be updated. | ||
|
||
|
||
|
||
|