I am building multiple dynamic libraries for a project. I want to build the entire project with c++11. While building the libraries I explicitly specify the CXX and C Flags. I am using CMAKE 3.5 to build the libraries. I specify the c++11 or gnu11 version while building each module, something like
-DCMAKE_C_FLAGS="-std=gnu11" -DCMAKE_CXX_FLAGS="-std=c++11"
I wanted to verify once the libraries were build that they use c++11 runtime, Is there any way I can double check?
Aucun commentaire:
Enregistrer un commentaire