Using of SLMake tool – add task

This article is part of article set related to SLMake using. In this article you can find information about add task. This task adds a new source and creates a new project if required. Click here, if you would like go to our article with tasks index.

Syntax

SlMake add file project

Possible options are

-type:X – where X is source type. Below is list of possible source types:

If no type is specified SlMake detects the type of the source.

-lang:X – list of language codes that will be in project if it is created. Separate multiple codes with semicolon. Format is ll[-CC][.src]:

-noimport – Do not import translations from existing files.

-q – Quiet mode. Only errors are shown.

-w – Result code is 2 if errors, 1 if warnings, and 0 if successful. Otherwise result code is 1 if errors and 0 in other cases.

-e – Show detailed error information.

-h – Show detailed help about a task.

Examples

Janusz

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments

[...] add – Add a new source and create a new project if needed [...]

Leave a comment

(required)

(required)


For spam filtering purposes, please copy the number 1610 to the field below: