# module

Specifies the directory where module files should be placed when created and where they should be searched for.

## Syntax

Linux: | -module path

macOS: | -module path

Windows: | /module:path

## Arguments

path | Is the directory for module files.

## Default

OFF | The compiler places module files in the current directory.

## Description

This option specifies the directory (path) where module (.mod) files should be placed when created and where they should be searched for (USE statement).

## IDE Equivalent

Visual Studio: Output > Module Path

## Alternate Options

None

Parent topic: Preprocessor Options