saving
This commit is contained in:
parent
ba73ad5b1c
commit
6279935c7a
|
|
@ -5,11 +5,20 @@
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
origDir = os.path.abspath(os.path.dirname(__file__))
|
from sys import platform
|
||||||
shadercrossDir = os.path.join(origDir, 'shadercross')
|
|
||||||
shadercross = os.path.join(shadercrossDir, 'bin/shadercross')
|
|
||||||
|
|
||||||
|
origDir = os.path.abspath(os.path.dirname(__file__))
|
||||||
contentDir = os.path.join(origDir, 'content/')
|
contentDir = os.path.join(origDir, 'content/')
|
||||||
|
shadercrossDir = os.path.join(origDir, 'shadercross/bin')
|
||||||
|
|
||||||
|
if platform == "linux" or platform == "linux2":
|
||||||
|
shadercrossDir = os.path.join(shadercrossDir, 'linux')
|
||||||
|
elif platform == "darwin":
|
||||||
|
shadercrossDir = os.path.join(shadercrossDir, 'osx')
|
||||||
|
elif platform == "win32":
|
||||||
|
shadercrossDir = os.path.join(shadercrossDir, 'win64')
|
||||||
|
|
||||||
|
shadercross = os.path.join(shadercrossDir, 'shadercross')
|
||||||
|
|
||||||
inputFiles = [os.path.abspath(os.path.join(contentDir, x)) for x in os.listdir(contentDir) if x.endswith('.hlsl')]
|
inputFiles = [os.path.abspath(os.path.join(contentDir, x)) for x in os.listdir(contentDir) if x.endswith('.hlsl')]
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue