File tree 5 files changed +58
-0
lines changed
5 files changed +58
-0
lines changed Original file line number Diff line number Diff line change
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO Fidelxyz/DXCam-CPP
4
+ HEAD_REF main
5
+ REF "v${VERSION} "
6
+ SHA512 cd8463a687030da020ffaa8c8438c90185f4bf41f14b50e72ba3aea695828dd12c52e249d290ad0f0fdc1e1109a8a800d9ddf954e38037ff9da90d9ab5fa01cc
7
+ )
8
+
9
+ vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH} " )
10
+ vcpkg_cmake_install()
11
+ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/dxcam)
12
+ vcpkg_copy_pdbs()
13
+
14
+ file (REMOVE_RECURSE "${CURRENT_PACKAGES_DIR} /debug/include" )
15
+
16
+ file (INSTALL "${CMAKE_CURRENT_LIST_DIR} /usage" DESTINATION "${CURRENT_PACKAGES_DIR} /share/${PORT} " )
17
+ vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH} /LICENSE" )
Original file line number Diff line number Diff line change
1
+ dxcam-cpp provides CMake targets:
2
+
3
+ find_package(DXCam CONFIG REQUIRED)
4
+ target_link_libraries(main PRIVATE DXCam::DXCam)
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " dxcam-cpp" ,
3
+ "version" : " 0.2.1" ,
4
+ "maintainers" :
" Fidel Yin <[email protected] >" ,
5
+ "description" : " A high performance screen capturing library for Windows rewriting DXcam in C++." ,
6
+ "homepage" : " https://github.com/Fidelxyz/DXCam-CPP" ,
7
+ "documentation" : " https://dxcam-cpp.readthedocs.io/en/latest/" ,
8
+ "license" : " MIT" ,
9
+ "supports" : " windows & !uwp" ,
10
+ "dependencies" : [
11
+ {
12
+ "name" : " opencv4" ,
13
+ "default-features" : false
14
+ },
15
+ {
16
+ "name" : " vcpkg-cmake" ,
17
+ "host" : true
18
+ },
19
+ {
20
+ "name" : " vcpkg-cmake-config" ,
21
+ "host" : true
22
+ }
23
+ ]
24
+ }
Original file line number Diff line number Diff line change 2472
2472
"baseline" : " 1.0.1" ,
2473
2473
"port-version" : 3
2474
2474
},
2475
+ "dxcam-cpp" : {
2476
+ "baseline" : " 0.2.1" ,
2477
+ "port-version" : 0
2478
+ },
2475
2479
"dxsdk-d3dx" : {
2476
2480
"baseline" : " 9.29.952.8" ,
2477
2481
"port-version" : 7
Original file line number Diff line number Diff line change
1
+ {
2
+ "versions" : [
3
+ {
4
+ "git-tree" : " 425578cede23b8c1f4773599edace2e56adb0ade" ,
5
+ "version" : " 0.2.1" ,
6
+ "port-version" : 0
7
+ }
8
+ ]
9
+ }
You can’t perform that action at this time.
0 commit comments