diff options
author | Jan Vesely <jan.vesely@rutgers.edu> | 2020-02-14 22:29:04 -0500 |
---|---|---|
committer | Jan Vesely <jano.vesely@gmail.com> | 2020-02-25 04:43:14 -0500 |
commit | 814fb658ca262f5c2df47f11d47f91fac188e0d6 (patch) | |
tree | b59e33c0ac839dd009dfe6a0c1447bc8cca0e96a /libclc | |
parent | 05d174d30159579ae19e90899736d98e2544c0e3 (diff) | |
download | llvm-814fb658ca262f5c2df47f11d47f91fac188e0d6.zip llvm-814fb658ca262f5c2df47f11d47f91fac188e0d6.tar.gz llvm-814fb658ca262f5c2df47f11d47f91fac188e0d6.tar.bz2 |
libclc: cmake configure should depend on file list
This makes sure targets are rebuilt if a file is added or removed.
Reviewer: tstellar
Differential Revision: https://reviews.llvm.org/D74662
Diffstat (limited to 'libclc')
-rw-r--r-- | libclc/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libclc/CMakeLists.txt b/libclc/CMakeLists.txt index 440eab0..4afed0d 100644 --- a/libclc/CMakeLists.txt +++ b/libclc/CMakeLists.txt @@ -2,6 +2,16 @@ cmake_minimum_required( VERSION 3.9.2 ) project( libclc VERSION 0.2.0 LANGUAGES CXX ) include( GNUInstallDirs ) +set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS + amdgcn-amdhsa/lib/SOURCES; + amdgcn/lib/SOURCES; + amdgcn-mesa3d/lib/SOURCES; + amdgpu/lib/SOURCES; + generic/lib/SOURCES; + ptx/lib/SOURCES; + ptx-nvidiacl/lib/SOURCES; + r600/lib/SOURCES +) # List of all targets set( LIBCLC_TARGETS_ALL |