Skip to content

Commit

Permalink
Document -main switch.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrejMitrovic committed Apr 2, 2013
1 parent 32a5876 commit 3714573
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dcompiler.dd
Expand Up @@ -554,6 +554,12 @@ $(WINDOWS
)
)

$(SWITCH $(B -main),
Add a default main() function when compiling. This is useful when
unittesting a library, as it enables the user to run the unittests
in a library without having to manually define an entry-point function.
)

$(SWITCH $(B -man),
$(WINDOWS
open default browser on this page
Expand Down

0 comments on commit 3714573

Please sign in to comment.