Store temp files in project path
This commit is contained in:
parent
2147301423
commit
ff7d334aca
7 changed files with 18 additions and 11 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import macros
|
||||
import os, strutils, strformat
|
||||
import nimterop/[cimport, build, globals]
|
||||
|
||||
|
|
@ -7,7 +8,7 @@ const
|
|||
srcDir = (baseDir / "sdl2").sanitizePath
|
||||
buildDir = (srcDir / "build" / ".libs").sanitizePath
|
||||
includeDir = (srcDir / "include").sanitizePath
|
||||
currentPath = currentSourcePath().parentDir().parentDir().sanitizePath
|
||||
currentPath = getProjectPath().parentDir().sanitizePath
|
||||
generatedPath = (currentPath / "generated" / "sdl2").replace("\\", "/")
|
||||
symbolPluginPath = (currentSourcePath.parentDir() / "cleansymbols.nim").sanitizePath
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import macros
|
||||
import os, strutils, strformat
|
||||
import sdl2
|
||||
import nimterop/[cimport, build, globals]
|
||||
|
|
@ -6,7 +7,7 @@ const
|
|||
baseDir = SDLCacheDir
|
||||
srcDir = baseDir / "sdl2_gfx"
|
||||
buildDir = srcDir / ".libs"
|
||||
currentPath = currentSourcePath().parentDir().parentDir().sanitizePath
|
||||
currentPath = getProjectPath().parentDir().sanitizePath
|
||||
generatedPath = (currentPath / "generated" / "sdl2_gfx").replace("\\", "/")
|
||||
symbolPluginPath = currentSourcePath.parentDir() / "cleansymbols.nim"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import macros
|
||||
import os, strformat, strutils
|
||||
import sdl2
|
||||
import nimterop/[build, cimport, globals]
|
||||
|
|
@ -6,8 +7,8 @@ const
|
|||
baseDir = SDLCacheDir
|
||||
sdlDir = (baseDir / "sdl2").sanitizePath
|
||||
srcDir = (baseDir / "sdl2_gpu").sanitizePath
|
||||
currentPath = currentSourcePath().parentDir().parentDir().sanitizePath
|
||||
generatedPath = (currentPath / "generated").replace("\\", "/")
|
||||
currentPath = getProjectPath().parentDir().sanitizePath
|
||||
generatedPath = (currentPath / "generated" / "sdl2_gpu").replace("\\", "/")
|
||||
cmakeModPath = (currentPath / "cmake" / "sdl2").replace("\\", "/")
|
||||
symbolPluginPath = (currentPath / "sdl2" / "cleansymbols.nim").sanitizePath
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import macros
|
||||
import os, strutils, strformat
|
||||
import sdl2
|
||||
import nimterop/[cimport, build, globals]
|
||||
|
|
@ -6,8 +7,8 @@ const
|
|||
baseDir = SDLCacheDir
|
||||
srcDir = baseDir / "sdl2_image"
|
||||
buildDir = srcDir / ".libs"
|
||||
currentPath = currentSourcePath().parentDir().parentDir().sanitizePath
|
||||
generatedPath = (currentPath / "generated").replace("\\", "/")
|
||||
currentPath = getProjectPath().parentDir().sanitizePath
|
||||
generatedPath = (currentPath / "generated" / "sdl2_image").replace("\\", "/")
|
||||
symbolPluginPath = currentSourcePath.parentDir() / "cleansymbols.nim"
|
||||
|
||||
defs = """
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import macros
|
||||
import os, strutils, strformat
|
||||
import sdl2
|
||||
import nimterop/[cimport, build, globals]
|
||||
|
|
@ -6,8 +7,8 @@ const
|
|||
baseDir = SDLCacheDir
|
||||
srcDir = baseDir / "sdl2_mixer"
|
||||
buildDir = srcDir / "build" / ".libs"
|
||||
currentPath = currentSourcePath().parentDir().parentDir().sanitizePath
|
||||
generatedPath = (currentPath / "generated").replace("\\", "/")
|
||||
currentPath = getProjectPath().parentDir().sanitizePath
|
||||
generatedPath = (currentPath / "generated" / "sdl2_mixer").replace("\\", "/")
|
||||
symbolPluginPath = currentSourcePath.parentDir() / "cleansymbols.nim"
|
||||
|
||||
defs = """
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import macros
|
||||
import os, strutils, strformat
|
||||
import sdl2
|
||||
import nimterop/[cimport, build, globals]
|
||||
|
|
@ -6,7 +7,7 @@ const
|
|||
baseDir = SDLCacheDir
|
||||
srcDir = baseDir / "sdl2_net"
|
||||
buildDir = srcDir / ".libs"
|
||||
currentPath = currentSourcePath().parentDir().parentDir().sanitizePath
|
||||
currentPath = getProjectPath().parentDir().sanitizePath
|
||||
generatedPath = (currentPath / "generated" / "sdl2_net").replace("\\", "/")
|
||||
symbolPluginPath = currentSourcePath.parentDir() / "cleansymbols.nim"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import macros
|
||||
import os, strutils, strformat
|
||||
import sdl2
|
||||
import nimterop/[cimport, build, globals]
|
||||
|
|
@ -7,8 +8,8 @@ const
|
|||
sdlDir = (baseDir / "sdl2").sanitizePath
|
||||
srcDir = (baseDir / "sdl2_ttf").sanitizePath
|
||||
buildDir = srcDir / ".libs"
|
||||
currentPath = currentSourcePath().parentDir().parentDir().sanitizePath
|
||||
generatedPath = (currentPath / "generated").replace("\\", "/")
|
||||
currentPath = getProjectPath().parentDir().sanitizePath
|
||||
generatedPath = (currentPath / "generated" / "sdl2_ttf").replace("\\", "/")
|
||||
symbolPluginPath = (currentPath / "sdl2" / "cleansymbols.nim").sanitizePath
|
||||
|
||||
defs = """
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue