[llvm] r198143 - Another windows build fix attempt after r198136.

Nico Weber nicolasweber at gmx.de
Sat Dec 28 16:50:09 PST 2013


Author: nico
Date: Sat Dec 28 18:50:09 2013
New Revision: 198143

URL: http://llvm.org/viewvc/llvm-project?rev=198143&view=rev
Log:
Another windows build fix attempt after r198136.

The current quoting is stripped by cmake, try quoting more.

Modified:
    llvm/trunk/cmake/modules/AddLLVM.cmake

Modified: llvm/trunk/cmake/modules/AddLLVM.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVM.cmake?rev=198143&r1=198142&r2=198143&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake (original)
+++ llvm/trunk/cmake/modules/AddLLVM.cmake Sat Dec 28 18:50:09 2013
@@ -37,7 +37,7 @@ function(add_llvm_symbol_exports target_
 
     add_custom_command(OUTPUT symbol.def
       COMMAND ${CMAKE_COMMAND} -E echo "EXPORTS" > symbol.def
-      COMMAND ${CAT} "${export_file}" >> symbol.def
+      COMMAND ${CAT} "\"${export_file}\"" >> symbol.def
       DEPENDS ${export_file}
       VERBATIM
       COMMENT "Creating export file for ${target_name}")





More information about the llvm-commits mailing list