Hi Sascha, On 19/03/2013 13:41, Sascha Zelzer wrote: > Hi, > > I am not sure which MITK version you are using but I have been working > on tidying up the compiler and linker flags for MITK the last days. > CMAKE_*_FLAGS variables should be properly passed to all projects and > MITK itself in the current master.
I've waited for an upgrade and now the flags are properly passed down! Thanks! > If you want to include debug symbols for the MITK build only (not for > all the dependencies build during the super-build), you can use the > MITK_ADDITIONAL_*_FLAGS CMake variables in the super-build CMake > configuration. They only affect the MITK build. > > Let us know if you get it to work. > > Best, > Sascha > > On 03/18/2013 05:16 PM, Johannes Totz wrote: >> Hi there, >> >> I'm trying to build MITK on Windows x64 with symbols in release mode, >> that is: I need an optimised build with symbols so I can run it through >> a profiler to identify performance bottlenecks. >> >> I know there's the RelWithDebInfo config, but for unrelated reasons I >> can't use that one, so I'm doing this with Release. >> >> I'm overriding CMAKE_C_FLAGS, CMAKE_MODULE_LINKER_FLAGS, etc with the >> appropriate options (/Zi and /debug) at the superbuild and these get >> passed through to OpenCV etc and I get working symbols. >> However, for MITK itself the linker flags get reset at some point. While >> the compiler happily generates PDB files for blueberry and friends, they >> are not usable because the linker didn't patch them up. >> >> Any idea where in MITK's own cmake bits the linker flags are overridden? >> Or how can I enforce my own flags? >> >> >> Thanks, >> >> Johannes >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_mar >> _______________________________________________ >> mitk-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/mitk-users > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
