Skip to content

Commit fc48fda

Browse files
committed
Make timed_lock_alg an INTERFACE library
Signed-off-by: Ted Lyngmo <ted@lyncon.se>
1 parent 1d9181a commit fc48fda

5 files changed

Lines changed: 16 additions & 23 deletions

File tree

.github/workflows/ci_tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
{ "stdlibs": ["libstdc++"],
4444
"tests": [
4545
"Debug.Default", "Release.Default",
46-
"Release.MaxSan", "Debug.Werror", "Debug.Dynamic",
46+
"Release.MaxSan", "Debug.Werror",
4747
"Debug.Coverage"
4848
]
4949
}
@@ -78,13 +78,13 @@ jobs:
7878
{ "stdlibs": ["libc++"],
7979
"tests": [
8080
"Debug.Default", "Release.Default", "Release.TSan",
81-
"Release.MaxSan", "Debug.Werror", "Debug.Dynamic"
81+
"Release.MaxSan", "Debug.Werror"
8282
]
8383
},
8484
{ "stdlibs": ["libstdc++"],
8585
"tests": [
8686
"Debug.Default", "Release.Default",
87-
"Release.MaxSan", "Debug.Werror", "Debug.Dynamic"
87+
"Release.MaxSan", "Debug.Werror"
8888
]
8989
}
9090
]

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ option(
2727
# for find of beman-install-library
2828
include(infra/cmake/beman-install-library.cmake)
2929

30-
add_library(beman.timed_lock_alg)
30+
add_library(beman.timed_lock_alg INTERFACE)
3131
add_library(beman::timed_lock_alg ALIAS beman.timed_lock_alg)
3232

3333
target_sources(
@@ -41,7 +41,6 @@ set_target_properties(
4141
)
4242

4343
add_subdirectory(include/beman/timed_lock_alg)
44-
add_subdirectory(src/beman/timed_lock_alg)
4544

4645
beman_install_library(beman.timed_lock_alg TARGETS beman.timed_lock_alg)
4746

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -309,18 +309,18 @@ This will generate the following directory structure:
309309
```txt
310310
/opt/beman
311311
├── include
312-
└── beman
313-
└── timed_lock_alg
314-
├── timed_lock_alg.hpp
315-
└── mutex.hpp
316-
└── lib
317-
── cmake
318-
└── beman.timed_lock_alg
319-
├── beman.timed_lock_alg-config-version.cmake
320-
├── beman.timed_lock_alg-config.cmake
321-
├── beman.timed_lock_alg-targets-debug.cmake
322-
└── beman.timed_lock_alg-targets.cmake
323-
└── libbeman.timed_lock_alg.a
312+
   └── beman
313+
   └── timed_lock_alg
314+
   ├── mutex.hpp
315+
   └── timed_lock_alg.hpp
316+
└── lib64
317+
── cmake
318+
└── beman.timed_lock_alg
319+
├── beman.timed_lock_alg-config.cmake
320+
├── beman.timed_lock_alg-config-version.cmake
321+
├── beman.timed_lock_alg-targets.cmake
322+
└── cxx-modules
323+
└── cxx-modules-beman.timed_lock_alg-targets.cmake
324324
```
325325

326326
### CMake Configuration

src/beman/timed_lock_alg/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/beman/timed_lock_alg/mutex.cpp

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)