Skip to content

Commit 641a0a7

Browse files
mgronckijenkins
authored andcommitted
update userguide
1 parent 78c21de commit 641a0a7

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

Docs/UserGuide/userguide.tex

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,47 @@ \subsubsection*{Windows}
658658
\item Open the {\tt oreEverything\_*.sln} and build the entire solution (again, make sure to select the correct platform in the configuration manager first).
659659
\end{enumerate}
660660

661+
\subsubsection*{Generate Visual Studio Projects with CMake}
662+
663+
ORE 1.8.9 and later will be shipped without the Visual Studio project and solution files. The Visual Studio projects can be auto-generated from the CMake project files.
664+
665+
\begin{enumerate}
666+
667+
\item Download and install Visual Studio Community Edition (Version 2013 or later).
668+
During the installation, make sure you install the Visual
669+
C++ support under the Programming Languages features (disabled by default).
670+
671+
\item Download and install CMake for Windows (https://cmake.org/download/). Visual Studio Community Edition 2019 or later supports CMake and you can install the feature 'C++ CMake Tools for Windows' instead of installing CMake as standalone program.
672+
673+
\item Set environment variables: \\
674+
\begin{itemize}
675+
\item {\tt \%BOOST\%} pointing to your directory, e.g, {\tt C:{\bs}boost\_1\_72\_0}
676+
\item {\tt \%BOOST\_LIB32\%} pointing to your Win32 lib directory, e.g, {\tt C:{\bs}boost\_1\_72\_0{\bs}lib32\-msvc\-14.0}
677+
\item {\tt \%BOOST\_LIB64\%} pointing to your x64 lib directory, e.g, {\tt C:{\bs}boost\_1\_72\_0{\bs}lib64\-msvc\-14.0}
678+
\end{itemize}
679+
680+
\item Generate MSVC project files from CMake files:
681+
\begin{itemize}
682+
\item Open a Visual Studio Tools Command Prompt
683+
\begin{itemize}
684+
\item 32-bit: VS2022/x86 Native Tools Command Prompt for VS 2022
685+
\item 64-bit: VS2022/x64 Native Tools Command Prompt for VS 2022
686+
\end{itemize}
687+
\item Navigate to the ORE root directory
688+
\item Run CMake command:
689+
\begin{itemize}
690+
\item 32-bit: \\
691+
{\tt cmake -G "Visual Studio 17 2022" -A x64 -DBOOST\_INCLUDEDIR=\%BOOST\% -DBOOST\_LIBRARYDIR=\%BOOST\_LIB64\% -DMSVC\_LINK\_DYNAMIC\_RUNTIME=true -B build}
692+
\item 64-bit: \\
693+
{\tt cmake -G "Visual Studio 17 2022" -A x32 -DBOOST\_INCLUDEDIR=\%BOOST\% -DBOOST\_LIBRARYDIR=\%BOOST\_LIB32\% -DMSVC\_LINK\_DYNAMIC\_RUNTIME=true -B build}
694+
\end{itemize}
695+
Replace the generator "Visual Studio 17 2022" with the actual installed version.
696+
The solution and project files will be generated in the {\tt $\langle$ORE\_ROOT$\rangle${\bs}build} subdirectory.
697+
\end{itemize}
698+
699+
\item Open the {\tt build{\bs}ORE.sln} and build the entire solution (again, make sure to select the correct platform in the configuration manager first).
700+
\end{enumerate}
701+
661702
\subsubsection*{Unix}
662703

663704
With the 5th release we have discontinued automake support so that ORE can only be built with CMake on Unix systems, as follows.

0 commit comments

Comments
 (0)