Skip to content

Commit df0d5c6

Browse files
committed
Expose device util lib.
1 parent d7b4838 commit df0d5c6

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

windows/devices/util/CMakeLists.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,18 @@ target_link_libraries(windevutil
2626
WIL::WIL
2727
)
2828

29+
list(APPEND WINDEVUTIL_PUBLIC_HEADERS
30+
${WINDEVUTIL_DIR_PUBLIC_INCLUDE_PREFIX}/DeviceEnumerator.hxx
31+
${WINDEVUTIL_DIR_PUBLIC_INCLUDE_PREFIX}/DevicePresenceMonitor.hxx
32+
${WINDEVUTIL_DIR_PUBLIC_INCLUDE_PREFIX}/DeviceResource.hxx
33+
)
34+
2935
set_target_properties(windevutil PROPERTIES FOLDER windows/devices)
36+
set_target_properties(windevutil PROPERTIES PUBLIC_HEADER "${WINDEVUTIL_PUBLIC_HEADERS}")
37+
38+
install(
39+
TARGETS windevutil
40+
EXPORT windevutil
41+
ARCHIVE
42+
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/windows/devices
43+
)

0 commit comments

Comments
 (0)