3.9 KiB
Follow the build guide to figure out how to build High Fidelity for your platform.
During generation, CMake should produce an install target and a package target.
Install
The install target will copy the High Fidelity targets and their dependencies to your CMAKE_INSTALL_PREFIX.
This variable is set by the project(hifi) command in CMakeLists.txt to C:/Program Files/hifi and stored in build/CMakeCache.txt
Packaging
To produce an installer, run the package target.
Windows
To produce an executable installer on Windows, the following are required:
-
Nullsoft Scriptable Install System - 3.04
Install using defaults (will install toC:\Program Files (x86)\NSIS) -
UAC Plug-in for Nullsoft - 0.2.4c
- Extract Zip
- Copy
UAC.nshtoC:\Program Files (x86)\NSIS\Include\ - Copy
Plugins\x86-ansi\UAC.dlltoC:\Program Files (x86)\NSIS\Plugins\x86-ansi\ - Copy
Plugins\x86-unicode\UAC.dlltoC:\Program Files (x86)\NSIS\Plugins\x86-unicode\
-
nsProcess Plug-in for Nullsoft - 1.6 (use the link marked nsProcess_1_6.7z)
- Extract Zip
- Copy
Include\nsProcess.nshtoC:\Program Files (x86)\NSIS\Include\ - Copy
Plugins\nsProcess.dlltoC:\Program Files (x86)\NSIS\Plugins\x86-ansi\ - Copy
Plugins\nsProcessW.dlltoC:\Program Files (x86)\NSIS\Plugins\x86-unicode\
-
InetC Plug-in for Nullsoft - 1.0
- Extract Zip
- Copy
Plugin\x86-ansi\InetC.dlltoC:\Program Files (x86)\NSIS\Plugins\x86-ansi\ - Copy
Plugin\x86-unicode\InetC.dlltoC:\Program Files (x86)\NSIS\Plugins\x86-unicode\
-
NSISpcre Plug-in for Nullsoft - 1.0
- Extract Zip
- Copy
NSISpre.nshtoC:\Program Files (x86)\NSIS\Include\ - Copy
NSISpre.dlltoC:\Program Files (x86)\NSIS\Plugins\x86-ansi\
-
nsisSlideshow Plug-in for Nullsoft - 1.7
- Extract Zip
- Copy
bin\nsisSlideshow.dlltoC:\Program Files (x86)\NSIS\Plugins\x86-ansi\ - Copy
bin\nsisSlideshowW.dlltoC:\Program Files (x86)\NSIS\Plugins\x86-unicode\
-
- Download both Zips and unzip
- Copy
nsisunz\Release\nsisunz.dlltoC:\Program Files (x86)\NSIS\Plugins\x86-ansi\ - Copy
NSISunzU\Plugin unicode\nsisunz.dlltoC:\Program Files (x86)\NSIS\Plugins\x86-unicode\
-
ApplicationID plug-in for Nullsoft - 1.0
- Download
Pre-built DLLs - Extract Zip
- Copy
Release\ApplicationID.dlltoC:\Program Files (x86)\NSIS\Plugins\x86-ansi\ - Copy
ReleaseUnicode\ApplicationID.dlltoC:\Program Files (x86)\NSIS\Plugins\x86-unicode\
- Download
-
- Install version 10.15.0 LTS
-
Perform a clean cmake from a new terminal.
-
Open the
hifi.slnSolution and select the Release configuration. -
Build the Solution.
-
Build
packaged-server-console(found under Server Console)
This will add 2 folders tobuild\server-console\-
server-console-win32-x64andx64 -
Build CMakeTargets->PACKAGE
Installer is now available inbuild\_CPack_Packages\win64\NSIS
OS X
-
npm Install version 10.15.0 LTS
-
Perform a clean cmake.
-
Perform a Release build of ALL_BUILD
-
Perform a Release build of
packaged-server-consoleThis will add a folder tobuild\server-console\-
Sandbox-darwin-x64 -
Perform a Release build of
packageInstaller is now available in `build/_CPack_Packages/Darwin/DragNDrop