Re: CMake and NDEBUG

2018-04-27 Thread Sébastien Jodogne
dled. I am considering to add the following arguments wile invoking CMake in debian/rules in order to have "NDEBUG" manually defined: cmake -DCMAKE_C_FLAGS=-DNDEBUG -DCMAKE_CXX_FLAGS=-DNDEBUG [...] Please someone could validate this approach wrt. Debian policy? TIA! Regards, Séb

Re: CMake and NDEBUG

2018-04-25 Thread Andrey Rahmatullin
ltimate reason for that, though, is just https://lists.debian.org/debian-devel/2013/02/msg00304.html Your case is even mentioned down the thread: https://lists.debian.org/debian-devel/2013/02/msg00353.html >I am considering to add the following arguments wile > invoking CMake in debian/rules

Re: CMake and NDEBUG

2018-04-25 Thread Sergio Durigan Junior
> $ head /var/log/orthanc/Orthanc.log > W0424 13:01:40.158634 main.cpp:1298] Orthanc version: 1.3.2 > W0424 13:01:40.158696 main.cpp:1146] Performance warning: Non-release > build, runtime debug assertions are turned on > > > I have not been able to find a definite answer about ho

CMake and NDEBUG

2018-04-25 Thread Sébastien Jodogne
mance warning: Non-release build, runtime debug assertions are turned on I have not been able to find a definite answer about how "NDEBUG" should be properly handled. I am considering to add the following arguments wile invoking CMake in debian/rules in order to have "N