Building a PSoC® Creator™ Project from the Command Prompt – KBA88169

Version: **


Question: Is it possible to build a PSoC® Creator™ project from the command prompt?



Answer: Yes, you can build the project from the command prompt.

  1.   Open the command prompt.
  2.   Change the current directory to the folder containing the workspace file of the project. For example, type this command: cd "path of the workspace file".
  3.   To build the project type this command:

       "C:\Program Files (x86)\Cypress\PSoC Creator\2.2\PSoC Creator\bin\cyprjmgr.exe" -wrk "workspace name" –build

      Note: In the above command workspace name must be replaced with the name of your workspace.
  4.   This command builds the project. If you have multiple projects in the same workspace, the given command will not work. This command will be specific to Creator 2.2. If you want to build the project with other Creator versions, choose the folder accordingly in step 3.