945
edits
(Initial Project Description - Improvements to fg-from-scratch to allow building a debug target.) |
m (Added note on Cmake files in OSG, SimGear, FlightGear and TerraGear being "out of scope") |
||
Line 16: | Line 16: | ||
Cmake and Visual Studio | ===Cmake and Visual Studio=== | ||
https://docs.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio?view=vs-2019 | * https://docs.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio?view=vs-2019 | ||
* https://www.codeproject.com/Articles/1181455/A-CMake-Tutorial-for-Visual-Cplusplus-Developers | |||
https://www.codeproject.com/Articles/1181455/A-CMake-Tutorial-for-Visual-Cplusplus-Developers | |||
vcxpkg | ===vcxpkg=== | ||
https://docs.microsoft.com/en-us/cpp/build/vcpkg?view=vs-2019 | * https://docs.microsoft.com/en-us/cpp/build/vcpkg?view=vs-2019 | ||
* https://github.com/microsoft/vcpkg/blob/master/docs/index.md | |||
https://github.com/microsoft/vcpkg/blob/master/docs/index.md | |||
ninja | ===ninja=== | ||
Tasks: | |||
* Find out if ninja is currently used in fg-from-scratch.cmd | |||
* if it is include it in research. | |||
* If not, discuss advantages/disadvantages with the wider flightgear development community. | |||
- | ===Per target build and install directories=== | ||
A technique I've observed in use is to provide separate build and install directories for each target build: release, rel-with-debug, debug. | |||
Task: | |||
* Investigate vcpkg-git, scratch-build and scratch-install to determine where this technique is and is not used. | |||
===Notes=== | |||
==== CMakeLists.txt in OpenSceneGraph, Simgear, FlightGear, SimGear ==== | |||
'''This note is not meant to imply that changes in the named projects Cmake files are or will be needed.''' | |||
The CMakeLists.txt used by the OpenSceneGraph, Simgear, FlightGear and TerraGear projects are used in automatic build processes and in the case of OSG are separately managed projects. They should be considered out of the scope of changes to fg-from-scratch. Anyone working on fg-from-scratch will have to make do with their current state, adjust to any changes in them, and advocate separately for any proposed changes to them. |
edits