Wyatt Hepler | 0fbcdfc | 2020-01-02 07:53:39 -0800 | [diff] [blame] | 1 | # 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 | |
| 15 | pw_add_module_library(pw_unit_test |
| 16 | SOURCES |
| 17 | framework.cc |
| 18 | PUBLIC_DEPS |
Wyatt Hepler | a55d4c7 | 2020-01-16 10:26:04 -0800 | [diff] [blame] | 19 | pw_polyfill |
Wyatt Hepler | 0fbcdfc | 2020-01-02 07:53:39 -0800 | [diff] [blame] | 20 | pw_preprocessor |
| 21 | pw_string |
| 22 | ) |
| 23 | |
| 24 | # pw_unit_test overrides the gtest/gtest.h header. |
| 25 | target_include_directories(pw_unit_test PUBLIC public_overrides) |
| 26 | |
| 27 | pw_add_module_library(pw_unit_test.main |
| 28 | SOURCES |
Keir Mierle | da0bccb | 2020-01-17 13:51:35 -0800 | [diff] [blame] | 29 | simple_printing_main.cc |
Wyatt Hepler | 0fbcdfc | 2020-01-02 07:53:39 -0800 | [diff] [blame] | 30 | simple_printing_event_handler.cc |
| 31 | PUBLIC_DEPS |
| 32 | pw_unit_test |
| 33 | PRIVATE_DEPS |
| 34 | pw_preprocessor |
| 35 | pw_dumb_io |
| 36 | pw_string |
| 37 | ) |