Skip to content

Commit

Permalink
возможность выбрать x32 компилятор (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
HPW-dev committed Oct 3, 2024
1 parent 1f85b97 commit 7f8ffe8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions script/build-game-debug-x32.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env python
import helper

opts = \
' -Q enable_omp=1' \
' -Q enable_asan=0' \
' -Q host=glfw3' \
' -Q compiler=gcc' \
' -Q opt_level=debug' \
' -Q bitness=x32' \
' -Q log_mode=debug'
helper.exec_cmd('scons -j15 -Q script=src/game/SConscript' + opts)
helper.exec_cmd('scons -j15 -Q script=src/plugin/graphic-effect/cxx/SConscript' + opts)
helper.rem_all("build/plugin/effect/*.a") # удалить ненужные .a файлы
helper.exec_cmd('build/bin/HPW')

0 comments on commit 7f8ffe8

Please sign in to comment.