mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[CMAKE]
Bootcd: Add some directx dlls. svn path=/branches/cmake-bringup/; revision=49498
This commit is contained in:
parent
7c79c0ae87
commit
e37863e0ac
12 changed files with 154 additions and 17 deletions
|
@ -1,10 +1,10 @@
|
|||
|
||||
add_subdirectory(amstream)
|
||||
#add_subdirectory(bdaplgin)
|
||||
#add_subdirectory(d3d8)
|
||||
#add_subdirectory(bdaplgin) #disabled in trunk
|
||||
#add_subdirectory(d3d8) #disabled in trunk
|
||||
add_subdirectory(d3d8thk)
|
||||
#add_subdirectory(d3d9)
|
||||
#add_subdirectory(ddraw)
|
||||
#add_subdirectory(d3d9) #disabled in trunk
|
||||
#add_subdirectory(ddraw) #disabled in trunk
|
||||
add_subdirectory(devenum)
|
||||
add_subdirectory(dinput)
|
||||
add_subdirectory(dinput8)
|
||||
|
@ -17,8 +17,8 @@ add_subdirectory(dxdiagn)
|
|||
#add_subdirectory(ksproxy)# undefined reference to `operator new(unsigned int)'
|
||||
add_subdirectory(ksuser)
|
||||
add_subdirectory(msdmo)
|
||||
#add_subdirectory(msdvbnp)
|
||||
#add_subdirectory(msvidctl)
|
||||
#add_subdirectory(msdvbnp) #disabled in trunk
|
||||
#add_subdirectory(msvidctl) #disabled in trunk
|
||||
add_subdirectory(qedit)
|
||||
add_subdirectory(quartz)
|
||||
#add_subdirectory(wine)
|
||||
add_subdirectory(wine)
|
||||
|
|
|
@ -8,3 +8,5 @@ set_entrypoint(d3d8thk 0)
|
|||
add_importlibs(d3d8thk gdi32)
|
||||
|
||||
add_dependencies(d3d8thk psdk buildno_header)
|
||||
|
||||
add_cab_target(d3d8thk 1)
|
|
@ -30,3 +30,5 @@ add_importlibs(dinput8
|
|||
ntdll)
|
||||
|
||||
add_dependencies(dinput8 psdk buildno_header)
|
||||
|
||||
add_cab_target(dinput8 1)
|
|
@ -38,3 +38,5 @@ add_importlibs(dmusic
|
|||
ntdll)
|
||||
|
||||
add_dependencies(dmusic psdk buildno_header)
|
||||
|
||||
add_cab_target(dmusic 1)
|
|
@ -22,3 +22,5 @@ add_importlibs(dplay
|
|||
ntdll)
|
||||
|
||||
add_dependencies(dplay psdk buildno_header)
|
||||
|
||||
add_cab_target(dplay 1)
|
|
@ -1,3 +1,4 @@
|
|||
set_cpp()
|
||||
|
||||
spec2def(ksproxy.ax ksproxy.spec)
|
||||
|
||||
|
@ -37,8 +38,9 @@ add_importlibs(ksproxy
|
|||
advapi32
|
||||
ole32
|
||||
setupapi
|
||||
msvcrt
|
||||
ksuser
|
||||
msvcrt
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(ksproxy psdk buildno_header)
|
||||
|
|
|
@ -27,3 +27,5 @@ add_importlibs(msdmo
|
|||
ntdll)
|
||||
|
||||
add_dependencies(msdmo dxdsk psdk buildno_header)
|
||||
|
||||
add_cab_target(msdmo 1)
|
|
@ -20,5 +20,5 @@
|
|||
#add_subdirectory(d3dx9_40)
|
||||
#add_subdirectory(d3dx9_41)
|
||||
#add_subdirectory(d3dx9_42)
|
||||
#add_subdirectory(ddraw)
|
||||
#add_subdirectory(wined3d)
|
||||
add_subdirectory(ddraw)
|
||||
add_subdirectory(wined3d)
|
||||
|
|
|
@ -12,12 +12,12 @@ add_library(d3d8 SHARED
|
|||
d3d8_main.c
|
||||
device.c
|
||||
directx.c
|
||||
indexbuffer.c
|
||||
pixelshader.c
|
||||
#indexbuffer.c
|
||||
#pixelshader.c
|
||||
surface.c
|
||||
swapchain.c
|
||||
texture.c
|
||||
vertexbuffer.c
|
||||
#vertexbuffer.c
|
||||
vertexdeclaration.c
|
||||
vertexshader.c
|
||||
volume.c
|
||||
|
|
52
dll/directx/wine/ddraw/CMakeLists.txt
Normal file
52
dll/directx/wine/ddraw/CMakeLists.txt
Normal file
|
@ -0,0 +1,52 @@
|
|||
set_rc_compiler()
|
||||
|
||||
spec2def(ddraw.dll ddraw.spec)
|
||||
|
||||
list(APPEND SOURCE
|
||||
clipper.c
|
||||
ddraw.c
|
||||
device.c
|
||||
executebuffer.c
|
||||
light.c
|
||||
main.c
|
||||
material.c
|
||||
palette.c
|
||||
parent.c
|
||||
regsvr.c
|
||||
stubs.c
|
||||
surface.c
|
||||
utils.c
|
||||
vertexbuffer.c
|
||||
viewport.c
|
||||
version.rc
|
||||
ddraw.def)
|
||||
|
||||
add_definitions(
|
||||
-D__WINESRC__
|
||||
-DUSE_WIN32_OPENGL)
|
||||
|
||||
if(MSVC)
|
||||
add_definitions(/FIwine/typeof.h)
|
||||
endif()
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_library(ddraw SHARED ${SOURCE})
|
||||
set_module_type(ddraw win32dll)
|
||||
|
||||
target_link_libraries(ddraw
|
||||
${CMAKE_CURRENT_BINARY_DIR}/ddraw.def
|
||||
wine
|
||||
uuid
|
||||
dxguid
|
||||
${PSEH_LIB})
|
||||
|
||||
add_importlibs(ddraw
|
||||
advapi32
|
||||
gdi32
|
||||
ole32
|
||||
user32
|
||||
wined3d
|
||||
msvcrt
|
||||
kernel32
|
||||
ntdll)
|
||||
|
73
dll/directx/wine/wined3d/CMakeLists.txt
Normal file
73
dll/directx/wine/wined3d/CMakeLists.txt
Normal file
|
@ -0,0 +1,73 @@
|
|||
set_rc_compiler()
|
||||
|
||||
spec2def(wined3.dll wined3d.spec)
|
||||
|
||||
list(APPEND SOURCE
|
||||
ati_fragment_shader.c
|
||||
arb_program_shader.c
|
||||
basetexture.c
|
||||
buffer.c
|
||||
clipper.c
|
||||
context.c
|
||||
cubetexture.c
|
||||
device.c
|
||||
directx.c
|
||||
drawprim.c
|
||||
gl_compat.c
|
||||
glsl_shader.c
|
||||
nvidia_texture_shader.c
|
||||
palette.c
|
||||
query.c
|
||||
resource.c
|
||||
shader.c
|
||||
shader_sm1.c
|
||||
shader_sm4.c
|
||||
state.c
|
||||
stateblock.c
|
||||
surface_base.c
|
||||
surface.c
|
||||
surface_gdi.c
|
||||
swapchain.c
|
||||
swapchain_base.c
|
||||
swapchain_gdi.c
|
||||
texture.c
|
||||
utils.c
|
||||
vertexdeclaration.c
|
||||
view.c
|
||||
volume.c
|
||||
volumetexture.c
|
||||
wined3d_main.c
|
||||
version.rc
|
||||
wined3d.def)
|
||||
|
||||
if(ARCH MATCHES amd64)
|
||||
list(APPEND SOURCE
|
||||
powf.c
|
||||
sqrtf.c)
|
||||
endif()
|
||||
|
||||
add_definitions(
|
||||
-D__WINESRC__
|
||||
-DUSE_WIN32_OPENGL)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_library(wined3d SHARED ${SOURCE})
|
||||
set_module_type(wined3d win32dll)
|
||||
|
||||
target_link_libraries(wined3d
|
||||
${CMAKE_CURRENT_BINARY_DIR}/wined3d.def
|
||||
wine
|
||||
uuid)
|
||||
|
||||
add_importlibs(wined3d
|
||||
user32
|
||||
opengl32
|
||||
gdi32
|
||||
advapi32
|
||||
msvcrt
|
||||
kernel32
|
||||
ntdll)
|
||||
add_importlib_target(${CMAKE_CURRENT_BINARY_DIR}/wined3d.def)
|
||||
|
||||
add_cab_target(wined3d 1)
|
|
@ -12,7 +12,7 @@ add_subdirectory(avifil32)
|
|||
add_subdirectory(batt)
|
||||
add_subdirectory(bcrypt)
|
||||
add_subdirectory(beepmidi)
|
||||
#add_subdirectory(browseui)#FIXME: shellbrowser.cpp:152: error: expected constructor, destructor, or type conversion before 'SHAlloc'
|
||||
#add_subdirectory(browseui) #FIXME: shellbrowser.cpp:152: error: expected constructor, destructor, or type conversion before 'SHAlloc'
|
||||
add_subdirectory(cabinet)
|
||||
add_subdirectory(cards)
|
||||
add_subdirectory(cfgmgr32)
|
||||
|
@ -56,7 +56,7 @@ add_subdirectory(inetmib1)
|
|||
add_subdirectory(initpki)
|
||||
add_subdirectory(inseng)
|
||||
add_subdirectory(iphlpapi)
|
||||
#add_subdirectory(iprtprio)
|
||||
#add_subdirectory(iprtprio) # not built in trunk
|
||||
add_subdirectory(itircl)
|
||||
add_subdirectory(itss)
|
||||
add_subdirectory(jscript)
|
||||
|
@ -199,13 +199,13 @@ add_subdirectory(vdmdbg)
|
|||
add_subdirectory(version)
|
||||
add_subdirectory(wdmaud.drv)
|
||||
add_subdirectory(windowscodecs)
|
||||
#add_subdirectory(winemp3.acm)#FIXME: ertr000001.o:(.rdata+0x0): undefined reference to `_pei386_runtime_relocator)'
|
||||
#add_subdirectory(winemp3.acm) #FIXME: ertr000001.o:(.rdata+0x0): undefined reference to `_pei386_runtime_relocator)'
|
||||
add_subdirectory(winfax)
|
||||
add_subdirectory(wing32)
|
||||
add_subdirectory(winhttp)
|
||||
add_subdirectory(wininet)
|
||||
add_subdirectory(winmm)
|
||||
#add_subdirectory(winscard)
|
||||
#add_subdirectory(winscard) # not built in trunk
|
||||
add_subdirectory(winspool)
|
||||
add_subdirectory(winsta)
|
||||
add_subdirectory(wintrust)
|
||||
|
|
Loading…
Reference in a new issue