Skip to content

Latest commit

 

History

History
41 lines (36 loc) · 1.55 KB

building.md

File metadata and controls

41 lines (36 loc) · 1.55 KB

Instructions for building the project

  1. Download and install Visual Studio Community 2017.

    1.1. Desktop development with C++ workload should be selected when installing.

    1.2. SDK 10.0.17763.0 and 8.1 should be selected when installing.

  2. Download and install CMake.

  3. Download and install vcpkg.

  4. In vcpkg, you need to install the following libraries (use triplet x86-windows-static in all cases):

  • asio
  • gtest
  • libvpx
  • libyuv
  • openssl
  • opus
  • protobuf
  • qt5-base
  • qt5-translations
  • qt5-winextras (only for Windows)
  • rapidjson
  • rapidxml
  • sqlite3
  • zstd
  1. Go to the source directory and run the following commands:
    mkdir build
    cd build
    cmake ..\ -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE=<vcpkg_path>\scripts\buildsystems\vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x86-windows-static

    (replace <vcpkg_path> with real path to vcpkg)

    You can also use CMake GUI for these purposes.
    After these actions, the aspia.sln file will be generated in directory "build".

  2. Open aspia.sln in Visual Studio and build the project.

Alternative instructions (SW build system)

  1. Download, unpack and add to PATH sw tool from https://github.com/SoftwareNetwork/binaries
  2. Run sw build source in the project root. Binaries will be available under .sw directory.
  3. To generate VS solution, run sw generate source.