File tree Expand file tree Collapse file tree 8 files changed +27
-27
lines changed Expand file tree Collapse file tree 8 files changed +27
-27
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ endif()
18
18
message ("Examples to be built: ${ALL_EXAMPLES} " )
19
19
20
20
foreach (example ${ALL_EXAMPLES} )
21
- add_executable (beman.exemplar .examples.${example} )
22
- target_sources (beman.exemplar .examples.${example} PRIVATE ${example} .cpp )
23
- target_link_libraries (beman.exemplar .examples.${example} beman::exemplar )
21
+ add_executable (beman.scope .examples.${example} )
22
+ target_sources (beman.scope .examples.${example} PRIVATE ${example} .cpp )
23
+ target_link_libraries (beman.scope .examples.${example} beman::scope )
24
24
endforeach ()
Original file line number Diff line number Diff line change 5
5
// TODO Darius: Do we need to selectively compile this example?
6
6
// Or should we assume that this project is compiled with C++20 support only?
7
7
8
- #include < beman/exemplar /identity.hpp>
8
+ #include < beman/scope /identity.hpp>
9
9
10
10
#include < algorithm>
11
11
#include < functional> // std::identity
Original file line number Diff line number Diff line change 1
1
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2
2
3
- #include < beman/exemplar /identity.hpp>
3
+ #include < beman/scope /identity.hpp>
4
4
5
5
#include < iostream>
6
6
Original file line number Diff line number Diff line change 1
1
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2
2
3
- add_library (beman.exemplar )
4
- add_library (beman::exemplar ALIAS beman.exemplar )
3
+ add_library (beman.scope )
4
+ add_library (beman::scope ALIAS beman.scope )
5
5
6
- target_sources (beman.exemplar PRIVATE identity.cpp )
6
+ target_sources (beman.scope PRIVATE identity.cpp )
7
7
8
8
target_sources (
9
- beman.exemplar
9
+ beman.scope
10
10
PUBLIC
11
11
FILE_SET HEADERS
12
12
BASE_DIRS ${PROJECT_SOURCE_DIR} /include
13
- FILES ${PROJECT_SOURCE_DIR} /include/beman/exemplar /identity.hpp
13
+ FILES ${PROJECT_SOURCE_DIR} /include/beman/scope /identity.hpp
14
14
)
15
15
16
- set_target_properties (beman.exemplar PROPERTIES VERIFY_INTERFACE_HEADER_SETS ON )
16
+ set_target_properties (beman.scope PROPERTIES VERIFY_INTERFACE_HEADER_SETS ON )
17
17
18
18
install (
19
- TARGETS beman.exemplar
20
- EXPORT beman.exemplar
19
+ TARGETS beman.scope
20
+ EXPORT beman.scope
21
21
DESTINATION
22
22
$< $< CONFIG:Debug> :debug/> ${CMAKE_INSTALL_LIBDIR}
23
23
RUNTIME DESTINATION $< $< CONFIG:Debug> :debug/> ${CMAKE_INSTALL_BINDIR}
Original file line number Diff line number Diff line change 1
1
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2
2
3
- #include < beman/exemplar /identity.hpp>
3
+ #include < beman/scope /identity.hpp>
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2
+
3
+ include (GoogleTest )
4
+
5
+ add_executable (beman.scope.tests.identity )
6
+ target_sources (beman.scope.tests.identity PRIVATE identity.test.cpp )
7
+ target_link_libraries (
8
+ beman.scope.tests.identity
9
+ PRIVATE beman::scope GTest::gtest GTest::gtest_main
10
+ )
11
+
12
+ gtest_add_tests (beman.scope.tests.identity "" AUTO )
Original file line number Diff line number Diff line change 1
1
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2
2
3
- #include < beman/exemplar /identity.hpp>
3
+ #include < beman/scope /identity.hpp>
4
4
5
5
#include < gtest/gtest.h>
6
6
You can’t perform that action at this time.
0 commit comments