nim-atom icon indicating copy to clipboard operation
nim-atom copied to clipboard

Allow command line arguments to be passed to nim

Open karlseguin opened this issue 8 years ago • 1 comments

Would like to pass command line arguments to nim, specifically --threads:on

karlseguin avatar May 05 '16 02:05 karlseguin

@karlseguin, if you're looking for a work-around in the mean time, you can modify your nim.cfg file. It can be found at $NIMPATH/config/nim.cfg

You can add your desired settings just below the --parallel_build line, as seen below.

# additional options always passed to the compiler:
--parallel_build: "0" # 0 to auto-detect number of processors
--threads:on

cchase88 avatar Jan 05 '17 23:01 cchase88