summaryrefslogtreecommitdiff
path: root/lib/builtins/macho_embedded
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2015-09-29 23:21:07 +0000
committerChris Bieneman <beanz@apple.com>2015-09-29 23:21:07 +0000
commitb71c47332cb99733559247823bfcb60085e7ca30 (patch)
treebfae5a42a2ca9d1c68f2abfdab3c69ee34d14aa9 /lib/builtins/macho_embedded
parentbcc4ac930dfaaf8c4d5f2de02849006898177f23 (diff)
[CMake] [Darwin] [builtins] Make CMake re-generate if the builtin filter lists change.
We need to make sure that if you change the builtin filter lists CMake re-generates its configurations so it includes the right builtins in the generated libraries. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@248852 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/builtins/macho_embedded')
-rw-r--r--lib/builtins/macho_embedded/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/builtins/macho_embedded/CMakeLists.txt b/lib/builtins/macho_embedded/CMakeLists.txt
new file mode 100644
index 000000000..266e42215
--- /dev/null
+++ b/lib/builtins/macho_embedded/CMakeLists.txt
@@ -0,0 +1,4 @@
+file(GLOB filter_files ${CMAKE_CURRENT_SOURCE_DIR}/*.txt)
+foreach(filter_file ${filter_files})
+ set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${filter_file})
+endforeach()