The above command will clone OpenStructre into the directory called `directory-name`. If omitted, the directory will be called ost. Alternatively, you might consider getting one of the nightly source code snapshots from the `downloads section <http://www.openstructure.org/download/>`_.
The above command will clone OpenStructre into the directory called `directory-name`. If omitted, the directory will be called ost.
.. note::
.. note::
Some version of curl have have trouble with the certificate of the
Some versions of curl have have trouble with the certificate of the
OpenStructure git server and fail to clone the repository. To work around
OpenStructure git server and fail to clone the repository. To work around
this, disable the SSL certificate verification with the following command:
this, disable the SSL certificate verification with the following command:
...
@@ -103,14 +103,14 @@ OpenStructure uses `CMake <http://cmake.org>`_ for compiling and building the pr
...
@@ -103,14 +103,14 @@ OpenStructure uses `CMake <http://cmake.org>`_ for compiling and building the pr
There are two kinds of options: Options that let you control the building behaviour, enabling and disabling the compilation of certain modules and options that let you tell CMake where to find the dependencies. All of them are passed to CMake with via `-D<opt>=<value>`.
There are two kinds of options: Options that let you control the building behaviour, enabling and disabling the compilation of certain modules and options that let you tell CMake where to find the dependencies. All of them are passed to CMake with via `-D<opt>=<value>`.
On Windows, use Tools -> VisualStudio commandline prompt from within VisualStudio)
On Windows, use Tools -> VisualStudio -> commandline prompt from within VisualStudio
CMake supports different build generators. On UNIX, that is MacOS X and Linux, the default build generator is Makefiles, but it is also possible to use other programs. For a list of supported build generators on your platform, start cmake without parameters.
CMake supports different build generators. On UNIX, i.e. MacOS X and Linux, the default build generator is Makefiles, but it is also possible to use other programs. For a list of supported build generators on your platform, start cmake without parameters.
On Windows you have to explicitly set the buil generator to "Visual Studio 9 2008":
On Windows you have to explicitly set the build generator to "Visual Studio 9 2008"(or a later version):
.. code-block:: bash
.. code-block:: bash
...
@@ -133,11 +133,25 @@ By default, `CMake <http://cmake.org>`_ searches the standard directories for de
...
@@ -133,11 +133,25 @@ By default, `CMake <http://cmake.org>`_ searches the standard directories for de
* `SYS_ROOT` controls the general prefix for searching libraries and headers.
* `SYS_ROOT` controls the general prefix for searching libraries and headers.
By default, it is set to `/`.
By default, it is set to `/`.
* `COMPOUND_LIB` specifies the location of the compound library and
activates the rule-based-builder. The compound library is based on
the component dictionary released by the PDB, and it specifies atoms
of a certain residue or connectivities between atoms etc. The