sgraenitz added a comment. Interesting way to get from version to list! :)
Cosmetics: It looks like `PYTHON_VERSION_STRING` and `PYTHONLIBS_VERSION_STRING` are global and all others are local variables? Using lowercase names for locals makes it easier to see. As names are case-sensitive, it would also avoid the collision with the actual `PYTHON_MAJOR/MINOR`. ================ Comment at: lldb/cmake/modules/LLDBConfig.cmake:205 + # doesn't set PYTHON_VERSION_MAJOR or PYTHON_VERSION_MINOR. Use the LLDB + # prefix to not shadow the actual variables. + string(REPLACE "." ";" PYTHON_VERSION_LIST ${PYTHON_VERSION_STRING}) ---------------- I think CMake would not shadow, but overwrite them in directory scope (which is root here, so everywhere except the cache). Repository: rLLDB LLDB CHANGES SINCE LAST ACTION https://reviews.llvm.org/D65230/new/ https://reviews.llvm.org/D65230 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits