-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply the Beman Standard: CMAKE.TARGET_NAMES
- Loading branch information
1 parent
fb6f50c
commit d655126
Showing
3 changed files
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,26 @@ | ||
# cmake-format: off | ||
# src/beman/iterator_interface/tests/CMakeLists.txt -*-makefile-*- | ||
# tests/CMakeLists.txt -*-makefile-*- | ||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
# cmake-format: on | ||
|
||
include(GoogleTest) | ||
|
||
# Tests | ||
add_executable(beman_iterator_interface_test) | ||
add_executable(beman.iterator_interface.tests) | ||
|
||
target_sources(beman_iterator_interface_test | ||
target_sources(beman.iterator_interface.tests | ||
PRIVATE iterator_interface.test.cpp) | ||
|
||
target_sources( | ||
beman_iterator_interface_test | ||
beman.iterator_interface.tests | ||
PRIVATE FILE_SET beman_iterator_interface_test_headers TYPE HEADERS) | ||
|
||
target_link_libraries( | ||
beman_iterator_interface_test PRIVATE beman::iterator_interface GTest::gtest | ||
GTest::gtest_main) | ||
beman.iterator_interface.tests PRIVATE beman::iterator_interface GTest::gtest | ||
GTest::gtest_main) | ||
|
||
# Issue #32: Re-enable ASAN run CI/clang-19. | ||
# | ||
# Note: clang-19 + gtest_discover_tests + Asan setup causes errors on some | ||
# platforms. Temporary switch to gtest_add_tests and skip some Asan checks. | ||
# Change also applied for CI flows. | ||
gtest_add_tests(TARGET beman_iterator_interface_test "" AUTO) | ||
gtest_add_tests(TARGET beman.iterator_interface.tests "" AUTO) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters