diff options
author | Brad King <brad.king@kitware.com> | 2022-03-31 12:47:17 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-03-31 12:47:25 (GMT) |
commit | 8ef1fffa452330a6e82164db7a6e6cdc0011e566 (patch) | |
tree | e17c219b8c4df491aa19a30ea69d7ce56abf1baa /Tests/CudaOnly | |
parent | f9215a42ba12c31a9d96847f72ea8d3fb9b99f1a (diff) | |
parent | f7c6b9833c55257d2b83e2cb5678139ba52df3dc (diff) | |
download | CMake-8ef1fffa452330a6e82164db7a6e6cdc0011e566.zip CMake-8ef1fffa452330a6e82164db7a6e6cdc0011e566.tar.gz CMake-8ef1fffa452330a6e82164db7a6e6cdc0011e566.tar.bz2 |
Merge topic 'ninja_compile_database_understand_new_cuda_lang_variables'
f7c6b9833c CUDA: Ninja generator generates valid compile database
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7129
Diffstat (limited to 'Tests/CudaOnly')
-rw-r--r-- | Tests/CudaOnly/WithDefs/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/CudaOnly/WithDefs/CMakeLists.txt b/Tests/CudaOnly/WithDefs/CMakeLists.txt index 02f043f..39bcd91 100644 --- a/Tests/CudaOnly/WithDefs/CMakeLists.txt +++ b/Tests/CudaOnly/WithDefs/CMakeLists.txt @@ -1,6 +1,8 @@ cmake_minimum_required(VERSION 3.18) project(WithDefs CUDA) +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) + set(release_compile_defs DEFREL) #Goal for this example: |