mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-20 23:01:16 +00:00
Set CMAKE_SYSTEM_NAME in toolchain file
This commit is contained in:
parent
8db73f59c5
commit
96d2709efa
@ -103,6 +103,8 @@
|
|||||||
cmake_cmd += [f"-DCMAKE_TOOLCHAIN_FILE={cmake_toolchain_file}"]
|
cmake_cmd += [f"-DCMAKE_TOOLCHAIN_FILE={cmake_toolchain_file}"]
|
||||||
with cmake_toolchain_file.open("w") as f:
|
with cmake_toolchain_file.open("w") as f:
|
||||||
print(textwrap.dedent(f"""\
|
print(textwrap.dedent(f"""\
|
||||||
|
set(CMAKE_SYSTEM_NAME "Windows")
|
||||||
|
|
||||||
set(CMAKE_C_COMPILER "{cl_path}")
|
set(CMAKE_C_COMPILER "{cl_path}")
|
||||||
set(CMAKE_CXX_COMPILER "{cl_path}")
|
set(CMAKE_CXX_COMPILER "{cl_path}")
|
||||||
set(CMAKE_RC_COMPILER "{rc_path}")
|
set(CMAKE_RC_COMPILER "{rc_path}")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user