Skip to content

Commit

Permalink
Ooops, left a helper function in the windows example
Browse files Browse the repository at this point in the history
  • Loading branch information
aappleby authored Mar 7, 2024
1 parent 6389499 commit f374237
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions examples/windows/build.hancho
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,5 @@ link = Rule(
libs = "user32.lib"
)

def c_binary(files_in, files_out, **kwargs):
objs = [compile(file, **kwargs) for file in files_in]
return link(objs, files_out, **kwargs)

main_o = compile("src/main.cpp")
link(main_o, "app.exe")

0 comments on commit f374237

Please sign in to comment.