Page tree
Skip to end of metadata
Go to start of metadata

Summary: This section describes how to prepare and deliver the source code of your C/C++ application.

Information about discovery

Discovery is a process that is actioned during the packaging process whereby CAST will attempt to automatically identify projects within your application using a set of predefined rules. This discovery process also allows CAST to set the initial analysis configuration settings explained in C and Cpp - Analysis configuration.

Discovery for C/C++ is explained in more detail in C and Cpp - Project discovery - you should read this to understand how the source code will be handled and the choices that are available to you.

Source code delivery using CAST Console

Prepare the application source code

AIP Console expects the application source code to be delivered either via a ZIP file or via a source code located in a folder configured in AIP Console. Whichever option you chose, you should include in the ZIP/source code folder all of your C/C++ application source code. CAST highly recommends placing all the relevant files in a folder and using sub-folders where necessary. You can deliver other technologies at the same time (for example, database DDL). If you are using a ZIP/archive file, zip the folders in the "temp" folder as shown in the image below - but do not zip the "temp" folder itself, nor create any intermediary folders:


Source code delivery using legacy CAST Delivery Manager Tool

 Click here to expand...

How do I add a source code package to my delivery

See How do I add a source code package to my delivery.

What you should package?

Please see C and Cpp - Application qualification specifics for additional hints.

When creating packages to discover and extract your C / C++ application you should create them as follows:


Package name/type





Source code


Source code root folder

Use the "Files on your file system" / SVN / TFS options in the CAST Delivery Manager Tool:

Click to enlarge

How do I fine-tune my Version ?

See How do I fine-tune my Version for more information.

How do I deliver the Version for analysis?

See How do I deliver the Version for analysis for more information.

Delivery acceptance

See Validate and Accept the Delivery for more information. 

  • No labels