blob: 8f27ad2fac95565ac38cf1be8b7b8fa02d576117 [file] [log] [blame]
Lei YU14ef8742023-10-07 17:50:28 +08001gtest = dependency('gtest', main: true, disabler: true, required: build_tests)
2gmock = dependency('gmock', disabler: true, required: build_tests)
3test_inc = include_directories('.')
Lei YU14ef8742023-10-07 17:50:28 +08004
Patrick Williams4b98de52025-02-03 14:14:17 -05005common_dep = [gtest, gmock]
Lei YU14ef8742023-10-07 17:50:28 +08006
7test_exprtk_tools = executable(
Patrick Williams4b98de52025-02-03 14:14:17 -05008 'test_exprtk_tools',
9 'test_exprtk_tools.cpp',
10 include_directories: [test_inc, src_inc],
11 dependencies: [common_dep, exprtk],
Lei YU14ef8742023-10-07 17:50:28 +080012)
13
14test('test_exprtk_tools', test_exprtk_tools)