20
edits
Line 42: | Line 42: | ||
## Open the CMake gui. | ## Open the CMake gui. | ||
## Set <tt>"Where is the source code"</tt> to wherever you put the SimGear sources (from the released tarball or the git repository). | ## Set <tt>"Where is the source code"</tt> to wherever you put the SimGear sources (from the released tarball or the git repository). | ||
## Set <tt>"Where to build the binaries"</tt> to | ## Set <tt>"Where to build the binaries"</tt> to a new empty directory (could be anywhere and any name, for example naming it simgear-build, at the same folder location as your unzipped SimGear source folder was put). | ||
## Press the <tt>"Configure"</tt> button. The first time that the project is configured, CMake will bring up a window asking you to "Specify the generator for this project" i.e. which compiler you wish to use. Select Visual Studio 10, (or Visual Studio 10 Win64 for 64 bit), and press Finish. CMake will now do a check on your system and will produce a preliminary build configuration. | ## Press the <tt>"Configure"</tt> button. The first time that the project is configured, CMake will bring up a window asking you to "Specify the generator for this project" i.e. which compiler you wish to use. Select Visual Studio 10, (or Visual Studio 10 Win64 for 64 bit), and press Finish. CMake will now do a check on your system and will produce a preliminary build configuration. | ||
## CMake adds new configuration variables in red. Some have a value ending with <tt>-NOTFOUND</tt>. These variables should receive your attention. Some errors will prevent SimGear to build and others will simply invalidate some options without provoking build errors. | ## CMake adds new configuration variables in red. Some have a value ending with <tt>-NOTFOUND</tt>. These variables should receive your attention. Some errors will prevent SimGear to build and others will simply invalidate some options without provoking build errors. |
edits