Skip to content

Commit

Permalink
This is an interface library (header only)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClausKlein committed Nov 8, 2024
1 parent 6bc0497 commit beb59c0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,20 @@ jobs:
include:
- platform: ubuntu-22.04
compiler:
cpp: g++-14
c: gcc-14
cpp: g++
c: gcc
cpp_version: 20
cmake_args:
description: "Werror"
cmake_args: "-DCMAKE_CXX_FLAGS='-Werror=all -Werror=extra'"
- platform: ubuntu-22.04
compiler:
cpp: g++-14
c: gcc-14
cpp_version: 20
cmake_args:
description: "Dynamic"
cmake_args: "-DBUILD_SHARED_LIBS=on"
# - platform: ubuntu-22.04
# compiler:
# cpp: g++
# c: gcc
# cpp_version: 20
# cmake_args:
# description: "Dynamic"
# cmake_args: "-DBUILD_SHARED_LIBS=on"

name: "Bulid & Test on ${{ matrix.platform }}: ${{ matrix.compiler.c }} ${{ matrix.cpp_version }} ${{ matrix.cmake_args.description }}"
runs-on: ${{ matrix.platform }}
Expand Down
2 changes: 1 addition & 1 deletion CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CXX_FLAGS": "-fsanitize=address -fsanitize=pointer-compare -fsanitize=pointer-subtract -fsanitize=leak -fsanitize=undefined"
"CMAKE_CXX_FLAGS": "-fsanitize=address -fsanitize=pointer-compare -fsanitize=pointer-subtract -fsanitize=undefined"
}
},
{
Expand Down
4 changes: 2 additions & 2 deletions src/beman/exemplar/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

add_library(beman.exemplar STATIC)
add_library(beman.exemplar INTERFACE)
add_library(beman::exemplar ALIAS beman.exemplar)

target_sources(beman.exemplar PRIVATE identity.cpp)
# XXX target_sources(beman.exemplar PRIVATE identity.cpp)

target_sources(
beman.exemplar
Expand Down

0 comments on commit beb59c0

Please sign in to comment.