Create a library project
library create -name <project-name> -type <library-type> -platform <platform>
<system-project> Create a library project using an existing platform, and domain. If
<sys-config> are not specified, then active platform and domain are used for Creating library project. For creating library project and adding them to existing system project, refer to next use case.
library create -name <project-name> -type <library-type> -sysproj <system-project>
<domain> Create a library project for domain specified by
<domain> and add it to system project specified by
<system-project> exists, platform corresponding to this system project are used for creating the library project. If
<domain> is not specified, then active domain is used.
||Project name that should be created.|
||Name of the platform. Use "repo -platforms" to list available pre-defined platforms.|
||Name of the domain. Use "platform report
||Name of the system project. Use "sysproj list" to know the available system projects in the workspace.|
Nothing, if the library project is created successfully. Error string, if the library project creation fails.
library create -name lib1 -type static -platform zcu102 -domain a53_standalone
Create a static library project with name 'lib1', for the platform zcu102, which has a domain named a53_standalone domain.
library create -name lib2 -type shared -sysproj test_system -domain test_domain
Create shared library project with name 'lib2' and add it to system project test_system.