mardi 25 mai 2021

build project with multi g++ versions

I have a project which consists of many libraries. I wrote the code based on g++20 but a library supports up to g++14. the library can be imported using cmake's add_subdirectory. Is there any way to compile this library with g++14 but everything else with g++20?

Aucun commentaire:

Enregistrer un commentaire