[compiler-rt] r195002 - CMake: make sure compiler-rt headers are copied to build tree if 'compilrer-rt' target is built

Alexey Samsonov samsonov at google.com
Mon Nov 18 02:57:36 PST 2013


Author: samsonov
Date: Mon Nov 18 04:57:36 2013
New Revision: 195002

URL: http://llvm.org/viewvc/llvm-project?rev=195002&view=rev
Log:
CMake: make sure compiler-rt headers are copied to build tree if 'compilrer-rt' target is built

Modified:
    compiler-rt/trunk/include/CMakeLists.txt

Modified: compiler-rt/trunk/include/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/include/CMakeLists.txt?rev=195002&r1=195001&r2=195002&view=diff
==============================================================================
--- compiler-rt/trunk/include/CMakeLists.txt (original)
+++ compiler-rt/trunk/include/CMakeLists.txt Mon Nov 18 04:57:36 2013
@@ -34,6 +34,7 @@ foreach( f ${SANITIZER_HEADERS} )
 endforeach( f )
 
 add_custom_target(compiler-rt-headers ALL DEPENDS ${out_files})
+add_dependencies(compiler-rt compiler-rt-headers)
 
 # Install sanitizer headers.
 install(FILES ${SANITIZER_HEADERS}





More information about the llvm-commits mailing list