From: Ting Y. <yao...@gm...> - 2009-04-29 11:02:22
|
Thanks all! There is also a simple way, just add SET(CMAKE_BUILD_TYPE Debug) in the CMakeLists.txt, you can debug the code. 2009/4/29 Ian Scott <ian...@st...> > Doris and moyini - Please include more information when asking for help. > See the vxl list policy http://vxl.sourceforge.net/vxl-users-policy.html. > > I assume you are using some form of Unix-y make. > > On my Linux systems I maintain two build trees, a Debug build and a > RelwithDebInfo build, in the following directory arrangement > > code > | > -- vxl > | | > | -- src (source tree) > | | > | -- dbg (debug build tree - > | | CMAKE_BUILD_TYPE:STRING=Debug ) > | | > | -- opt (optimised build - > | CMAKE_BUILD_TYPE:STRING=RelwithDebInfo ) > | > -- local > etc. > > > Ian. > > Xiaowen Pan wrote: > > > > Will there be a more comfortable way? Modifying CmakeCache each > time is such a boring thing. > > > > Doris. > > > > ------------------------------------------------------------------------ > > *发件人:* Antonio Garrido Carrillo <A.G...@de...> > > *收件人:* Ting Yao <yao...@gm...> > > *抄送:* vxl...@li... > > *已发送:* 2009/4/29(周三), 下午4:19:13 > > *主题:* Re: [Vxl-users] how to debug my code? > > > > > > There is a key in CmakeCache.txt: > > > > //Choose the type of build, options are: None(CMAKE_CXX_FLAGS or > > // CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel. > > CMAKE_BUILD_TYPE:STRING= > > > > Antonio > > > > Ting Yao escribió: > > > > > > hi, > > > sorry to disturb you. VXL is new to me and I have a problem when i > > > used it, that is, > > > how to debug my codes with the Makefile generated by the CMake? I > will > > > appreciate if you can give me a help. > > > Thank you for your help! > > > > > > > > > > > > > > bests, > > > moyini > > > > > > > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Vxl-users mailing list > Vxl...@li... > https://lists.sourceforge.net/lists/listinfo/vxl-users > |