mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 14:37:45 +00:00
[CMAKE]
* Use the appropriate CMake command to get the absolute path. I forgot to commit this change in the transition phase. CORE-7918 #resolve #comment Should be fixed in r62298. Thank you for testing the VS build. svn path=/trunk/; revision=62298
This commit is contained in:
parent
11e1167b0c
commit
c1e3e32d6d
|
@ -343,9 +343,9 @@ macro(add_asm_files _target)
|
||||||
get_directory_property(_defines COMPILE_DEFINITIONS)
|
get_directory_property(_defines COMPILE_DEFINITIONS)
|
||||||
foreach(_source_file ${ARGN})
|
foreach(_source_file ${ARGN})
|
||||||
get_filename_component(_source_file_base_name ${_source_file} NAME_WE)
|
get_filename_component(_source_file_base_name ${_source_file} NAME_WE)
|
||||||
|
get_filename_component(_source_file_full_path ${_source_file} ABSOLUTE)
|
||||||
set(_preprocessed_asm_file ${CMAKE_CURRENT_BINARY_DIR}/asm/${_source_file_base_name}_${_target}.tmp)
|
set(_preprocessed_asm_file ${CMAKE_CURRENT_BINARY_DIR}/asm/${_source_file_base_name}_${_target}.tmp)
|
||||||
set(_object_file ${CMAKE_CURRENT_BINARY_DIR}/asm/${_source_file_base_name}_${_target}.obj)
|
set(_object_file ${CMAKE_CURRENT_BINARY_DIR}/asm/${_source_file_base_name}_${_target}.obj)
|
||||||
set(_source_file_full_path ${CMAKE_CURRENT_SOURCE_DIR}/${_source_file})
|
|
||||||
get_source_file_property(_defines_semicolon_list ${_source_file_full_path} COMPILE_DEFINITIONS)
|
get_source_file_property(_defines_semicolon_list ${_source_file_full_path} COMPILE_DEFINITIONS)
|
||||||
unset(_source_file_defines)
|
unset(_source_file_defines)
|
||||||
foreach(_define ${_defines_semicolon_list})
|
foreach(_define ${_defines_semicolon_list})
|
||||||
|
|
Loading…
Reference in a new issue