Re: [Insight-users] gprof and ccmake

Tomáš Kazmar Tomash.Kazmar at seznam.cz
Tue Jun 26 04:05:27 EDT 2007


Hi Deb,

  you need to add the -pg switch like this:

SET_TARGET_PROPERTIES(target_name PROPERTIES COMPILE_FLAGS -pg LINK_FLAGS -pg)

Tomas

# Hi,
# 
# I would like to profile code generated through ccmake with gprof. What flags 
# do I need to set up when I run ccmake?
# Thanks
# 
# Deb


More information about the Insight-users mailing list