ported to DX9

This commit is contained in:
d1str4ught
2025-08-19 03:18:56 +02:00
parent 97a82baa4a
commit e87b6fc67b
130 changed files with 19303 additions and 10435 deletions

View File

@@ -1,11 +1,3 @@
add_library(DirectX STATIC IMPORTED GLOBAL)
set_target_properties(DirectX PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_SOURCE_DIR}/extern/include"
)
set_target_properties(DirectX PROPERTIES
IMPORTED_LOCATION_DEBUG "${CMAKE_CURRENT_LIST_DIR}/d3d8_debug.lib"
IMPORTED_LOCATION_RELEASE "${CMAKE_CURRENT_LIST_DIR}/d3d8.lib"
IMPORTED_LOCATION_RELWITHDEBINFO "${CMAKE_CURRENT_LIST_DIR}/d3d8.lib"
)
add_library(DirectX INTERFACE)
target_include_directories(DirectX INTERFACE "${CMAKE_SOURCE_DIR}/extern/include")
target_link_libraries(DirectX INTERFACE "${CMAKE_CURRENT_LIST_DIR}/d3d9.lib" "${CMAKE_CURRENT_LIST_DIR}/d3dx9.lib" "${CMAKE_CURRENT_LIST_DIR}/dinput8.lib" "${CMAKE_CURRENT_LIST_DIR}/dxguid.lib")

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:26132869fed2b5de881be1857622d9a3bc757b22afa27b86796bc13689ed0c9b
size 11843118

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fe7ebb4a07f74b4ac5dfc3444a95f172ccde2caa93a2299138c3d76e8cd2d698
size 6864590

3
extern/library/DirectX/d3d9.lib vendored Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e0a752764fc9341ac89bd88bedee462beb7975b4ebcda8357aa730c8176ba19c
size 5092

3
extern/library/DirectX/d3dx9.lib vendored Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3ffdfb74ad1aa478bfdec55a18050c24b05867349bd2b427958f09b41acf6545
size 81324

3
extern/library/DirectX/dinput8.lib vendored Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e440feea37db56603c0c520f6ddd66086f29f24f5e1a3b80709d8a4976153206
size 286176

3
extern/library/DirectX/dxguid.lib vendored Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:96677c579cfb86ec5b2fc2cf962f5de6112357961bc5ec330b4e223c0b4adca8
size 977342

View File

@@ -1,11 +1,3 @@
add_library(Python STATIC IMPORTED GLOBAL)
set(LIB_FILES
"${CMAKE_CURRENT_LIST_DIR}/python27_static.lib"
)
set_target_properties(Python PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_SOURCE_DIR}/extern/include"
INTERFACE_LINK_LIBRARIES "${LIB_FILES}"
INTERFACE_COMPILE_DEFINITIONS "Py_NO_ENABLE_SHARED=1"
)
add_library(Python INTERFACE)
target_include_directories(Python INTERFACE "${CMAKE_SOURCE_DIR}/extern/include")
target_link_libraries(Python INTERFACE "${CMAKE_CURRENT_LIST_DIR}/python27_static.lib")