|
|
Build on MacOSX
|
|
|
===============
|
|
|
MacOSX is based on a flavor of Unix, and MatLib can thus be built on a Mac using the procedure described [here](../unix-install). For those uncomfortable with the terminal, and/or willing to take advantage of the graphical interface of XCode (e.g. for debugging), we describe below a terminal-less procedure. |
|
|
\ No newline at end of file |
|
|
MacOSX is based on a flavor of Unix, and MatLib can thus be built on a Mac using the procedure described [here](../unix-install). For those uncomfortable with the terminal, and/or willing to take advantage of the graphical interface of XCode (e.g. for debugging), we describe below a terminal-less procedure.
|
|
|
1. Download the files (or clone the repository): in the following we will refer to the top directory as `MatLib` (although you can pick the name of your choice).
|
|
|
2. Create a build directory to use with CMake: the location of this directory is arbitrary, but we will create it just under `MatLib` (using the Finder if you don't want to open a terminal).
|
|
|
3. Open CMake, and indicate the `MatLib` directory as the location of source code, and `MatLib/build` as the location where to build binaries. You can then click on the `Configure` button. The first time you click on `Configure` you will be asked to pick a generator: in this example we will use XCode (which should have been installed before of course).
|
|
|
4. ... |
|
|
\ No newline at end of file |