mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 22:58:50 +00:00
The same we do every commit, Pinky: Try to fix the windows build (after r198136).
llvm-svn: 198148
This commit is contained in:
parent
54599c4394
commit
02ce2440ed
@ -35,9 +35,12 @@ function(add_llvm_symbol_exports target_name export_file)
|
||||
set(CAT "cat")
|
||||
endif()
|
||||
|
||||
# Using ${export_file} in add_custom_command directly confuses cmd.exe.
|
||||
file(TO_NATIVE_PATH ${export_file} export_file_backslashes)
|
||||
|
||||
add_custom_command(OUTPUT symbol.def
|
||||
COMMAND ${CMAKE_COMMAND} -E echo "EXPORTS" > symbol.def
|
||||
COMMAND ${CAT} "\"${export_file}\"" >> symbol.def
|
||||
COMMAND ${CAT} ${export_file_backslashes} >> symbol.def
|
||||
DEPENDS ${export_file}
|
||||
VERBATIM
|
||||
COMMENT "Creating export file for ${target_name}")
|
||||
|
Loading…
Reference in New Issue
Block a user