Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

During a build with CMake there are three different directories involved: The source home dir, the build dir and the install dir.

...

Home directory:   (ex: tar zvxf Magics2.22.0.tar.gz in /tmp/.../

...

magics_home

The source home dir is where the project's sources resources are stored. In This the directory to which you extract  the project's source resource archive.The source home dir also contains the files which describe the build to CMakeused by cmake to build the library, but also subdirectories with the sources, config files, etc...

Build directory: (Ex: /tmp/.../build/magics)

...

> cmake  /path/to/magics-sourcehome-file directory –DCMAKE_INSTALL_PREFIX=/path/to/where/you/install/Magics++-2.22.0

...