Building yasmine

This section provides you with instructions on how to build yasmine in your environment.

Getting the source

  • Download the yasmine package including the C++ source code from the yasmine homepage.

  • Unzip the source package into a directory of choice (this is referred to as $YDIR in the rest of this document). You can use 7-Zip or a similar tool for this task.

Building

As for now, these building options are available:

  • Visual Studio - Description on how to build yasmine with Microsoft Visual Studio and Microsoft Visual Studio Compiler (using the provided solution and projects).

  • CMake - Description page for building yasmine using CMake for Linux and Windows (Visual Studio/MSBuild).

Other compilers and platforms

yasmine 0.5.0 introduced CMake support. Builds for Linux with gcc or clang are now supported out of the box. For other compilers and/or platforms you can just adopt the CMake files.

Alternatively you can quite easily set up your own build. Basically all you need to build yasmine with a different compiler suite and/or on a different platform is C++11 support. Just take the yasmine source code and set up a library project according to the procedures necessary for your platform. If you lack C++11 support, you can also build yasmine with a C++03 capable compiler if you have a relatively up-to-date version of Boost at hand (since version 0.6.0).

You can also contact us to get a quote for commercial support for porting yasmine to your platform!

If you run into compiler/build problems in your environment (especially compiler errors or warnings), please contact us. We then will try to resolve these issues.