Skip to content

Latest commit

 

History

History
96 lines (69 loc) · 2.08 KB

Build.md

File metadata and controls

96 lines (69 loc) · 2.08 KB

Building your package (pacc build)

Introduction

Your package most likely has one or many projects that you want to build.

Use the following command to build them all:

pacc build

It will trigger build with default configuration and platform (Debug, x64).

Building other configurations

Use following switches to manipulate build settings:

Switch Aliases Description
--target
-t
Forces to build only single, specified target (project)
--platform
--plat
-p
Changes the build platform to the specified one. For now only x64 and x86 are supported (by default x64).
--configuration
--config
--cfg
-c
Changes the build configuration to the specified one. For now only Debug and Release are supported (by default Debug).
--verbose
Enables the verbose mode. Build logs will be printed directly to the output. Verbose mode is disabled by default

Important notes

Pacc detects the absence of dependency binaries. If any dependency is not built, it will try to build it at the specified platform and configuration.

// TODO: automatic change in dependency source code detection

Note: it does not (yet) detect change in dependency source code.

Examples

1. Build project ProjName from the current package

pacc build -t=ProjName

or:

pacc build --target=ProjName

Note: name of the project is case sensitive

2. Build the package (Release, x86), show build output

pacc build -p=x86 -c=Release --verbose

or:

pacc build --platform=x86 --configuration=Release --verbose

3. Build project MyProject, show build output

pacc build -t=MyProject --verbose

or:

pacc build --target=MyProject --verbose