INSTALL 2.71 KB
Installation and Compilation (coolbot-sns-bundle)
================================================================================

Summary:

1. Installation and Compilation in Linux.
2. Installation and Compilation in Windows.

--------------------------------------------------------------------------------
1. Installation and Compilation in Linux.
--------------------------------------------------------------------------------

To compile and install the bundle:

    1. cd build

    2. ccmake ..

    3. Put ON the CREATE_ENV_VAR variable (enable environment variable creation)

    4. Put OFF the DEBUG_MODE variable (enable release mode)

    5. Press 'c' to continue and, if all has gone well, press 'g' to generate the
       project and exit (if any prerequisite is not met, CMake aborts indicating
       which one has not been found on the system).

    6. Restart the shell or command interpreter so that the changes are applied:

       $ source ~/.bashrc  (in GNU/Linux)
       $ source ~/.profile (in APPLE)

    7. make (compile the whole project, specific targets can be also specified)

    8. make install (you might need to have administrator permissions)

--------------------------------------------------------------------------------
2. Installation and Compilation in Windows.
--------------------------------------------------------------------------------

To compile and install the bundle:

    1. Run the CMake executable, cmake-gui.exe, and specify the source (where the
       CMakeLists.txt file) and build directories(<coolbot-sns-bundle>/build).

    2. Configure the cache settings

      2.1. Click the Configure button. If this is the first time you are
           running cmake-gui in this directory, you will be prompted for the
           generator you wish to use (for example on Windows, Visual Studio 2010 Express).
           CMake will read in the CMakeLists.txt files from the source directory and
           display options for the project. After the first configure you
           can adjust the cache settings and/or specify locations of other programs.

      2.2. Put ON the CREATE_ENV_VAR variable (enable environment variable creation)
           and click the Configure button.

      2.3. Put OFF the DEBUG_MODE variable (enable release mode) and click the
           Configure button.

      2.3. Finally, if there is no conflict or other problem, click the Generate button
           to produce the appropriate build files (the solution and project files will
           be created in the build folder).

    3. Open the solution file in your build directory. Load the solution with
       Visual Studio or Visual C++ Express. Be sure to select Release mode.

    4. Finally, build and install the solution.