mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-21 07:31:26 +02:00
Output file naming for sconscript
This commit is contained in:
20
SConscript
20
SConscript
@@ -178,10 +178,24 @@ sources+=Glob("generated/*.cpp")
|
|||||||
|
|
||||||
SetupSpawn(env)
|
SetupSpawn(env)
|
||||||
|
|
||||||
|
programName = "powder"
|
||||||
|
|
||||||
if(GetOption('win32')):
|
if(GetOption('win32')):
|
||||||
t=env.Program(target='powder.exe', source=sources)
|
programName = "Powder"
|
||||||
else:
|
|
||||||
t=env.Program(target='powder', source=sources)
|
if(GetOption('lin64')):
|
||||||
|
programName += "64"
|
||||||
|
|
||||||
|
if(not (GetOption('sse2') or GetOption('sse3'))):
|
||||||
|
programName += "-legacy"
|
||||||
|
|
||||||
|
if(GetOption('macosx')):
|
||||||
|
programName += "-x"
|
||||||
|
|
||||||
|
if(GetOption('win32')):
|
||||||
|
programName += ".exe"
|
||||||
|
|
||||||
|
t=env.Program(target=programName, source=sources)
|
||||||
Default(t)
|
Default(t)
|
||||||
|
|
||||||
#if(GetOption('release')):
|
#if(GetOption('release')):
|
||||||
|
Reference in New Issue
Block a user