I have one module xyz and I am trying to build libraries using CMAKE. I know the option CMAKE_BUILD_TYPE( debug/release).
My question is that 1) Is there any way to create both the versions (release/debug) in one go ?
2) how to add some suffix in debug version to differentiate from release version?( I want to generate both versions in same directory)
libxyz.so -- release version
libxyz-d.so -- debug version.
Any help will be appreciated.
Aucun commentaire:
Enregistrer un commentaire