This topic explains how to create and configure C++test projects for code that is designed to be compiled/built using ARM compilers and/or written with the aid of the RVDS IDE.
C++test integrates with ARM Development Studio 5 (DS-5) projects. Both managed and static makefile build types are supported
Static make projects may require the C++test> Build Settings> Option Source project properties to be reconfigured. For more information please refer to Creating a Project Using an Existing Build System.
When testing a project that uses the ARM C/C++ Compiler to build an ARM Linux application or library (e.g.using the
RVDS provides two basic CDT project configurations (Manage Make Project as well as Standard Make Project) plus an additional project configuration (RVDS Project for ARM). RVDS Project for ARM is the most commonly-used and convenient, since it already provides all of the defines and switches that would otherwise have to be set manually. However, C++test can work with any of these project types.
If you intend to unit test your project, you will need a correct build of the C++test runtime. The default Test configuration "Run RVDS 3.x, 4.x Tests" contains a step for automatically building the C++test runtime library. In some cases, you may need to prepare a custom build of the C++test runtime library; if so, see the chapter Working with the C++test Runtime Library.
When you are ready to configure your project for C++test, review and modify settings as follows:
For more information about C++test project properties, see Reviewing and Modifying Settings.