JSBSim-Team / jsbsim

An open source flight dynamics & control software library
GNU Lesser General Public License v2.1
1.22k stars 420 forks source link

JSBSIM_ prefix in CMake options #1023

Open carlocorradini opened 3 months ago

carlocorradini commented 3 months ago

I'm submitting a ...

Describe the issue At the moment, the majority of CMake's options have generic names (like BUILD_DOCS), which may conflict with those from a primary project that uses JSBSim.

What is the motivation / use case for changing the behavior? To help identify the available JSBSim options and prevent potential conflicts, I recommend adding the JSBSIM_ prefix to all CMake options: From BUILD_DOCS to JSBSIM_BUILD_DOCS From BUILD_PYTHON_MODULE to JSBSIM_BUILD_PYTHON_MODULE ...