[Bf-blender-cvs] [3c30c96] object_nodes: Make LLVM module compilation depend on header files to force recompile when headers change.

Lukas Tönne noreply at git.blender.org
Fri Apr 8 17:30:49 CEST 2016


Commit: 3c30c96850cb1984773823dd30989b2574bc9a16
Author: Lukas Tönne
Date:   Thu Apr 7 17:53:14 2016 +0200
Branches: object_nodes
https://developer.blender.org/rB3c30c96850cb1984773823dd30989b2574bc9a16

Make LLVM module compilation depend on header files to force recompile when headers change.

===================================================================

M	source/blender/blenvm/llvm/CMakeLists.txt

===================================================================

diff --git a/source/blender/blenvm/llvm/CMakeLists.txt b/source/blender/blenvm/llvm/CMakeLists.txt
index 113d5a2..0944e6c 100644
--- a/source/blender/blenvm/llvm/CMakeLists.txt
+++ b/source/blender/blenvm/llvm/CMakeLists.txt
@@ -99,7 +99,7 @@ macro(BLENVM_LLVM_MODULE_ADD src)
 				-DBLENVM_RUNTIME
 				-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
 				-std=c++0x
-		DEPENDS ${LLVM_SRC})
+		DEPENDS ${LLVM_SRC} ${LLVM_HEADERS})
 
 	delayed_install("${CMAKE_CURRENT_BINARY_DIR}" "${llvm_ir}" ${LLVM_IR_INSTALL_PATH}/modules/)
 	list(APPEND llvm_irs ${llvm_ir})




More information about the Bf-blender-cvs mailing list