ipp-samples building with provided makefile - how-to enable debugging info for VS2005?
I have a need to build ipp-samples7.0.6 in VS 2005 or later with provided build_32.bat script. Also, I need either supplemental debug files or debugging info built in object files. I tried to play with compiling options in makefile, but vainly. Simple copying compiler keys from VisualStudio project didn't help Seems, C compiler invoked from command line and VisualStudio environment works differently. Could you help to find compiler options for including debugging information into ipp-samples build? Thank you.
You need to make sure C/C++ compiler options /Od /Zi (no optimization + generate debug info) finally get to compiler command line and /DEBUG option gets to linker command line.
The structure of makefiles is different for different samples. Sometimes the sample has single makefile (usually Makefile in sample's root directory), sometimes. if application contains sub-projects (like libraries), there are additional makefiles (*.mak) in sub-project root directory.
You'll need to change CFLAGS, CXXFLAGS, LDFLAGS variables in makefile (not sure if their names are equal in all makefiles). In case of problems, please specify the samples you want to modify.