Closed kobi2187 closed 6 years ago
You can do it with -o:name.ext
or --out:name.ext
This is probably much easier to do as part of a build script (rename output file after it is built) instead of building functionality into the compiler.
I agree with you. nake is very suitable for such things. and you're right the compiler is not the best place for this functionality. I'll close the request.
@kobi2187 why would you need nake for that? You can use pure nimscript
Simply because I never tried it before. offtopic: Is there a nice tutorial for setting up all these basic tools?
my suggestion is regarding the -o command line switch that specifies the output name for the executable. I would like nim to read a config file, and know how to name the output file. for example: $name.exe $name_$year-$month-$day
PS: it's late night here, if the feature isn't clear please reply