Skip to content

Commit

Permalink
separate path cfg from project cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
disruptek committed Dec 1, 2019
1 parent 9756e38 commit 3cc10c5
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 26 deletions.
29 changes: 3 additions & 26 deletions nim.cfg
Original file line number Diff line number Diff line change
@@ -1,33 +1,10 @@
#--define:debugPath
#hint[Conf]=off
hint[Processing]=off

# toggle these if you like
#--define:cutelogEmojis
#--define:cutelogMonochrome
#--define:cutelogBland

# try it out; it's horrible
#--define:writeNimbleDirPaths=true

# github won't work without ssl enabled
--define:ssl

#--define:npegTrace

# specify our preferred version of libgit2
--define:git2SetVer:"0.28.3"

# and our preferred method of retrieval
--define:git2DL
# this configuration file will just hold path settings in it;
# see the src/nimph.nim.cfg for compilation settings and constant
# overrides

# we're going to specify new dependency directories...
--clearNimblePath

# output the nimph binary in the project directory instead of
# causing a filename clash and naming it src/nimph.out (duh)
--outdir="."

# allow the source files to import themselves as they might
# outside the library, a la 'import nimph/spec'
--path="$config/src"
Expand Down
26 changes: 26 additions & 0 deletions src/nimph.nim.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# toggle these if you like
#--define:cutelogEmojis
#--define:cutelogMonochrome
#--define:cutelogBland

# try it out; it's horrible
#--define:writeNimbleDirPaths=true

# github won't work without ssl enabled
--define:ssl

# specify our preferred version of libgit2
--define:git2SetVer:"0.28.3"

# and our preferred method of retrieval
--define:git2DL

# output the nimph binary in the project directory instead of
# causing a filename clash and naming it src/nimph.out (duh)
--outdir="."

hint[Processing]=off
#--define:npegTrace

# for gratuitous search path debugging
#--define:debugPath

0 comments on commit 3cc10c5

Please sign in to comment.