Sample
Below a sample XML file can be seen
|
<?xml version="1.0"?> <BuildProject xsi:noNamespaceSchemaLocation="../../tools/ConnectorApp/Build/Schema/BuildProject.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1"> <RootPaths> <RootPath name="CONNECTOR_ROOT" description="Path to CGI Connector executable." /> <RootPath name="PROJECT_ROOT" description="Path to CGI Connector project file." /> <RootPath name="CGI_ROOT" description="Path to CGI root folder" /> </RootPaths> <Variables> <Variable name="INTERFACE_GENERATOR_OUTPUT_PATH" type="Path" value="src/Interface" root_path="PROJECT_ROOT" description="Path for generated output files." /> <Variable name="INTERFACE_NAMESPACE" type="Value" value="Application::Interface" description="Namespace for generated Interface." /> <Variable name="INTERFACE_DATAMODEL_INCLUDE" type="Value" value="Model/!DATAMODEL_CLASSNAME!.h" description="Include for Data-Model." />
<Variable name="BUILD_CGISTUDIO_PLATFORM" type="Value" value="!CONNECTOR_CGISTUDIO_PLATFORM!" description="CGI-Studio Platform/Device." /> <Variable name="BUILD_CGISTUDIO_PLATFORM_CONFIG" type="Value" value="!CONNECTOR_CGISTUDIO_PLATFORM_CONFIG!" description="CGI-Studio Platform/Device configuration." /> </Variables> <Builds> <Build name="Generate Code" description="Generates only code"> <ScriptPath value="../BuildScripts/GenerateCode" root_path="CONNECTOR_ROOT" /> <OutputPath value="" root_path="PROJECT_ROOT"/> </Build> <Build name="Generate and Build (Simulation)" description="Generates code and builds the application."> <ScriptPath value="../BuildScripts/BuildApplication" root_path="CONNECTOR_ROOT" /> <OutputPath value="build" root_path="PROJECT_ROOT"/> <Variable name="BUILD_TARGET" type="Value" value="Application" description="Build target" /> <Variable name="BUILD_CONFIGURATION" type="Option" value="Release;Debug" description="Build configuration/> <Variable name="BUILD_CMAKE_CUSTOM_FLAGS" type="Value" value="-DCOURIER_ADD_SCHOST_PROJECT=1 -DAPPLICATION_IPC_ENABLED -DAPPLICATION_IPC_INTERFACE_ENABLED -DAPPLICATION_CONNECTOR_SIMULATION=1" description="Additional CMake flags." /> </Build> </Builds> </BuildProject> |