I would like to "include" a source file variably, such as based on an argument 
to the program via the command-line, or a compile-time switch. Is there a way 
to do so? I suspect the former is not possible but maybe the second.

Example main.nim

if <condition>:
    include myfile.nim

Reply via email to