forked from OSchip/llvm-project
[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:
parent
6a78fd5f41
commit
d868fef16c
|
@ -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})
|
||||
|
|
|
@ -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()
|
|
@ -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()
|
Loading…
Reference in New Issue