Follow the build guide to figure out how to build Project Athena for your platform.
During generation, CMake should produce an install
target and a package
target.
The install
target will copy the Project Athena 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
To produce an installer, run the package
target.
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.nsh
toC:\Program Files (x86)\NSIS\Include\
- Copy
Plugins\x86-ansi\UAC.dll
toC:\Program Files (x86)\NSIS\Plugins\x86-ansi\
- Copy
Plugins\x86-unicode\UAC.dll
toC:\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.nsh
toC:\Program Files (x86)\NSIS\Include\
- Copy
Plugins\nsProcess.dll
toC:\Program Files (x86)\NSIS\Plugins\x86-ansi\
- Copy
Plugins\nsProcessW.dll
toC:\Program Files (x86)\NSIS\Plugins\x86-unicode\
-
InetC Plug-in for Nullsoft - 1.0
- Extract Zip
- Copy
Plugin\x86-ansi\InetC.dll
toC:\Program Files (x86)\NSIS\Plugins\x86-ansi\
- Copy
Plugin\x86-unicode\InetC.dll
toC:\Program Files (x86)\NSIS\Plugins\x86-unicode\
-
NSISpcre Plug-in for Nullsoft - 1.0
- Extract Zip
- Copy
NSISpre.nsh
toC:\Program Files (x86)\NSIS\Include\
- Copy
NSISpre.dll
toC:\Program Files (x86)\NSIS\Plugins\x86-ansi\
-
nsisSlideshow Plug-in for Nullsoft - 1.7
- Extract Zip
- Copy
bin\nsisSlideshow.dll
toC:\Program Files (x86)\NSIS\Plugins\x86-ansi\
- Copy
bin\nsisSlideshowW.dll
toC:\Program Files (x86)\NSIS\Plugins\x86-unicode\
-
- Download both Zips and unzip
- Copy
nsisunz\Release\nsisunz.dll
toC:\Program Files (x86)\NSIS\Plugins\x86-ansi\
- Copy
NSISunzU\Plugin unicode\nsisunz.dll
toC:\Program Files (x86)\NSIS\Plugins\x86-unicode\
-
ApplicationID plug-in for Nullsoft - 1.0
- Download
Pre-built DLLs
- Extract Zip
- Copy
Release\ApplicationID.dll
toC:\Program Files (x86)\NSIS\Plugins\x86-ansi\
- Copy
ReleaseUnicode\ApplicationID.dll
toC:\Program Files (x86)\NSIS\Plugins\x86-unicode\
- Download
-
- Install version 10.15.0 LTS
-
Perform a clean cmake from a new terminal.
-
Open the
athena.sln
solution and select the Release configuration. -
Build the solution.
-
Build
packaged-server-console-npm-install
(found under hidden/Server Console) -
Build
packaged-server-console
(found under Server Console)
This will add 2 folders tobuild\server-console\
-
server-console-win32-x64
andx64
-
Build CMakeTargets->PACKAGE
Installer is now available inbuild\_CPack_Packages\win64\NSIS
-
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-console
This will add a folder tobuild\server-console\
-
Sandbox-darwin-x64 -
Perform a Release build of
package
Installer is now available in `build/_CPack_Packages/Darwin/DragNDrop