Browse Source

doc: update Getting Started for MSVC too.

pull/51/head
Vladimír Vondruš 12 years ago
parent
commit
a93774eeb2
  1. 28
      doc/getting-started.dox

28
doc/getting-started.dox

@ -152,14 +152,26 @@ of build dir:
make make
./src/MyApplication ./src/MyApplication
On Windows, if you don't want to touch the command-line, the easiest way is to On Windows you can use either MinGW or MSVC 2013 compiler. It's then up to you
open root `CMakeLists.txt` in QtCreator, let it import the project and then whether you will use QtCreator or Visual Studio. With Visual Studio the most
just build and run the application. If CMake isn't able to find the straightforward way to create the project file is via the command-line:
dependencies or the building fails for some reason, you might want to look at
@ref building-windows-troubleshooting. mkdir build
cd build
If CMake complains about `GlutApplication` missing, you forgot to enable cmake -DCMAKE_FIND_ROOT_PATH="C:/Sys" ..
`WITH_GLUTAPPLICATION` when building %Magnum, @ref getting-started-download "go back and fix it".
You can also use CMake GUI. Then open the `MyApplication.sln` project file
generated by CMake in the build directory.
With QtCreator just open project's root `CMakeLists.txt` file. It then asks you
where to create build directory, allows you to specify initial CMake parameters
(e.g. `CMAKE_FIND_ROOT_PATH`) and then you can just press *Configure* and
everything is ready to be built.
If CMake isn't able to find the dependencies on Windows, you might want to look
at @ref building-windows. If CMake complains about `GlutApplication` missing,
you forgot to enable `WITH_GLUTAPPLICATION` when building %Magnum,
@ref getting-started-download "go back and fix it".
@image html getting-started.png @image html getting-started.png
@image latex getting-started.png @image latex getting-started.png

Loading…
Cancel
Save