-
-
Notifications
You must be signed in to change notification settings - Fork 551
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
32 lines (28 loc) · 1.08 KB
/
CMakeLists.txt
File metadata and controls
32 lines (28 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
project(chatterino-mocks)
add_library(chatterino-mocks INTERFACE)
target_include_directories(chatterino-mocks INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include)
if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
target_sources(chatterino-mocks INTERFACE
FILE_SET HEADERS
BASE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/include"
FILES
include/mocks/BaseApplication.hpp
include/mocks/Channel.hpp
include/mocks/ChatterinoBadges.hpp
include/mocks/DisabledStreamerMode.hpp
include/mocks/EmoteController.hpp
include/mocks/EmoteProvider.hpp
include/mocks/EmptyApplication.hpp
include/mocks/Helix.hpp
include/mocks/LinkResolver.hpp
include/mocks/Logging.hpp
include/mocks/TwitchIrcServer.hpp
include/mocks/TwitchUsers.hpp
include/mocks/UserData.hpp
)
set_target_properties(chatterino-mocks
PROPERTIES
VERIFY_INTERFACE_HEADER_SETS ON
)
endif()
target_link_libraries(${PROJECT_NAME} INTERFACE gmock chatterino-lib)