[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.

llvm-svn: 248852
This commit is contained in:
Chris Bieneman 2015-09-29 23:21:07 +00:00
parent 6a78fd5f41
commit d868fef16c
3 changed files with 10 additions and 0 deletions

View File

@ -326,6 +326,8 @@ set(armv7em_SOURCES ${arm_SOURCES})
add_custom_target(builtins)
if (APPLE)
add_subdirectory(Darwin-excludes)
add_subdirectory(macho_embedded)
darwin_add_builtin_libraries(${BUILTIN_SUPPORTED_OS})
elseif (NOT WIN32 OR MINGW)
foreach (arch ${BUILTIN_SUPPORTED_ARCH})

View File

@ -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()

View File

@ -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()