mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[MVDM] hack-fix Clang-CL build
This commit is contained in:
parent
cf5926c207
commit
0493e8e432
1 changed files with 8 additions and 2 deletions
|
@ -113,10 +113,16 @@ function(add_asm16_bin _target _binary_file _base_address)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT ${_preprocessed_asm_file} ${_object_file}
|
OUTPUT ${_preprocessed_asm_file}
|
||||||
COMMAND ${CMAKE_C_COMPILER} /nologo ${_no_std_includes_flag} /I${REACTOS_SOURCE_DIR}/sdk/include/asm /I${REACTOS_BINARY_DIR}/sdk/include/asm ${_directory_includes} ${_source_file_defines} ${_directory_defines} /D__ASM__ /D_USE_ML /EP /c ${_concatenated_asm_file} > ${_preprocessed_asm_file} && ${_pp_asm16_compile_command}
|
#COMMAND ${CMAKE_C_COMPILER} /nologo ${_no_std_includes_flag} /I${REACTOS_SOURCE_DIR}/sdk/include/asm /I${REACTOS_BINARY_DIR}/sdk/include/asm ${_directory_includes} ${_source_file_defines} ${_directory_defines} /D__ASM__ /D_USE_ML /EP /c ${_concatenated_asm_file} > ${_preprocessed_asm_file}
|
||||||
|
COMMAND cl /nologo /X /I${REACTOS_SOURCE_DIR}/sdk/include/asm /I${REACTOS_BINARY_DIR}/sdk/include/asm ${_directory_includes} ${_source_file_defines} ${_directory_defines} /D__ASM__ /D_USE_ML /EP /c ${_concatenated_asm_file} > ${_preprocessed_asm_file}
|
||||||
DEPENDS ${_concatenated_asm_file})
|
DEPENDS ${_concatenated_asm_file})
|
||||||
|
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT ${_object_file}
|
||||||
|
COMMAND ${_pp_asm16_compile_command}
|
||||||
|
DEPENDS ${_preprocessed_asm_file})
|
||||||
|
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT ${_binary_file}
|
OUTPUT ${_binary_file}
|
||||||
COMMAND native-obj2bin ${_object_file} ${_binary_file} ${_base_address}
|
COMMAND native-obj2bin ${_object_file} ${_binary_file} ${_base_address}
|
||||||
|
|
Loading…
Reference in a new issue