You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Docs/UserGuide/userguide.tex
+14-1Lines changed: 14 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -699,7 +699,7 @@ \subsubsection*{Generate Visual Studio Projects with CMake}
699
699
\item Open a Visual Studio Tools Command Prompt
700
700
\begin{itemize}
701
701
\item 32-bit: VS2022/x86 Native Tools Command Prompt for VS 2022
702
-
\item 64-bit: VS2022/x64 Native Tools Command Prompt for VS 2022
702
+
\item 64-bit: VS2022/x64 Native Tools Command Prompt for VS 2022
703
703
\end{itemize}
704
704
\item Navigate to the ORE root directory
705
705
\item Run CMake command:
@@ -718,6 +718,19 @@ \subsubsection*{Generate Visual Studio Projects with CMake}
718
718
\item or open the MSVC solution file {\tt build{\bs}ORE.sln} and build the entire solution with Visual Studio (again, make sure to select the correct platform in the configuration manager first).
Alternatively, from Visual Studio 2015 onward, you can use Visual Studios capability to parse the CMakeLists.txt in the ORE root directory, by first setting the CMake BOOST variables in the environment:
724
+
725
+
{\tt set BOOST_INCLUDE_DIR=} pointing to your boost directory, e.g {\tt C:{\bs}boost\_1\_72\_0}
726
+
{\tt set BOOST_LIBRARYDIR=} pointing to your Win32 or x64 boost lib directory, e.g {\tt C:{\bs}boost\_1\_72\_0{\bs}lib32\-msvc\-14.0} or {\tt C:{\bs}boost\_1\_72\_0{\bs}lib64\-msvc\-14.0}
727
+
{\tt set BOOST_ROOT=} pointing to your boost directory, e.g {\tt C:{\bs}boost\_1\_72\_0}
728
+
729
+
Afterwards, start the development environment, e.g {\tt "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe"} and open the CMakeLists.txt file using File, Menu, CMake...
730
+
Once the file has been parsed successfully and CMake generation has been finished (observable in the output window), you can switch in the solution explorer from the file view to the projects view, where the CMake Targets View can be selected. In this view, the various target projects can be seen below "ORE Project" and be used in a similar manner as the usual VS projects.
731
+
732
+
The executables are built in the subfolder {\tt /build/TARGET/CONFIGURATION/EXECUTABLE}, e.g. {\tt /build/App/Release/ore.exe}, the debug and launch settings are set in launch.vs.json and not in the GUI.
733
+
721
734
\subsubsection*{Unix}
722
735
723
736
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