* CreateBootSectorTarget2: Properly set the C compiler for both normal and prefast modes.

svn path=/trunk/; revision=54950
This commit is contained in:
Amine Khaldi 2012-01-14 11:15:33 +00:00
parent 4a3a3231c2
commit 370d6aadf7

View file

@ -207,7 +207,7 @@ function(CreateBootSectorTarget2 _target_name _asm_file _binary_file _base_addre
add_custom_command(
OUTPUT ${_temp_file}
COMMAND ${CMAKE_C_COMPILER} /nologo /X /I${REACTOS_SOURCE_DIR}/include/asm /I${REACTOS_BINARY_DIR}/include/asm /D__ASM__ /D_USE_ML /EP /c ${_asm_file} > ${_temp_file}
COMMAND cl /nologo /X /I${REACTOS_SOURCE_DIR}/include/asm /I${REACTOS_BINARY_DIR}/include/asm /D__ASM__ /D_USE_ML /EP /c ${_asm_file} > ${_temp_file}
DEPENDS ${_asm_file})
add_custom_command(