User:Legoboyvdlp/Building using CMake - Windows: Difference between revisions

Jump to navigation Jump to search
Line 128: Line 128:


=== Updating ===
=== Updating ===
When updating the source from [[git]], it is usually unnecessary to rerun CMake as the solution is able to reconfigure itself when CMake files are changed. Simply rebuild the solution from Visual Studio and accept the reload of updated projects. When the Simgear/FlightGear version numbers change, you do have to re-configure in CMake.
When updating the source from [[git]], it is usually unnecessary to rerun CMake as the solution is able to reconfigure itself when CMake files are changed. Simply open the .sln file in Visual Studio and accept the reload of updated projects. After that, rebuild the project in Sisual Studio directly without needing to reconfigure. When the Simgear/FlightGear version numbers change, you do have to re-configure in CMake.


To change build options or directory path, it is mandatory to reconfigure in CMake. In case of problems, locate the <tt>CMakeCache.txt</tt> file in build directory and delete it to reconfigure from scratch or use the menu item in the CMake GUI<tt>File > Delete Cache</tt>.
To change build options or directory path, it is mandatory to reconfigure in CMake. In case of problems, locate the <tt>CMakeCache.txt</tt> file in build directory and delete it to reconfigure from scratch or use the menu item in the CMake GUI <tt>File > Delete Cache</tt>.


== External link ==
== External link ==
842

edits

Navigation menu