Skip to content

Commit fb6f50c

Browse files
committed
Apply the Beman Standard: CMAKE.LIBRARY_NAME
1 parent b290d9d commit fb6f50c

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
cmake_minimum_required(VERSION 3.27)
77

88
project(
9-
beman_iterator_interface
9+
beman.iterator_interface
1010
VERSION 0.0.0
1111
LANGUAGES CXX)
1212

@@ -54,12 +54,12 @@ if(ITERATOR_INTERFACE_ENABLE_TESTING)
5454
FetchContent_MakeAvailable(googletest)
5555
endif()
5656

57-
# Create the library target and named header set for beman_iterator_interface
58-
add_library(beman_iterator_interface STATIC)
59-
add_library(beman::iterator_interface ALIAS beman_iterator_interface)
57+
# Create the library target and named header set for beman.iterator_interface
58+
add_library(beman.iterator_interface STATIC)
59+
add_library(beman::iterator_interface ALIAS beman.iterator_interface)
6060

6161
target_sources(
62-
beman_iterator_interface
62+
beman.iterator_interface
6363
PUBLIC FILE_SET
6464
beman_iterator_interface_headers
6565
TYPE

include/beman/iterator_interface/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# cmake-format: on
55

66
target_sources(
7-
beman_iterator_interface
7+
beman.iterator_interface
88
PUBLIC FILE_SET
99
beman_iterator_interface_headers
1010
TYPE

src/beman/iterator_interface/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
# cmake-format: on
55

66
# Ensure that iterator_interface gets compiled at least once.
7-
target_sources(beman_iterator_interface PUBLIC iterator_interface.cpp)
7+
target_sources(beman.iterator_interface PUBLIC iterator_interface.cpp)
88

99
# The library is empty -- exclude it
1010
install(
11-
TARGETS beman_iterator_interface
11+
TARGETS beman.iterator_interface
1212
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
1313
COMPONENT beman_iterator_interface_library
1414
EXCLUDE_FROM_ALL)
1515

1616
install(
17-
TARGETS beman_iterator_interface FILE_SET beman_iterator_interface_headers
17+
TARGETS beman.iterator_interface FILE_SET beman_iterator_interface_headers
1818
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
1919
COMPONENT beman_iterator_interface_development)

0 commit comments

Comments
 (0)