Brad Bishop | 39b370a | 2019-09-02 02:37:32 -0400 | [diff] [blame] | 1 | test( |
Shawn McCarney | 5f51444 | 2024-01-04 14:03:24 -0600 | [diff] [blame] | 2 | 'common-code-tests', |
Brad Bishop | 39b370a | 2019-09-02 02:37:32 -0400 | [diff] [blame] | 3 | executable( |
Shawn McCarney | 5f51444 | 2024-01-04 14:03:24 -0600 | [diff] [blame] | 4 | 'common-code-tests', |
| 5 | 'file_descriptor_tests.cpp', |
| 6 | 'nvtest.cpp', |
| 7 | 'temporary_file_tests.cpp', |
Brad Bishop | 39b370a | 2019-09-02 02:37:32 -0400 | [diff] [blame] | 8 | dependencies: [ |
| 9 | gmock, |
| 10 | gtest, |
| 11 | ], |
Brandon Wyman | dc8e931 | 2020-02-14 17:04:18 -0600 | [diff] [blame] | 12 | link_args: dynamic_linker, |
Patrick Williams | 5c6a693 | 2023-11-29 06:44:29 -0600 | [diff] [blame] | 13 | build_rpath: get_option('oe-sdk').allowed() ? rpath : '', |
Shawn McCarney | 5f51444 | 2024-01-04 14:03:24 -0600 | [diff] [blame] | 14 | link_with: [ |
| 15 | libpower |
Shawn McCarney | 9462e06 | 2020-09-15 14:39:17 -0500 | [diff] [blame] | 16 | ], |
Shawn McCarney | 9462e06 | 2020-09-15 14:39:17 -0500 | [diff] [blame] | 17 | implicit_include_directories: false, |
| 18 | include_directories: '..', |
| 19 | ) |
| 20 | ) |