config.nims 431 B

12345678910111213
  1. # begin Nimble config (version 2)
  2. --noNimblePath
  3. when withDir(thisDir(), system.fileExists("nimble.paths")):
  4. include "nimble.paths"
  5. # end Nimble config
  6. --outdir:bin
  7. # Проверяем, запущен ли режим релиза (nim c -d:release ...)
  8. if defined(release):
  9. switch("out", "./bin/nimcity")
  10. else:
  11. # Для обычной dev-сборки добавляем суффикс
  12. switch("out", "./bin/nimcity-dev")