summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_options.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_options.cmake')
-rw-r--r--Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_options.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_options.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_options.cmake
new file mode 100644
index 0000000..a9cb7fd
--- /dev/null
+++ b/Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_options.cmake
@@ -0,0 +1,4 @@
+
+enable_language(C)
+add_executable(empty empty.c)
+target_compile_options(empty PRIVATE $<DEVICE_LINK:-OPT>)