mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:23:01 +00:00
[CMAKE]
- More work on the dlls. By Alexey Komarov. svn path=/branches/cmake-bringup/; revision=49105
This commit is contained in:
parent
b7cf54f91f
commit
b02b04fc53
42 changed files with 1220 additions and 18 deletions
|
@ -1,4 +1,6 @@
|
|||
|
||||
add_subdirectory(directx)
|
||||
add_subdirectory(nls)
|
||||
add_subdirectory(ntdll)
|
||||
add_subdirectory(shellext)
|
||||
add_subdirectory(win32)
|
||||
|
|
|
@ -1,2 +1,24 @@
|
|||
|
||||
add_subdirectory(amstream)
|
||||
#add_subdirectory(bdaplgin)
|
||||
#add_subdirectory(d3d8)
|
||||
add_subdirectory(d3d8thk)
|
||||
#add_subdirectory(d3d9)
|
||||
#add_subdirectory(ddraw)
|
||||
add_subdirectory(devenum)
|
||||
add_subdirectory(dinput)
|
||||
add_subdirectory(dinput8)
|
||||
add_subdirectory(dmusic)
|
||||
add_subdirectory(dplay)
|
||||
#add_subdirectory(dplayx)
|
||||
add_subdirectory(dsound)
|
||||
#add_subdirectory(dsound_new)
|
||||
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(qedit)
|
||||
#add_subdirectory(quartz) #idl
|
||||
#add_subdirectory(wine)
|
||||
|
|
32
dll/directx/amstream/CMakeLists.txt
Normal file
32
dll/directx/amstream/CMakeLists.txt
Normal file
|
@ -0,0 +1,32 @@
|
|||
|
||||
add_definitions(-D__WINESRC__)
|
||||
remove_definitions(-D_WIN32_WINNT=0x502)
|
||||
add_definitions(-D_WIN32_WINNT=0x600)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(amstream ${CMAKE_CURRENT_SOURCE_DIR}/amstream.spec ${CMAKE_CURRENT_BINARY_DIR}/amstream.def)
|
||||
|
||||
add_library(amstream SHARED
|
||||
amstream.c
|
||||
main.c
|
||||
mediastream.c
|
||||
mediastreamfilter.c
|
||||
regsvr.c
|
||||
amstream_i.c
|
||||
version.rc)
|
||||
|
||||
set_module_type(amstream win32dll)
|
||||
|
||||
target_link_libraries(amstream
|
||||
${CMAKE_CURRENT_BINARY_DIR}/amstream.def
|
||||
strmiids
|
||||
uuid
|
||||
wine)
|
||||
|
||||
add_importlibs(amstream
|
||||
ole32
|
||||
advapi32
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(amstream amstream_def)
|
12
dll/directx/d3d8thk/CMakeLists.txt
Normal file
12
dll/directx/d3d8thk/CMakeLists.txt
Normal file
|
@ -0,0 +1,12 @@
|
|||
|
||||
spec2def(d3d8thk ${CMAKE_CURRENT_SOURCE_DIR}/d3d8thk.spec ${CMAKE_CURRENT_BINARY_DIR}/d3d8thk.def)
|
||||
|
||||
add_library(d3d8thk SHARED d3d8thk.rc)
|
||||
|
||||
set_entrypoint(d3d8thk 0)
|
||||
|
||||
target_link_libraries(d3d8thk ${CMAKE_CURRENT_BINARY_DIR}/d3d8thk.def)
|
||||
|
||||
add_importlibs(d3d8thk gdi32)
|
||||
|
||||
add_dependencies(d3d8thk d3d8thk_def psdk buildno_header)
|
36
dll/directx/devenum/CMakeLists.txt
Normal file
36
dll/directx/devenum/CMakeLists.txt
Normal file
|
@ -0,0 +1,36 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
remove_definitions(-D_WIN32_WINNT=0x502)
|
||||
add_definitions(-D_WIN32_WINNT=0x600)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(devenum ${CMAKE_CURRENT_SOURCE_DIR}/devenum.spec ${CMAKE_CURRENT_BINARY_DIR}/devenum.def)
|
||||
|
||||
add_library(devenum SHARED
|
||||
createdevenum.c
|
||||
devenum_main.c
|
||||
factory.c
|
||||
mediacatenum.c
|
||||
parsedisplayname.c
|
||||
devenum.rc)
|
||||
|
||||
set_module_type(devenum win32dll)
|
||||
|
||||
target_link_libraries(devenum
|
||||
${CMAKE_CURRENT_BINARY_DIR}/devenum.def
|
||||
strmiids
|
||||
uuid
|
||||
wine)
|
||||
|
||||
add_importlibs(devenum
|
||||
advapi32
|
||||
ole32
|
||||
oleaut32
|
||||
winmm
|
||||
user32
|
||||
avicap32
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(devenum devenum_def)
|
38
dll/directx/dinput/CMakeLists.txt
Normal file
38
dll/directx/dinput/CMakeLists.txt
Normal file
|
@ -0,0 +1,38 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
remove_definitions(-D_WIN32_WINNT=0x502)
|
||||
add_definitions(-D_WIN32_WINNT=0x600)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(dinput ${CMAKE_CURRENT_SOURCE_DIR}/dinput.spec ${CMAKE_CURRENT_BINARY_DIR}/dinput.def)
|
||||
|
||||
add_library(dinput SHARED
|
||||
data_formats.c
|
||||
device.c
|
||||
dinput_main.c
|
||||
effect_linuxinput.c
|
||||
joystick_linux.c
|
||||
joystick_linuxinput.c
|
||||
keyboard.c
|
||||
mouse.c
|
||||
regsvr.c
|
||||
version.rc)
|
||||
|
||||
set_module_type(dinput win32dll)
|
||||
|
||||
target_link_libraries(dinput
|
||||
${CMAKE_CURRENT_BINARY_DIR}/dinput.def
|
||||
dxguid
|
||||
uuid
|
||||
wine)
|
||||
|
||||
add_importlibs(dinput
|
||||
user32
|
||||
advapi32
|
||||
ole32
|
||||
winmm
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(dinput dinput_def)
|
32
dll/directx/dinput8/CMakeLists.txt
Normal file
32
dll/directx/dinput8/CMakeLists.txt
Normal file
|
@ -0,0 +1,32 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
remove_definitions(-D_WIN32_WINNT=0x502)
|
||||
add_definitions(-D_WIN32_WINNT=0x600)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(dinput8 ${CMAKE_CURRENT_SOURCE_DIR}/dinput8.spec ${CMAKE_CURRENT_BINARY_DIR}/dinput8.def)
|
||||
|
||||
add_library(dinput8 SHARED
|
||||
dinput8_main.c
|
||||
regsvr.c
|
||||
version.rc)
|
||||
|
||||
set_entrypoint(dinput8 0)
|
||||
|
||||
target_link_libraries(dinput8
|
||||
${CMAKE_CURRENT_BINARY_DIR}/dinput8.def
|
||||
dxguid
|
||||
uuid
|
||||
wine)
|
||||
|
||||
add_importlibs(dinput8
|
||||
user32
|
||||
advapi32
|
||||
ole32
|
||||
winmm
|
||||
dinput
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(dinput8 dinput8_def psdk buildno_header)
|
40
dll/directx/dmusic/CMakeLists.txt
Normal file
40
dll/directx/dmusic/CMakeLists.txt
Normal file
|
@ -0,0 +1,40 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
remove_definitions(-D_WIN32_WINNT=0x502)
|
||||
add_definitions(-D_WIN32_WINNT=0x600)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(dmusic ${CMAKE_CURRENT_SOURCE_DIR}/dmusic.spec ${CMAKE_CURRENT_BINARY_DIR}/dmusic.def)
|
||||
|
||||
add_library(dmusic SHARED
|
||||
buffer.c
|
||||
clock.c
|
||||
collection.c
|
||||
dmusic.c
|
||||
dmusic_main.c
|
||||
download.c
|
||||
downloadedinstrument.c
|
||||
instrument.c
|
||||
port.c
|
||||
regsvr.c
|
||||
version.rc)
|
||||
|
||||
set_entrypoint(dmusic 0)
|
||||
|
||||
target_link_libraries(dmusic
|
||||
${CMAKE_CURRENT_BINARY_DIR}/dmusic.def
|
||||
dxguid
|
||||
uuid
|
||||
wine)
|
||||
|
||||
add_importlibs(dmusic
|
||||
user32
|
||||
advapi32
|
||||
ole32
|
||||
dsound
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(dmusic dmusic_def psdk buildno_header)
|
25
dll/directx/dplay/CMakeLists.txt
Normal file
25
dll/directx/dplay/CMakeLists.txt
Normal file
|
@ -0,0 +1,25 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(dplay ${CMAKE_CURRENT_SOURCE_DIR}/dplay.spec ${CMAKE_CURRENT_BINARY_DIR}/dplay.def)
|
||||
|
||||
add_library(dplay SHARED dplay_main.c version.rc)
|
||||
|
||||
set_entrypoint(dplay 0)
|
||||
|
||||
target_link_libraries(dplay
|
||||
${CMAKE_CURRENT_BINARY_DIR}/dplay.def
|
||||
uuid
|
||||
wine)
|
||||
|
||||
add_importlibs(dplay
|
||||
user32
|
||||
advapi32
|
||||
ole32
|
||||
winmm
|
||||
dinput
|
||||
ntdll)
|
||||
|
||||
add_dependencies(dplay dplay_def psdk buildno_header)
|
39
dll/directx/dsound/CMakeLists.txt
Normal file
39
dll/directx/dsound/CMakeLists.txt
Normal file
|
@ -0,0 +1,39 @@
|
|||
|
||||
add_definitions(-D_WINE)
|
||||
add_definitions(-D_DLL -D__USE_CRTIMP)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(dsound ${CMAKE_CURRENT_SOURCE_DIR}/dsound.spec ${CMAKE_CURRENT_BINARY_DIR}/dsound.def)
|
||||
|
||||
add_library(dsound SHARED
|
||||
buffer.c
|
||||
capture.c
|
||||
dsound.c
|
||||
dsound_convert.c
|
||||
dsound_main.c
|
||||
duplex.c
|
||||
mixer.c
|
||||
primary.c
|
||||
propset.c
|
||||
regsvr.c
|
||||
sound3d.c
|
||||
version.rc)
|
||||
|
||||
set_module_type(dsound win32dll)
|
||||
|
||||
target_link_libraries(dsound
|
||||
${CMAKE_CURRENT_BINARY_DIR}/dsound.def
|
||||
dxguid
|
||||
uuid
|
||||
wine)
|
||||
|
||||
add_importlibs(dsound
|
||||
msvcrt
|
||||
user32
|
||||
advapi32
|
||||
ole32
|
||||
winmm
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(dsound dsound_def)
|
29
dll/directx/dxdiagn/CMakeLists.txt
Normal file
29
dll/directx/dxdiagn/CMakeLists.txt
Normal file
|
@ -0,0 +1,29 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(dxdiagn ${CMAKE_CURRENT_SOURCE_DIR}/dxdiagn.spec ${CMAKE_CURRENT_BINARY_DIR}/dxdiagn.def)
|
||||
|
||||
add_library(dxdiagn SHARED
|
||||
container.c
|
||||
dxdiag_main.c
|
||||
provider.c
|
||||
regsvr.c)
|
||||
|
||||
set_module_type(dxdiagn win32dll)
|
||||
|
||||
target_link_libraries(dxdiagn
|
||||
${CMAKE_CURRENT_BINARY_DIR}/dxdiagn.def
|
||||
uuid
|
||||
wine)
|
||||
|
||||
add_importlibs(dxdiagn
|
||||
user32
|
||||
advapi32
|
||||
ole32
|
||||
oleaut32
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(dxdiagn dxdiagn_def)
|
43
dll/directx/ksproxy/CMakeLists.txt
Normal file
43
dll/directx/ksproxy/CMakeLists.txt
Normal file
|
@ -0,0 +1,43 @@
|
|||
|
||||
spec2def(ksproxy ${CMAKE_CURRENT_SOURCE_DIR}/ksproxy.spec ${CMAKE_CURRENT_BINARY_DIR}/ksproxy.def)
|
||||
|
||||
add_library(ksproxy SHARED
|
||||
allocator.cpp
|
||||
basicaudio.cpp
|
||||
classfactory.cpp
|
||||
clockforward.cpp
|
||||
cvpconfig.cpp
|
||||
cvpvbiconfig.cpp
|
||||
datatype.cpp
|
||||
enum_mediatypes.cpp
|
||||
enumpins.cpp
|
||||
input_pin.cpp
|
||||
interface.cpp
|
||||
ksproxy.cpp
|
||||
ksproxy.rc
|
||||
mediasample.cpp
|
||||
node.cpp
|
||||
output_pin.cpp
|
||||
proxy.cpp
|
||||
qualityforward.cpp)
|
||||
|
||||
set_entrypoint(ksproxy 0)
|
||||
set_target_properties(ksproxy PROPERTIES SUFFIX ".ax")
|
||||
if(MSVC)
|
||||
set_target_properties(ksproxy PROPERTIES COMPILE_FLAGS "/GR-")
|
||||
else()
|
||||
set_target_properties(ksproxy PROPERTIES COMPILE_FLAGS "-fno-exceptions -fno-rtti")
|
||||
endif(MSVC)
|
||||
|
||||
|
||||
target_link_libraries(ksproxy ${CMAKE_CURRENT_BINARY_DIR}/ksproxy.def strmiids)
|
||||
|
||||
add_importlibs(ksproxy
|
||||
advapi32
|
||||
ole32
|
||||
setupapi
|
||||
msvcrt
|
||||
ksuser
|
||||
ntdll)
|
||||
|
||||
add_dependencies(ksproxy ksproxy_def psdk buildno_header)
|
28
dll/directx/msdmo/CMakeLists.txt
Normal file
28
dll/directx/msdmo/CMakeLists.txt
Normal file
|
@ -0,0 +1,28 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(msdmo ${CMAKE_CURRENT_SOURCE_DIR}/msdmo.spec ${CMAKE_CURRENT_BINARY_DIR}/msdmo.def)
|
||||
|
||||
add_library(msdmo SHARED
|
||||
dmoreg.c
|
||||
dmort.c
|
||||
rsrc.rc)
|
||||
|
||||
set_entrypoint(msdmo 0)
|
||||
|
||||
target_link_libraries(msdmo
|
||||
${CMAKE_CURRENT_BINARY_DIR}/msdmo.def
|
||||
uuid
|
||||
wine)
|
||||
|
||||
add_importlibs(msdmo
|
||||
user32
|
||||
advapi32
|
||||
ole32
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(msdmo msdmo_def psdk buildno_header)
|
34
dll/directx/qedit/CMakeLists.txt
Normal file
34
dll/directx/qedit/CMakeLists.txt
Normal file
|
@ -0,0 +1,34 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
remove_definitions(-D_WIN32_WINNT=0x502)
|
||||
add_definitions(-D_WIN32_WINNT=0x600)
|
||||
add_definitions(-D_DLL -D__USE_CRTIMP)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(qedit ${CMAKE_CURRENT_SOURCE_DIR}/qedit.spec ${CMAKE_CURRENT_BINARY_DIR}/qedit.def)
|
||||
|
||||
add_library(qedit SHARED
|
||||
main.c
|
||||
mediadet.c
|
||||
regsvr.c
|
||||
samplegrabber.c)
|
||||
|
||||
set_module_type(qedit win32dll)
|
||||
|
||||
target_link_libraries(qedit
|
||||
${CMAKE_CURRENT_BINARY_DIR}/qedit.def
|
||||
strmiids
|
||||
uuid
|
||||
wine)
|
||||
|
||||
add_importlibs(qedit
|
||||
msvcrt
|
||||
advapi32
|
||||
ole32
|
||||
oleaut32
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(qedit qedit_def)
|
3
dll/nls/CMakeLists.txt
Normal file
3
dll/nls/CMakeLists.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
|
||||
#add_subdirectory(idndl)#FIXME: idndl.cpp:20: error: 'GetLocaleInfoEx' was not declared in this scope
|
||||
add_subdirectory(normaliz)
|
19
dll/nls/idndl/CMakeLists.txt
Normal file
19
dll/nls/idndl/CMakeLists.txt
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
remove_definitions(-D_WIN32_WINNT=0x502)
|
||||
add_definitions(-D_WIN32_WINNT=0x600)
|
||||
|
||||
spec2def(idndl ${CMAKE_CURRENT_SOURCE_DIR}/idndl.spec ${CMAKE_CURRENT_BINARY_DIR}/idndl.def)
|
||||
|
||||
add_library(idndl SHARED idndl.cpp)
|
||||
|
||||
set_entrypoint(idndl 0)
|
||||
|
||||
target_link_libraries(idndl ${CMAKE_CURRENT_BINARY_DIR}/idndl.def)
|
||||
|
||||
if(NOT MSVC)
|
||||
set_target_properties(idndl PROPERTIES COMPILE_FLAGS "-fno-exceptions -fno-rtti")
|
||||
endif(NOT MSVC)
|
||||
|
||||
add_importlibs(idndl kernel32)
|
||||
|
||||
add_dependencies(idndl idndl_def psdk buildno_header)
|
8
dll/nls/normaliz/CMakeLists.txt
Normal file
8
dll/nls/normaliz/CMakeLists.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
add_library(normaliz SHARED dummy.c)
|
||||
|
||||
set_entrypoint(normaliz 0)
|
||||
|
||||
target_link_libraries(normaliz ${CMAKE_CURRENT_SOURCE_DIR}/normaliz.def)
|
||||
|
||||
add_dependencies(normaliz psdk buildno_header)
|
6
dll/shellext/CMakeLists.txt
Normal file
6
dll/shellext/CMakeLists.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
add_subdirectory(deskadp)
|
||||
add_subdirectory(deskmon)
|
||||
add_subdirectory(devcpux)
|
||||
add_subdirectory(fontext)
|
||||
add_subdirectory(slayer)
|
26
dll/shellext/deskadp/CMakeLists.txt
Normal file
26
dll/shellext/deskadp/CMakeLists.txt
Normal file
|
@ -0,0 +1,26 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
spec2def(deskadp ${CMAKE_CURRENT_SOURCE_DIR}/deskadp.spec ${CMAKE_CURRENT_BINARY_DIR}/deskadp.def)
|
||||
|
||||
list(APPEND SOURCE
|
||||
deskadp.c
|
||||
shxiface.c
|
||||
deskadp.rc)
|
||||
|
||||
add_library(deskadp SHARED ${CMAKE_CURRENT_BINARY_DIR}/deskadp_precomp.h.gch ${SOURCE})
|
||||
|
||||
set_module_type(deskadp win32dll)
|
||||
|
||||
target_link_libraries(deskadp ${CMAKE_CURRENT_BINARY_DIR}/deskadp.def uuid)
|
||||
|
||||
add_importlibs(deskadp
|
||||
user32
|
||||
gdi32
|
||||
comctl32
|
||||
ole32
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_pch(deskadp ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
||||
add_dependencies(deskadp deskadp_def)
|
26
dll/shellext/deskmon/CMakeLists.txt
Normal file
26
dll/shellext/deskmon/CMakeLists.txt
Normal file
|
@ -0,0 +1,26 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
spec2def(deskmon ${CMAKE_CURRENT_SOURCE_DIR}/deskmon.spec ${CMAKE_CURRENT_BINARY_DIR}/deskmon.def)
|
||||
|
||||
list(APPEND SOURCE
|
||||
deskmon.c
|
||||
shxiface.c
|
||||
deskmon.rc)
|
||||
|
||||
add_library(deskmon SHARED ${CMAKE_CURRENT_BINARY_DIR}/deskmon_precomp.h.gch ${SOURCE})
|
||||
|
||||
set_module_type(deskmon win32dll)
|
||||
|
||||
target_link_libraries(deskmon ${CMAKE_CURRENT_BINARY_DIR}/deskmon.def uuid)
|
||||
|
||||
add_importlibs(deskmon
|
||||
user32
|
||||
gdi32
|
||||
comctl32
|
||||
ole32
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_pch(deskmon ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
||||
add_dependencies(deskmon deskmon_def)
|
19
dll/shellext/devcpux/CMakeLists.txt
Normal file
19
dll/shellext/devcpux/CMakeLists.txt
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
spec2def(devcpux ${CMAKE_CURRENT_SOURCE_DIR}/devcpux.spec ${CMAKE_CURRENT_BINARY_DIR}/devcpux.def)
|
||||
|
||||
add_library(devcpux SHARED processor.c processor.rc)
|
||||
|
||||
set_module_type(devcpux win32dll)
|
||||
|
||||
target_link_libraries(devcpux ${CMAKE_CURRENT_BINARY_DIR}/devcpux.def)
|
||||
|
||||
add_importlibs(devcpux
|
||||
user32
|
||||
powrprof
|
||||
comctl32
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(devcpux devcpux_def)
|
26
dll/shellext/fontext/CMakeLists.txt
Normal file
26
dll/shellext/fontext/CMakeLists.txt
Normal file
|
@ -0,0 +1,26 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
spec2def(fontext ${CMAKE_CURRENT_SOURCE_DIR}/fontext.spec ${CMAKE_CURRENT_BINARY_DIR}/fontext.def)
|
||||
|
||||
add_library(fontext SHARED
|
||||
fontext.c
|
||||
regsvr.c
|
||||
fontext.rc)
|
||||
|
||||
set_module_type(fontext win32dll)
|
||||
|
||||
target_link_libraries(fontext ${CMAKE_CURRENT_BINARY_DIR}/fontext.def uuid)
|
||||
|
||||
add_importlibs(fontext
|
||||
user32
|
||||
gdi32
|
||||
ole32
|
||||
shlwapi
|
||||
lz32
|
||||
advapi32
|
||||
setupapi
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(fontext fontext_def)
|
24
dll/shellext/slayer/CMakeLists.txt
Normal file
24
dll/shellext/slayer/CMakeLists.txt
Normal file
|
@ -0,0 +1,24 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
spec2def(slayer ${CMAKE_CURRENT_SOURCE_DIR}/slayer.spec ${CMAKE_CURRENT_BINARY_DIR}/slayer.def)
|
||||
|
||||
list(APPEND SOURCE slayer.c slayer.rc)
|
||||
|
||||
add_library(slayer SHARED ${CMAKE_CURRENT_BINARY_DIR}/slayer_precomp.h.gch ${SOURCE})
|
||||
|
||||
set_module_type(slayer win32dll)
|
||||
|
||||
target_link_libraries(slayer ${CMAKE_CURRENT_BINARY_DIR}/slayer.def uuid)
|
||||
|
||||
add_importlibs(slayer
|
||||
user32
|
||||
comctl32
|
||||
advapi32
|
||||
ole32
|
||||
shell32
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_pch(slayer ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
||||
add_dependencies(slayer slayer_def)
|
|
@ -8,29 +8,29 @@ add_subdirectory(advpack)
|
|||
#add_subdirectory(atl)
|
||||
add_subdirectory(authz)
|
||||
add_subdirectory(avicap32)
|
||||
#add_subdirectory(avifil32)
|
||||
add_subdirectory(avifil32)
|
||||
add_subdirectory(batt)
|
||||
#add_subdirectory(bcrypt)
|
||||
add_subdirectory(bcrypt)
|
||||
add_subdirectory(beepmidi)
|
||||
#add_subdirectory(browseui)
|
||||
#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)
|
||||
add_subdirectory(clusapi)
|
||||
#add_subdirectory(comcat)
|
||||
#add_subdirectory(comctl32)
|
||||
#add_subdirectory(comdlg32)
|
||||
add_subdirectory(comcat)
|
||||
#add_subdirectory(comctl32)#FIXME: comctl32\dpa.c:531: error: conflicting types for 'DPA_GetPtr'
|
||||
#add_subdirectory(comdlg32)#FIXME: comdlg32\\/cdlg_Es.rc:396: unrecognized escape sequence
|
||||
add_subdirectory(compstui)
|
||||
add_subdirectory(credui)
|
||||
#add_subdirectory(credui)#FIXME: \\cryptui\\/cryptui_Fr.rc:432: syntax error
|
||||
add_subdirectory(crtdll)
|
||||
add_subdirectory(crypt32)
|
||||
#add_subdirectory(cryptdlg)
|
||||
add_subdirectory(cryptdlg)
|
||||
add_subdirectory(cryptdll)
|
||||
#add_subdirectory(cryptnet)
|
||||
#add_subdirectory(cryptui)
|
||||
add_subdirectory(cryptnet)
|
||||
add_subdirectory(cryptui)
|
||||
add_subdirectory(dbghelp)
|
||||
add_subdirectory(dciman32)
|
||||
#add_subdirectory(devmgr)
|
||||
add_subdirectory(devmgr)
|
||||
add_subdirectory(dhcpcsvc)
|
||||
add_subdirectory(dnsapi)
|
||||
add_subdirectory(dwmapi)
|
||||
|
@ -38,21 +38,21 @@ add_subdirectory(faultrep)
|
|||
add_subdirectory(fmifs)
|
||||
add_subdirectory(fusion)
|
||||
add_subdirectory(gdi32)
|
||||
#add_subdirectory(gdiplus)
|
||||
add_subdirectory(gdiplus)
|
||||
add_subdirectory(getuname)
|
||||
#add_subdirectory(glu32)
|
||||
#add_subdirectory(glu32)# FIXME
|
||||
#add_subdirectory(hhctrl.ocx)
|
||||
add_subdirectory(hid)
|
||||
#add_subdirectory(hlink)
|
||||
#add_subdirectory(hnetcfg)
|
||||
add_subdirectory(hlink)
|
||||
add_subdirectory(hnetcfg)
|
||||
add_subdirectory(httpapi)
|
||||
add_subdirectory(iccvid)
|
||||
add_subdirectory(icmp)
|
||||
add_subdirectory(imaadp32.acm)
|
||||
add_subdirectory(imagehlp)
|
||||
add_subdirectory(imm32)
|
||||
#add_subdirectory(inetcomm)
|
||||
#add_subdirectory(inetmib1)
|
||||
add_subdirectory(inetcomm)
|
||||
add_subdirectory(inetmib1)
|
||||
add_subdirectory(initpki)
|
||||
add_subdirectory(inseng)
|
||||
add_subdirectory(iphlpapi)
|
||||
|
@ -199,7 +199,7 @@ add_subdirectory(vdmdbg)
|
|||
add_subdirectory(version)
|
||||
add_subdirectory(wdmaud.drv)
|
||||
add_subdirectory(windowscodecs)
|
||||
#add_subdirectory(winemp3.acm)
|
||||
#add_subdirectory(winemp3.acm)# FIXME
|
||||
add_subdirectory(winfax)
|
||||
add_subdirectory(wing32)
|
||||
add_subdirectory(winhttp)
|
||||
|
|
42
dll/win32/avifil32/CMakeLists.txt
Normal file
42
dll/win32/avifil32/CMakeLists.txt
Normal file
|
@ -0,0 +1,42 @@
|
|||
|
||||
add_definitions(-D__WINESRC__)
|
||||
remove_definitions(-D_WIN32_WINNT=0x502)
|
||||
add_definitions(-D_WIN32_WINNT=0x600)
|
||||
add_definitions(-D_DLL -D__USE_CRTIMP)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(avifil32 ${CMAKE_CURRENT_SOURCE_DIR}/avifil32.spec ${CMAKE_CURRENT_BINARY_DIR}/avifil32.def)
|
||||
|
||||
add_library(avifil32 SHARED
|
||||
acmstream.c
|
||||
api.c
|
||||
avifile.c
|
||||
editstream.c
|
||||
extrachunk.c
|
||||
factory.c
|
||||
getframe.c
|
||||
icmstream.c
|
||||
regsvr.c
|
||||
tmpfile.c
|
||||
wavfile.c
|
||||
rsrc.rc)
|
||||
|
||||
set_module_type(avifil32 win32dll)
|
||||
|
||||
target_link_libraries(avifil32
|
||||
${CMAKE_CURRENT_BINARY_DIR}/avifil32.def
|
||||
uuid
|
||||
wine)
|
||||
|
||||
add_importlibs(avifil32
|
||||
msvcrt
|
||||
msacm32
|
||||
msvfw32
|
||||
winmm
|
||||
ole32
|
||||
user32
|
||||
advapi32
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(avifil32 avifil32_def)
|
19
dll/win32/bcrypt/CMakeLists.txt
Normal file
19
dll/win32/bcrypt/CMakeLists.txt
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
add_definitions(-D__WINESRC__)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(bcrypt ${CMAKE_CURRENT_SOURCE_DIR}/bcrypt.spec ${CMAKE_CURRENT_BINARY_DIR}/bcrypt.def)
|
||||
|
||||
add_library(bcrypt SHARED
|
||||
bcrypt_main.c
|
||||
version.rc)
|
||||
|
||||
set_module_type(bcrypt win32dll)
|
||||
|
||||
target_link_libraries(bcrypt
|
||||
${CMAKE_CURRENT_BINARY_DIR}/bcrypt.def
|
||||
wine)
|
||||
|
||||
add_importlibs(bcrypt kernel32 ntdll)
|
||||
|
||||
add_dependencies(bcrypt bcrypt_def)
|
54
dll/win32/browseui/CMakeLists.txt
Normal file
54
dll/win32/browseui/CMakeLists.txt
Normal file
|
@ -0,0 +1,54 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
remove_definitions(-D_WIN32_WINNT=0x502)
|
||||
add_definitions(-D_WIN32_WINNT=0x600)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/lib/atl)
|
||||
|
||||
spec2def(browseui ${CMAKE_CURRENT_SOURCE_DIR}/browseui.spec ${CMAKE_CURRENT_BINARY_DIR}/browseui.def)
|
||||
|
||||
add_library(browseui SHARED
|
||||
aclmulti.cpp
|
||||
addressband.cpp
|
||||
addresseditbox.cpp
|
||||
bandproxy.cpp
|
||||
bandsite.cpp
|
||||
bandsitemenu.cpp
|
||||
basebar.cpp
|
||||
basebarsite.cpp
|
||||
brandband.cpp
|
||||
browseui.cpp
|
||||
browseuiord.cpp
|
||||
commonbrowser.cpp
|
||||
globalfoldersettings.cpp
|
||||
internettoolbar.cpp
|
||||
regtreeoptions.cpp
|
||||
shellbrowser.cpp
|
||||
toolsband.cpp
|
||||
travellog.cpp
|
||||
utility.cpp
|
||||
browseui.rc)
|
||||
|
||||
set_module_type(browseui win32dll)
|
||||
|
||||
target_link_libraries(browseui
|
||||
${CMAKE_CURRENT_BINARY_DIR}/browseui.def
|
||||
atlnew
|
||||
uuid
|
||||
wine)
|
||||
|
||||
add_importlibs(browseui
|
||||
msvcrt
|
||||
shlwapi
|
||||
shell32
|
||||
comctl32
|
||||
gdi32
|
||||
ole32
|
||||
oleaut32
|
||||
user32
|
||||
advapi32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(browseui browseui_def)
|
24
dll/win32/comcat/CMakeLists.txt
Normal file
24
dll/win32/comcat/CMakeLists.txt
Normal file
|
@ -0,0 +1,24 @@
|
|||
|
||||
add_definitions(-D__WINESRC__)
|
||||
remove_definitions(-D_WIN32_WINNT=0x502)
|
||||
add_definitions(-D_WIN32_WINNT=0x600)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(comcat ${CMAKE_CURRENT_SOURCE_DIR}/comcat.spec ${CMAKE_CURRENT_BINARY_DIR}/comcat.def)
|
||||
|
||||
add_library(comcat SHARED comcat_main.c version.rc)
|
||||
|
||||
set_entrypoint(comcat 0)
|
||||
|
||||
target_link_libraries(comcat
|
||||
${CMAKE_CURRENT_BINARY_DIR}/comcat.def
|
||||
uuid
|
||||
wine)
|
||||
|
||||
add_importlibs(comcat
|
||||
ole32
|
||||
user32
|
||||
advapi32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(comcat comcat_def psdk buildno_header)
|
68
dll/win32/comctl32/CMakeLists.txt
Normal file
68
dll/win32/comctl32/CMakeLists.txt
Normal file
|
@ -0,0 +1,68 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
add_definitions(-D_WINE)
|
||||
add_definitions(-D_COMCTL32_)
|
||||
remove_definitions(-D_WIN32_WINNT=0x502)
|
||||
add_definitions(-D_WIN32_WINNT=0x600)
|
||||
add_definitions(-D_DLL -D__USE_CRTIMP)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(comctl32 ${CMAKE_CURRENT_SOURCE_DIR}/comctl32.spec ${CMAKE_CURRENT_BINARY_DIR}/comctl32.def)
|
||||
|
||||
add_library(comctl32 SHARED
|
||||
animate.c
|
||||
comboex.c
|
||||
comctl32undoc.c
|
||||
commctrl.c
|
||||
datetime.c
|
||||
dpa.c
|
||||
draglist.c
|
||||
dsa.c
|
||||
flatsb.c
|
||||
header.c
|
||||
hotkey.c
|
||||
imagelist.c
|
||||
ipaddress.c
|
||||
listview.c
|
||||
monthcal.c
|
||||
nativefont.c
|
||||
pager.c
|
||||
progress.c
|
||||
propsheet.c
|
||||
rebar.c
|
||||
smoothscroll.c
|
||||
status.c
|
||||
string.c
|
||||
syslink.c
|
||||
tab.c
|
||||
theme_button.c
|
||||
theme_combo.c
|
||||
theme_dialog.c
|
||||
theme_edit.c
|
||||
theme_listbox.c
|
||||
theming.c
|
||||
toolbar.c
|
||||
tooltips.c
|
||||
trackbar.c
|
||||
treeview.c
|
||||
updown.c
|
||||
rsrc.rc)
|
||||
|
||||
set_module_type(comctl32 win32dll)
|
||||
|
||||
target_link_libraries(comctl32
|
||||
${CMAKE_CURRENT_BINARY_DIR}/comctl32.def
|
||||
uuid
|
||||
wine)
|
||||
|
||||
add_importlibs(comctl32
|
||||
user32
|
||||
gdi32
|
||||
advapi32
|
||||
winmm
|
||||
uxtheme
|
||||
ntdll)
|
||||
|
||||
add_dependencies(comctl32 comctl32_def)
|
38
dll/win32/comdlg32/CMakeLists.txt
Normal file
38
dll/win32/comdlg32/CMakeLists.txt
Normal file
|
@ -0,0 +1,38 @@
|
|||
|
||||
add_definitions(-D__WINESRC__)
|
||||
add_definitions(-D_WINE)
|
||||
add_definitions(-D_DLL -D__USE_CRTIMP)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(comdlg32 ${CMAKE_CURRENT_SOURCE_DIR}/comdlg32.spec ${CMAKE_CURRENT_BINARY_DIR}/comdlg32.def)
|
||||
|
||||
add_library(comdlg32 SHARED
|
||||
cdlg32.c
|
||||
colordlg.c
|
||||
filedlg.c
|
||||
filedlg31.c
|
||||
filedlgbrowser.c
|
||||
finddlg.c
|
||||
fontdlg.c
|
||||
printdlg.c
|
||||
rsrc.rc)
|
||||
|
||||
set_module_type(comdlg32 win32dll)
|
||||
|
||||
target_link_libraries(comdlg32
|
||||
${CMAKE_CURRENT_BINARY_DIR}/comdlg32.def
|
||||
uuid
|
||||
wine)
|
||||
|
||||
add_importlibs(comdlg32
|
||||
shell32
|
||||
shlwapi
|
||||
comctl32
|
||||
winspool
|
||||
user32
|
||||
gdi32
|
||||
advapi32
|
||||
ole32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(comdlg32 comdlg32_def)
|
24
dll/win32/cryptdlg/CMakeLists.txt
Normal file
24
dll/win32/cryptdlg/CMakeLists.txt
Normal file
|
@ -0,0 +1,24 @@
|
|||
|
||||
add_definitions(-D__WINESRC__)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(cryptdlg ${CMAKE_CURRENT_SOURCE_DIR}/cryptdlg.spec ${CMAKE_CURRENT_BINARY_DIR}/cryptdlg.def)
|
||||
|
||||
add_library(cryptdlg SHARED main.c cryptdlg.rc)
|
||||
|
||||
set_module_type(cryptdlg win32dll)
|
||||
|
||||
target_link_libraries(cryptdlg
|
||||
${CMAKE_CURRENT_BINARY_DIR}/cryptdlg.def
|
||||
wine)
|
||||
|
||||
add_importlibs(cryptdlg
|
||||
advapi32
|
||||
user32
|
||||
crypt32
|
||||
cryptui
|
||||
wintrust
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(cryptdlg cryptdlg_def)
|
21
dll/win32/cryptnet/CMakeLists.txt
Normal file
21
dll/win32/cryptnet/CMakeLists.txt
Normal file
|
@ -0,0 +1,21 @@
|
|||
|
||||
add_definitions(-D__WINESRC__)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(cryptnet ${CMAKE_CURRENT_SOURCE_DIR}/cryptnet.spec ${CMAKE_CURRENT_BINARY_DIR}/cryptnet.def)
|
||||
|
||||
add_library(cryptnet SHARED cryptnet_main.c)
|
||||
|
||||
set_module_type(cryptnet win32dll)
|
||||
|
||||
target_link_libraries(cryptnet
|
||||
${CMAKE_CURRENT_BINARY_DIR}/cryptnet.def
|
||||
wine)
|
||||
|
||||
add_importlibs(cryptnet
|
||||
crypt32
|
||||
wininet
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(cryptnet cryptnet_def)
|
30
dll/win32/cryptui/CMakeLists.txt
Normal file
30
dll/win32/cryptui/CMakeLists.txt
Normal file
|
@ -0,0 +1,30 @@
|
|||
|
||||
add_definitions(-D__WINESRC__)
|
||||
add_definitions(-D_WINE)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(cryptui ${CMAKE_CURRENT_SOURCE_DIR}/cryptui.spec ${CMAKE_CURRENT_BINARY_DIR}/cryptui.def)
|
||||
|
||||
add_library(cryptui SHARED main.c cryptui.rc)
|
||||
|
||||
set_module_type(cryptui win32dll)
|
||||
|
||||
target_link_libraries(cryptui
|
||||
${CMAKE_CURRENT_BINARY_DIR}/cryptui.def
|
||||
uuid
|
||||
wine)
|
||||
|
||||
add_importlibs(cryptui
|
||||
user32
|
||||
ole32
|
||||
crypt32
|
||||
gdi32
|
||||
advapi32
|
||||
urlmon
|
||||
wintrust
|
||||
comctl32
|
||||
comdlg32
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(cryptui cryptui_def)
|
32
dll/win32/devmgr/CMakeLists.txt
Normal file
32
dll/win32/devmgr/CMakeLists.txt
Normal file
|
@ -0,0 +1,32 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
spec2def(devmgr ${CMAKE_CURRENT_SOURCE_DIR}/devmgr.spec ${CMAKE_CURRENT_BINARY_DIR}/devmgr.def)
|
||||
|
||||
list(APPEND SOURCE
|
||||
devmgr.rc
|
||||
advprop.c
|
||||
devprblm.c
|
||||
hwpage.c
|
||||
misc.c
|
||||
stubs.c)
|
||||
|
||||
add_library(devmgr SHARED ${CMAKE_CURRENT_BINARY_DIR}/devmgr_precomp.h.gch ${SOURCE})
|
||||
|
||||
set_module_type(devmgr win32dll)
|
||||
|
||||
target_link_libraries(devmgr
|
||||
${CMAKE_CURRENT_BINARY_DIR}/devmgr.def
|
||||
uuid
|
||||
wine)
|
||||
|
||||
add_importlibs(devmgr
|
||||
setupapi
|
||||
advapi32
|
||||
user32
|
||||
version
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_pch(devmgr ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
||||
add_dependencies(devmgr devmgr_def)
|
45
dll/win32/gdiplus/CMakeLists.txt
Normal file
45
dll/win32/gdiplus/CMakeLists.txt
Normal file
|
@ -0,0 +1,45 @@
|
|||
|
||||
add_definitions(-D__WINESRC__)
|
||||
add_definitions(-D_DLL -D__USE_CRTIMP)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(gdiplus ${CMAKE_CURRENT_SOURCE_DIR}/gdiplus.spec ${CMAKE_CURRENT_BINARY_DIR}/gdiplus.def)
|
||||
|
||||
add_library(gdiplus SHARED
|
||||
brush.c
|
||||
customlinecap.c
|
||||
font.c
|
||||
gdiplus.c
|
||||
graphics.c
|
||||
graphicspath.c
|
||||
image.c
|
||||
imageattributes.c
|
||||
matrix.c
|
||||
pathiterator.c
|
||||
pen.c
|
||||
region.c
|
||||
stringformat.c)
|
||||
|
||||
set_module_type(gdiplus win32dll)
|
||||
|
||||
target_link_libraries(gdiplus
|
||||
${CMAKE_CURRENT_BINARY_DIR}/gdiplus.def
|
||||
uuid
|
||||
wine)
|
||||
|
||||
add_importlibs(gdiplus
|
||||
msvcrt
|
||||
shlwapi
|
||||
oleaut32
|
||||
ole32
|
||||
user32
|
||||
gdi32
|
||||
windowscodecs
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
if(ARCH MATCHES amd64)
|
||||
target_link_libraries(gdiplus crt)
|
||||
endif(ARCH MATCHES amd64)
|
||||
|
||||
add_dependencies(gdiplus gdiplus_def)
|
119
dll/win32/glu32/CMakeLists.txt
Normal file
119
dll/win32/glu32/CMakeLists.txt
Normal file
|
@ -0,0 +1,119 @@
|
|||
|
||||
add_definitions(-DRESOLVE_3D_TEXTURE_SUPPORT)
|
||||
add_definitions(-DBUILD_GL32)
|
||||
add_definitions(-DLIBRARYBUILD)
|
||||
add_definitions(-D_DLL -D__USE_CRTIMP)
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/libnurbs/internals)
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/libnurbs/interface)
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/libnurbs/nurbtess)
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/libtess)
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/libutil)
|
||||
|
||||
spec2def(glu32 ${CMAKE_CURRENT_SOURCE_DIR}/glu32.spec ${CMAKE_CURRENT_BINARY_DIR}/glu32.def)
|
||||
|
||||
list(APPEND SOURCE
|
||||
libnurbs/interface/bezierEval.cc
|
||||
libnurbs/interface/bezierPatch.cc
|
||||
libnurbs/interface/bezierPatchMesh.cc
|
||||
libnurbs/interface/glcurveval.cc
|
||||
libnurbs/interface/glinterface.cc
|
||||
libnurbs/interface/glrenderer.cc
|
||||
libnurbs/interface/glsurfeval.cc
|
||||
libnurbs/interface/incurveeval.cc
|
||||
libnurbs/interface/insurfeval.cc
|
||||
libnurbs/internals/arc.cc
|
||||
libnurbs/internals/arcsorter.cc
|
||||
libnurbs/internals/arctess.cc
|
||||
libnurbs/internals/backend.cc
|
||||
libnurbs/internals/basiccrveval.cc
|
||||
libnurbs/internals/basicsurfeval.cc
|
||||
libnurbs/internals/bin.cc
|
||||
libnurbs/internals/bufpool.cc
|
||||
libnurbs/internals/cachingeval.cc
|
||||
libnurbs/internals/ccw.cc
|
||||
libnurbs/internals/coveandtiler.cc
|
||||
libnurbs/internals/curve.cc
|
||||
libnurbs/internals/curvelist.cc
|
||||
libnurbs/internals/curvesub.cc
|
||||
libnurbs/internals/dataTransform.cc
|
||||
libnurbs/internals/displaylist.cc
|
||||
libnurbs/internals/flist.cc
|
||||
libnurbs/internals/flistsorter.cc
|
||||
libnurbs/internals/hull.cc
|
||||
libnurbs/internals/intersect.cc
|
||||
libnurbs/internals/knotvector.cc
|
||||
libnurbs/internals/mapdesc.cc
|
||||
libnurbs/internals/mapdescv.cc
|
||||
libnurbs/internals/maplist.cc
|
||||
libnurbs/internals/mesher.cc
|
||||
libnurbs/internals/monoTriangulationBackend.cc
|
||||
libnurbs/internals/monotonizer.cc
|
||||
libnurbs/internals/mycode.cc
|
||||
libnurbs/internals/nurbsinterfac.cc
|
||||
libnurbs/internals/nurbstess.cc
|
||||
libnurbs/internals/patch.cc
|
||||
libnurbs/internals/patchlist.cc
|
||||
libnurbs/internals/quilt.cc
|
||||
libnurbs/internals/reader.cc
|
||||
libnurbs/internals/renderhints.cc
|
||||
libnurbs/internals/slicer.cc
|
||||
libnurbs/internals/sorter.cc
|
||||
libnurbs/internals/splitarcs.cc
|
||||
libnurbs/internals/subdivider.cc
|
||||
libnurbs/internals/tobezier.cc
|
||||
libnurbs/internals/trimline.cc
|
||||
libnurbs/internals/trimregion.cc
|
||||
libnurbs/internals/trimvertpool.cc
|
||||
libnurbs/internals/uarray.cc
|
||||
libnurbs/internals/varray.cc
|
||||
libnurbs/nurbtess/directedLine.cc
|
||||
libnurbs/nurbtess/gridWrap.cc
|
||||
libnurbs/nurbtess/monoChain.cc
|
||||
libnurbs/nurbtess/monoPolyPart.cc
|
||||
libnurbs/nurbtess/monoTriangulation.cc
|
||||
libnurbs/nurbtess/partitionX.cc
|
||||
libnurbs/nurbtess/partitionY.cc
|
||||
libnurbs/nurbtess/polyDBG.cc
|
||||
libnurbs/nurbtess/polyUtil.cc
|
||||
libnurbs/nurbtess/primitiveStream.cc
|
||||
libnurbs/nurbtess/quicksort.cc
|
||||
libnurbs/nurbtess/rectBlock.cc
|
||||
libnurbs/nurbtess/sampleComp.cc
|
||||
libnurbs/nurbtess/sampleCompBot.cc
|
||||
libnurbs/nurbtess/sampleCompRight.cc
|
||||
libnurbs/nurbtess/sampleCompTop.cc
|
||||
libnurbs/nurbtess/sampleMonoPoly.cc
|
||||
libnurbs/nurbtess/sampledLine.cc
|
||||
libnurbs/nurbtess/searchTree.cc
|
||||
libtess/dict.c
|
||||
libtess/geom.c
|
||||
libtess/memalloc.c
|
||||
libtess/mesh.c
|
||||
libtess/normal.c
|
||||
libtess/priorityq.c
|
||||
libtess/render.c
|
||||
libtess/sweep.c
|
||||
libtess/tess.c
|
||||
libtess/tessmono.c
|
||||
libutil/error.c
|
||||
libutil/glue.c
|
||||
libutil/mipmap.c
|
||||
libutil/project.c
|
||||
libutil/quad.c
|
||||
libutil/registry.c)
|
||||
|
||||
add_library(glu32 SHARED ${SOURCE})
|
||||
|
||||
set_entrypoint(glu32 0)
|
||||
|
||||
target_link_libraries(glu32 ${CMAKE_CURRENT_BINARY_DIR}/glu32.def)
|
||||
add_importlibs(glu32
|
||||
gcc
|
||||
msvcrt
|
||||
opengl32
|
||||
gdi32
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(glu32 glu32_def psdk buildno_header)
|
28
dll/win32/hlink/CMakeLists.txt
Normal file
28
dll/win32/hlink/CMakeLists.txt
Normal file
|
@ -0,0 +1,28 @@
|
|||
|
||||
add_definitions(-D__WINESRC__)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(hlink ${CMAKE_CURRENT_SOURCE_DIR}/hlink.spec ${CMAKE_CURRENT_BINARY_DIR}/hlink.def)
|
||||
|
||||
add_library(hlink SHARED
|
||||
browse_ctx.c
|
||||
extserv.c
|
||||
hlink_main.c
|
||||
link.c)
|
||||
|
||||
set_module_type(hlink win32dll)
|
||||
|
||||
target_link_libraries(hlink
|
||||
${CMAKE_CURRENT_BINARY_DIR}/hlink.def
|
||||
uuid
|
||||
wine)
|
||||
|
||||
add_importlibs(hlink
|
||||
shell32
|
||||
ole32
|
||||
advapi32
|
||||
urlmon
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(hlink hlink_def)
|
31
dll/win32/hnetcfg/CMakeLists.txt
Normal file
31
dll/win32/hnetcfg/CMakeLists.txt
Normal file
|
@ -0,0 +1,31 @@
|
|||
|
||||
add_definitions(-D__WINESRC__)
|
||||
remove_definitions(-D_WIN32_WINNT=0x502)
|
||||
add_definitions(-D_WIN32_WINNT=0x600)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(hnetcfg ${CMAKE_CURRENT_SOURCE_DIR}/hnetcfg.spec ${CMAKE_CURRENT_BINARY_DIR}/hnetcfg.def)
|
||||
|
||||
add_library(hnetcfg SHARED
|
||||
apps.c
|
||||
hnetcfg.c
|
||||
manager.c
|
||||
policy.c
|
||||
port.c
|
||||
profile.c
|
||||
regsvr.c
|
||||
service.c)
|
||||
|
||||
set_module_type(hnetcfg win32dll)
|
||||
|
||||
target_link_libraries(hnetcfg
|
||||
${CMAKE_CURRENT_BINARY_DIR}/hnetcfg.def
|
||||
wine)
|
||||
|
||||
add_importlibs(hnetcfg
|
||||
ole32
|
||||
advapi32
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(hnetcfg hnetcfg_def)
|
35
dll/win32/inetcomm/CMakeLists.txt
Normal file
35
dll/win32/inetcomm/CMakeLists.txt
Normal file
|
@ -0,0 +1,35 @@
|
|||
|
||||
add_definitions(-D__WINESRC__)
|
||||
remove_definitions(-D_WIN32_WINNT=0x502)
|
||||
add_definitions(-D_WIN32_WINNT=0x600)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(inetcomm ${CMAKE_CURRENT_SOURCE_DIR}/inetcomm.spec ${CMAKE_CURRENT_BINARY_DIR}/inetcomm.def)
|
||||
|
||||
add_library(inetcomm SHARED
|
||||
imaptransport.c
|
||||
inetcomm_main.c
|
||||
internettransport.c
|
||||
mimeintl.c
|
||||
mimeole.c
|
||||
pop3transport.c
|
||||
regsvr.c
|
||||
smtptransport.c)
|
||||
|
||||
set_module_type(inetcomm win32dll)
|
||||
|
||||
target_link_libraries(inetcomm
|
||||
${CMAKE_CURRENT_BINARY_DIR}/inetcomm.def
|
||||
uuid
|
||||
wine)
|
||||
|
||||
add_importlibs(inetcomm
|
||||
ole32
|
||||
oleaut32
|
||||
ws2_32
|
||||
user32
|
||||
advapi32
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(inetcomm inetcomm_def)
|
23
dll/win32/inetmib1/CMakeLists.txt
Normal file
23
dll/win32/inetmib1/CMakeLists.txt
Normal file
|
@ -0,0 +1,23 @@
|
|||
|
||||
add_definitions(-D__WINESRC__)
|
||||
add_definitions(-D_DLL -D__USE_CRTIMP)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(inetmib1 ${CMAKE_CURRENT_SOURCE_DIR}/inetmib1.spec ${CMAKE_CURRENT_BINARY_DIR}/inetmib1.def)
|
||||
|
||||
add_library(inetmib1 SHARED main.c)
|
||||
|
||||
set_module_type(inetmib1 win32dll)
|
||||
|
||||
target_link_libraries(inetmib1
|
||||
${CMAKE_CURRENT_BINARY_DIR}/inetmib1.def
|
||||
wine)
|
||||
|
||||
add_importlibs(inetmib1
|
||||
msvcrt
|
||||
snmpapi
|
||||
iphlpapi
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_dependencies(inetmib1 inetmib1_def)
|
BIN
importlibs/libsnmpapi.a
Normal file
BIN
importlibs/libsnmpapi.a
Normal file
Binary file not shown.
BIN
importlibs/libwindowscodecs.a
Normal file
BIN
importlibs/libwindowscodecs.a
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue