Skip to content

Commit

Permalink
Architecture and OS-based binary naming for build output.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Oct 8, 2024
1 parent 0328194 commit 05c469c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
import os
import platform
import subprocess
import sys

OUT_DIR = 'dist'
OUTPUT_EXECUTABLE = os.path.join(OUT_DIR, 'zhivo-win-x86')
OUTPUT_EXECUTABLE = os.path.join(
'dist',
'zhivo-' +
sys.platform + '-' +
platform.machine().lower()
)

cpp_files = []
for root, dirs, files in os.walk('src'):
Expand Down

0 comments on commit 05c469c

Please sign in to comment.