File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 11# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
22
3- set (ALL_EXAMPLES identity_direct_usage)
4-
5- # Example `identity_as_default_projection` need ranges support:
6- include (CheckCXXSymbolExists)
7- check_cxx_symbol_exists(__cpp_lib_ranges "ranges" HAS_RANGES)
8-
9- if (HAS_RANGES)
10- list (APPEND ALL_EXAMPLES identity_as_default_projection)
11- else ()
12- message (
13- WARNING
14- "Missing range support! Skip: identity_as_default_projection"
15- )
16- endif ()
3+ set (ALL_EXAMPLES scope_example)
174
185message ("Examples to be built: ${ALL_EXAMPLES} " )
196
207foreach (example ${ALL_EXAMPLES} )
218 add_executable (beman.scope.examples.${example} )
229 target_sources (beman.scope.examples.${example} PRIVATE ${example} .cpp)
23- target_link_libraries (beman.scope.examples.${example} beman::scope)
2410endforeach ()
You can’t perform that action at this time.
0 commit comments