blob: 7e6c46aef93d8faf7337d572cbffb14b9c23def4 [file] [log] [blame]
Keir Mierle848ca252020-02-13 14:48:55 -08001# Copyright 2020 The Pigweed Authors
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may not
4# use this file except in compliance with the License. You may obtain a copy of
5# the License at
6#
7# https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations under
13# the License.
14
15pw_auto_add_simple_module(pw_assert_basic
16 IMPLEMENTS_FACADE
17 pw_assert
18 PRIVATE_DEPS
Keir Mierle848ca252020-02-13 14:48:55 -080019 pw_preprocessor
20 pw_string
Armando Montanezf7a5a742020-03-02 14:58:59 -080021 pw_sys_io
Keir Mierle848ca252020-02-13 14:48:55 -080022)
23
24target_include_directories(pw_assert_basic PUBLIC public_overrides)
25
26# TODO(hepler): Declare pw_assert_basic as the pw_assert backend for now.
27add_library(pw_assert.backend INTERFACE)
28target_link_libraries(pw_assert.backend INTERFACE pw_assert_basic)