Re: CMake and NDEBUG

2018-04-27 Thread Sébastien Jodogne
Dear all, For reference, I paste here the solution proposed by Gert Wollny [6], and that is now getting implemented in the packages of the Orthanc ecosystem: "Add this at the top of d/rules: export DEB_CFLAGS_MAINT_APPEND=-DNDEBUG export DEB_CXXFLAGS_MAINT_APPEND=-DNDEBUG" Regards, Sébastie

Re: CMake and NDEBUG

2018-04-25 Thread Andrey Rahmatullin
On Wed, Apr 25, 2018 at 01:36:19PM +0200, Sébastien Jodogne wrote: > The Debian packages for Orthanc and its associated plugins pay attention to > the fact of *not* setting "-DCMAKE_BUILD_TYPE=Release", as requested by the > Debian policy [2]. You are not linking the Policy though. The Policy doesn

Re: CMake and NDEBUG

2018-04-25 Thread Sergio Durigan Junior
On Wednesday, April 25 2018, Sébastien Jodogne wrote: > Dear Debian mentors, Hey, Sébastien, Disclaimer: I'm not a cmake expert. > I write this message as the maintainer of the Debian packages of the > Orthanc project [1]. > > The Debian packages for Orthanc and its associated plugins pay > att

CMake and NDEBUG

2018-04-25 Thread Sébastien Jodogne
Dear Debian mentors, I write this message as the maintainer of the Debian packages of the Orthanc project [1]. The Debian packages for Orthanc and its associated plugins pay attention to the fact of *not* setting "-DCMAKE_BUILD_TYPE=Release", as requested by the Debian policy [2]. However,