Building using CMake - Windows: Difference between revisions

Jump to navigation Jump to search
m
(→‎Script compilation: Added the compilation and clean up batch files.)
Line 150: Line 150:
REM Compile.
REM Compile.
cmake --build . --target install
cmake --build . --target install
| conc = Note: change the <code>CMAKE_PREFIX_PATH</code> variable to your Qt installation directory.
}}
}}


Line 165: Line 166:
REM Compile.
REM Compile.
cmake --build . --config RelWithDebInfo --target install
cmake --build . --config RelWithDebInfo --target install
| conc = Note: change the <code>CMAKE_PREFIX_PATH</code> variable to your Qt installation directory.
}}
}}


Place the script in a new directory within the FlightGear sources such as <code>build</code>.  Note: change the <code>CMAKE_PREFIX_PATH</code> variable to your Qt installation directory.  To clean up the build files, another batch file can be used:
Place the script in a new directory within the FlightGear sources such as <code>build</code>.  To clean up the build files, another batch file can be used:


{{collapsible script
{{collapsible script

Navigation menu