![]() Since these directories are write-protected, you need to create your own working copies. There is a version of CppUnit in the \squishcoco directory, and the parser example is prepared to use it. The example uses CppUnit as its unit test framework. ![]() They represent the parser in different stages of its development. This directory contains three versions of the program, in the subdirectories parser_v1 to parser_v3. The parser example can be found in the directory \parser. ![]() Therefore we have added their deletion statements to the distclean target. csexe files are more precious and should only be deleted when all generated files are removed. o files are deleted (which is that what make clean does). o.csmes files are needed only for compilation, they can be deleted whenever the. ![]() In the parser directory, the Makefile has been changed in the following way: It is also convenient to add make targets to handle the files generated by CoverageScanner. If more customization is needed, it can often be achieved by adding more options to COVERAGESCANNER_ARGS. The resulting script should work without changes for many simple projects. Here they are enabled, so that you can see all coverage modes later in the CoverageBrowser. They are disabled by default because they are sometimes expensive to execute. The following options enable MC/DC, Multiple Condition Coverage, and the Function Profiler. If it is not present, the compiler wrappers are inactive and just call the compilers they represent. The most important option is the first one, -cs-on. ![]() In the other four export statements, additional flags for the compiler wrappers (see CoverageScanner command line arguments) are set. When executed to compile a source file, they create an instrumented version of the source and then run the original compiler to compile it. The compiler wrappers are actually symbolic links to a single program, coveragescanner (see CoverageScanner reference). With the new PATH, they are executed instead of the real compilers. These programs are the compiler wrappers. This is the output under UNIX under Mac OS X, the directory /Applications/SquishCoco/wrapper/ contains a much smaller list of files. Note: There is also ar, which is not a compiler but takes part in the compilation process. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |