Skip to content

Commit

Permalink
Add Direct2Game from v2.12 sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
arves100 committed Nov 28, 2023
1 parent 3568555 commit e8b3a21
Show file tree
Hide file tree
Showing 18 changed files with 13,854 additions and 4 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -164,5 +164,6 @@ add_subdirectory(pt) # depends on ghttp
add_subdirectory(sake) # depends on common and ghttp. test relies on GP and gt2 for UDPEngine
add_subdirectory(webservices)
add_subdirectory(sc) # depends on common webservices ghttp
add_subdirectory(Direct2Game)
add_subdirectory(Voice2)
add_subdirectory(sharedDll)
21 changes: 21 additions & 0 deletions Direct2Game/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
add_library(usd2g
d2gDeserialize.c
d2gDeserialize.h
d2gDownloads.c
d2gDownloads.h
d2gMain.c
d2gMain.h
d2gServices.c
d2gServices.h
d2gUtil.c
d2gUtil.h
Direct2Game.h
)

target_link_libraries(usd2g PUBLIC ushttp uswebservice)

target_compile_definitions(usd2g PRIVATE -DGHTTP_EXTENDEDERROR)

if (UNISPY_BUILD_TESTS)
add_subdirectory(Direct2GameTest)
endif()
Loading

0 comments on commit e8b3a21

Please sign in to comment.