mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-01 06:00:15 +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)
|
||||
|
||||
programName = "powder"
|
||||
|
||||
if(GetOption('win32')):
|
||||
t=env.Program(target='powder.exe', source=sources)
|
||||
else:
|
||||
t=env.Program(target='powder', source=sources)
|
||||
programName = "Powder"
|
||||
|
||||
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)
|
||||
|
||||
#if(GetOption('release')):
|
||||
|
Reference in New Issue
Block a user