Ticket #31 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

Allow a source file to avoid being compiled

Reported by: Derek Parnell Assigned to: Derek
Priority: Whenever Component: core
Version: 3.02 Severity: minor
Keywords: Cc:

Description

Currently every source file provided on the command line or pulled in via an import or pragma(include), is compiled to produce an object file. However, it would be useful to have some files only contain Build directives and not have it compiled at all.

Change History

06/23/06 03:38:51 changed by Derek Parnell

  • status changed from new to closed.
  • resolution set to fixed.

This has been implemented by using ...

version build pragma(ignore);

mean that the file that contains this pragma will be processed by Build but will not be passed onto the compiler or linker.