Change cache dir

This commit is contained in:
Joey Yakimowich-Payne 2020-05-06 18:57:30 -06:00
commit 3a71315981

View file

@ -2,7 +2,7 @@ import os, strutils, strformat
import nimterop/[cimport, build] import nimterop/[cimport, build]
const const
SDLCacheDir* = currentSourcePath.parentDir().parentDir() / "build" #getProjectCacheDir("nimsdl2") SDLCacheDir* = getProjectCacheDir("nimsdl2")
baseDir = SDLCacheDir baseDir = SDLCacheDir
srcDir = (baseDir / "sdl2").sanitizePath srcDir = (baseDir / "sdl2").sanitizePath
buildDir = (srcDir / "build" / ".libs").sanitizePath buildDir = (srcDir / "build" / ".libs").sanitizePath