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