| 20 | == Configure the CMAKE == |
| 21 | |
| 22 | The compilation must be done in a separate folder. We suggest to create a subfolder called '''{{{build}}}''' in the root of the source code repository. |
| 23 | |
| 24 | Then start the CMake GUI and browse the source code and the build folders. |
| 25 | |
| 26 | It is even better to start the "Visual Studio 2008 Command Prompt" from the start menu. Then, in the command prompt, step into the build folder and type |
| 27 | {{{ |
| 28 | cmake-gui .. |
| 29 | }}} |
| 30 | Now click on the "Configure" button. Here choose |
| 31 | - either '''{{{Visual Studio 9 2008}}}''' to create project files and an {{{.sln}} file usable from the Visual Studio IDE. |
| 32 | - or '''{{{NMake Makefiles}}}''' to create makefiles and compile from command line. In this case you ''must'' start {{{cmake-gui}}} from the "Visual Studio 2008 Command Prompt" |
| 33 | Then click again on "Configure" and finally on "Generate". |
| 34 | |
| 35 | The configuration is done |
| 36 | |
| 37 | == Build and install == |
| 38 | |