aboutsummaryrefslogtreecommitdiff
path: root/src/gmenuharness/CMakeLists.txt
blob: 761949b916b4d3ba4d57c40cd5e399b7c4260aa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
include_directories(${UNITY_API_INCLUDE_DIRS})

include_directories("${CMAKE_SOURCE_DIR}/include")

add_library(
    gmenuharness-shared SHARED
    MatchResult.cpp
    MatchUtils.cpp
    MenuItemMatcher.cpp
    MenuMatcher.cpp
)

target_link_libraries(
    gmenuharness-shared
    ${GLIB_LDFLAGS}
)

# coverage reporting
set(COVERAGE_TARGETS
  ${COVERAGE_TARGETS}
  gmenuharness-shared
  PARENT_SCOPE
)