cellml / libcellml

Repository for libCellML development.
https://libcellml.org
Apache License 2.0
17 stars 21 forks source link

Qt Creator: release build still builds a debug version #549

Open agarny opened 4 years ago

agarny commented 4 years ago

I use Qt Creator for my coding and if I open the libCellML project and ask for a Release build to be built then I still end up with a debug version of libCellML. From there, if I manually set LIBCELLML_BUILD_TYPE to Release (and LIBCELLML_MEMCHECK to OFF) then everything is fine. Still, I wouldn't expect having to do that using an IDE like Qt Creator.

hsorby commented 4 years ago

Do you know of a way to tell Qt Creator to turn it into a Release build? As far as I know you have to go to the project and set the LIBCELLML_BUILD_TYPE to Release, it is only a string after all we add the meaning to it.

agarny commented 4 years ago

Sorry, I should have precised that this is indeed what I did:

Screen Shot 2020-02-21 at 1 54 46 PM