Import build scripts and xtldr bootdata

This commit is contained in:
2022-07-27 09:20:41 +02:00
parent 35c7796527
commit 6f33629b85
11 changed files with 438 additions and 0 deletions

17
sdk/cmake/toolchain.cmake Normal file
View File

@@ -0,0 +1,17 @@
# Set target operating system name
set(CMAKE_SYSTEM_NAME Windows)
# Set toolchain compilers
set(CMAKE_ASM_COMPILER nasm)
set(CMAKE_C_COMPILER clang-cl)
set(CMAKE_CXX_COMPILER clang-cl)
set(CMAKE_MC_COMPILER wmc)
set(CMAKE_RC_COMPILER wrc)
set(CMAKE_SPEC_COMPILER xtcspecc)
# Assume that C/C++ compiler is working
set(CMAKE_C_COMPILER_WORKS 1)
set(CMAKE_CXX_COMPILER_WORKS 1)
# Disable standard C libraries
set(CMAKE_C_STANDARD_LIBRARIES "" CACHE INTERNAL "")