-builded demos on linux
-small gitingore fix
This commit is contained in:
parent
5894e76540
commit
46de0f6adb
6 changed files with 17 additions and 9 deletions
|
|
@ -24,11 +24,11 @@ def compile(sources, output):
|
|||
for f in files:
|
||||
ldc_cmd += f + ' '
|
||||
|
||||
print ldc_cmd
|
||||
print(ldc_cmd)
|
||||
|
||||
if os.system(ldc_cmd):
|
||||
exit(0)
|
||||
print
|
||||
print()
|
||||
|
||||
|
||||
shared_flags = ''
|
||||
|
|
@ -74,7 +74,7 @@ for arg in sys.argv[1:]:
|
|||
elif(arg == '-pthread'):
|
||||
shared_flags += '-O3 '
|
||||
ldc_flags += '-release -enable-inlining '
|
||||
emc_flags += '-s PTHREAD_POOL_SIZE=16 -Wl,--no-check-features -s USE_PTHREADS=1 '
|
||||
emc_flags += '-s PTHREAD_POOL_SIZE=16 -s USE_PTHREADS=1 '
|
||||
elif(arg == '--demo=simple'):
|
||||
demo = 0
|
||||
else:
|
||||
|
|
@ -101,6 +101,6 @@ emcc_cmd += 'cimgui.bc '
|
|||
emcc_cmd += 'mmutils.bc '
|
||||
emcc_cmd += 'demo.bc '
|
||||
|
||||
print emcc_cmd
|
||||
print(emcc_cmd)
|
||||
|
||||
os.system(emcc_cmd)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue