Skip to content

Commit

Permalink
changes some things in windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
kdschlosser committed Apr 30, 2024
1 parent 83c3e9c commit d46ad2b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions builder/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ def build_commands(_, extra_args, script_dir, lv_cflags, board):
os.environ['VCTargetsPath'] = VCTargetsPath

mpy_cross_cmd.extend([
'msbuild',
env.visual_c.msbuild_path,
'lib/micropython/mpy-cross/mpy-cross.vcxproj'
])
compile_cmd.extend([
'msbuild',
env.visual_c.msbuild_path,
'lib/micropython/ports/windows/micropython.vcxproj',
])

Expand All @@ -103,12 +103,12 @@ def build_commands(_, extra_args, script_dir, lv_cflags, board):
f'LV_PORT=windows',
])

if lv_cflags:
clean_cmd.append(f'LV_CFLAGS="{lv_cflags}"')
compile_cmd.append(f'LV_CFLAGS="{lv_cflags}"')
# if lv_cflags:
# clean_cmd.append(f'LV_CFLAGS="{lv_cflags}"')
# compile_cmd.append(f'LV_CFLAGS="{lv_cflags}"')

clean_cmd.append(f'USER_C_MODULES="{script_dir}/ext_mod"')
compile_cmd.append(f'USER_C_MODULES="{script_dir}/ext_mod"')
# clean_cmd.append(f'USER_C_MODULES="{script_dir}/ext_mod"')
# compile_cmd.append(f'USER_C_MODULES="{script_dir}/ext_mod"')

clean_cmd.extend(extra_args)
compile_cmd.extend(extra_args)
Expand Down

0 comments on commit d46ad2b

Please sign in to comment.