diff --git a/Doc/misc.docu b/Doc/misc.docu index d00e5a0c..cb2e9809 100644 --- a/Doc/misc.docu +++ b/Doc/misc.docu @@ -31,7 +31,7 @@ The following naming conventions are used for the %OpenMesh code: //----------------------------------------------------------------------------- -/** \page compiling Compiling %OpenMesh +/** \page compiling Compiling OpenMesh \section compilers Tested compilers @@ -75,7 +75,7 @@ Install the following external libraries / frameworks if you want to use the inc \section sec_compiling_unix Unix -\subsection linux_using_cmake Compiling %OpenMesh using CMake +\subsection linux_using_cmake Compiling OpenMesh using CMake In order to compile %OpenMesh, create a directory named e.g. "build" in OpenMesh's root directory. Change to the newly created directory and type @@ -107,7 +107,7 @@ There are some additional targets:
\section sec_compiling_windows Windows -\subsection windows_using_cmake Compiling %OpenMesh using CMake +\subsection windows_using_cmake Compiling OpenMesh using CMake If you want to use cmake to build your Visual Studio 2008 solution file,
download and install CMake from www.cmake.org.
@@ -140,23 +140,44 @@ In Visual Studio 2008 choose "Release" in the appropriate select box and build t Download and install required libraries as stated above. Because some of the examples depend on the GLEW library, it's recommended to install glew via MacPorts portage system MacPorts.
-If you have not installed it yet, follow the instructions given on their site in order to install it.
-Type - -sudo port -v install glew - -to install glew headers and libraries. ( MacPorts usually installs header files to \c /opt/local/include and libraries to \c /opt/local/lib. )
-
+If you have not installed it yet, follow the instructions given on their site. Type sudo port -v install glew to install glew headers and libraries.

+You can download %OpenMesh's sources from www.openmesh.org or check out the latest repository via SVN:
+svn co http://www.openmesh.org/svnrepo/OpenMesh/trunk %OpenMesh.

-\subsection mac_using_cmake Compiling %OpenMesh using CMake +\subsection mac_using_cmake Compiling OpenMesh using CMake -If you're using cmake as preferred build system create a directory -named e.g. in %OpenMesh's root directory and change to it. +We recommend you to use CMake >= 2.8 as build system. This can also easily be installed +via MacPorts as well as the Qt >= 4.6 library which is used for some example applications +in %OpenMesh.
+Once installed, change to %OpenMesh's root directory and create a directory +named e.g. "buildDebug" (assuming you want to build with debug symbols).
+Then type in the following command to initially set up the build environment:

cmake ..            ## Generates the appropriate Makefiles
-make                ## Builds the project (use 'make debug' to build debug version)
-

+ +
+Note: If the build directory is not a subdirectory of %OpenMesh's root folder, replace ".." with %OpenMesh's +absolute (or relative) path. +In order to manually set specific build variables, just type: +

+ +ccmake .            ## Configure build environment
+
+
+This opens the CMake configure tool. Change the CMAKE_BUILD_TYPE variable to "Release" in order to prepare build +for release configuration. Now, when everything is set up, just type: +

+ +make                ## Build %OpenMesh
+
+
+And optionally: +

+ +make doc            ## Build %OpenMesh's documentation
+
+
The mac application bundle will be found under "Build" in the recently created build folder. It automatically contains all needed shared objects (libs, fonts, textures, etc.).