mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 02:13:29 +00:00
[CMAKE]
- Add fmifs, fusion, getuname, hid, httpapi, iccvid, icmp, imaadp32.acm, imagehlp, imm32, initpki, iphlpapi, itircl, loadperf, lpk, lz32, mapi32, mciavi32, mcicda and mciqtz32 to build. svn path=/branches/cmake-bringup/; revision=48608
This commit is contained in:
parent
0a6253a028
commit
f84ae9c1f8
|
@ -23,7 +23,27 @@ add_subdirectory(dhcpcsvc)
|
|||
add_subdirectory(dnsapi)
|
||||
add_subdirectory(dwmapi)
|
||||
add_subdirectory(faultrep)
|
||||
add_subdirectory(fmifs)
|
||||
add_subdirectory(fusion)
|
||||
add_subdirectory(gdi32)
|
||||
add_subdirectory(getuname)
|
||||
add_subdirectory(hid)
|
||||
add_subdirectory(httpapi)
|
||||
add_subdirectory(iccvid)
|
||||
add_subdirectory(icmp)
|
||||
add_subdirectory(imaadp32.acm)
|
||||
add_subdirectory(imagehlp)
|
||||
add_subdirectory(imm32)
|
||||
add_subdirectory(initpki)
|
||||
add_subdirectory(iphlpapi)
|
||||
add_subdirectory(itircl)
|
||||
add_subdirectory(kernel32)
|
||||
add_subdirectory(loadperf)
|
||||
add_subdirectory(lpk)
|
||||
add_subdirectory(lz32)
|
||||
add_subdirectory(mapi32)
|
||||
add_subdirectory(mciavi32)
|
||||
add_subdirectory(mcicda)
|
||||
add_subdirectory(mciqtz32)
|
||||
add_subdirectory(msvcrt)
|
||||
add_subdirectory(user32)
|
||||
|
|
27
dll/win32/fmifs/CMakeLists.txt
Normal file
27
dll/win32/fmifs/CMakeLists.txt
Normal file
|
@ -0,0 +1,27 @@
|
|||
|
||||
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>")
|
||||
|
||||
spec2def(fmifs ${CMAKE_CURRENT_SOURCE_DIR}/fmifs.spec ${CMAKE_CURRENT_BINARY_DIR}/fmifs.def)
|
||||
|
||||
list(APPEND SOURCE
|
||||
chkdsk.c
|
||||
compress.c
|
||||
diskcopy.c
|
||||
extend.c
|
||||
format.c
|
||||
init.c
|
||||
media.c
|
||||
query.c
|
||||
fmifs.rc)
|
||||
|
||||
add_library(fmifs SHARED ${SOURCE})
|
||||
|
||||
set_target_properties(fmifs PROPERTIES LINK_FLAGS "-Wl,-entry,_InitializeFmIfs@12")
|
||||
|
||||
target_link_libraries(fmifs
|
||||
${CMAKE_CURRENT_BINARY_DIR}/fmifs.def
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/kernel32/libkernel32.a
|
||||
${REACTOS_SOURCE_DIR}/dll/ntdll/libntdll.a)
|
||||
|
||||
add_pch(fmifs ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
||||
add_dependencies(fmifs fmifs_def psdk)
|
29
dll/win32/fusion/CMakeLists.txt
Normal file
29
dll/win32/fusion/CMakeLists.txt
Normal file
|
@ -0,0 +1,29 @@
|
|||
|
||||
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES> -L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(fusion ${CMAKE_CURRENT_SOURCE_DIR}/fusion.spec ${CMAKE_CURRENT_BINARY_DIR}/fusion.def)
|
||||
|
||||
add_library(fusion SHARED
|
||||
asmcache.c
|
||||
asmenum.c
|
||||
asmname.c
|
||||
assembly.c
|
||||
fusion.c
|
||||
fusion_main.c)
|
||||
|
||||
set_target_properties(fusion PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
|
||||
|
||||
target_link_libraries(fusion
|
||||
${CMAKE_CURRENT_BINARY_DIR}/fusion.def
|
||||
wine
|
||||
mingw_common
|
||||
-lshlwapi
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/advapi32/libadvapi32.a
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/dbghelp/libdbghelp.a
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/user32/libuser32.a)
|
||||
|
||||
add_dependencies(fusion fusion_def psdk)
|
19
dll/win32/getuname/CMakeLists.txt
Normal file
19
dll/win32/getuname/CMakeLists.txt
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>")
|
||||
|
||||
add_definitions(-DUNICODE -D_UNICODE)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(getuname ${CMAKE_CURRENT_SOURCE_DIR}/getuname.spec ${CMAKE_CURRENT_BINARY_DIR}/getuname.def)
|
||||
|
||||
add_library(getuname SHARED getuname.c getuname.rc)
|
||||
|
||||
set_target_properties(getuname PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
|
||||
|
||||
target_link_libraries(getuname
|
||||
${CMAKE_CURRENT_BINARY_DIR}/getuname.def
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/kernel32/libkernel32.a
|
||||
${REACTOS_SOURCE_DIR}/dll/ntdll/libntdll.a)
|
||||
|
||||
add_dependencies(getuname getuname_def psdk)
|
22
dll/win32/hid/CMakeLists.txt
Normal file
22
dll/win32/hid/CMakeLists.txt
Normal file
|
@ -0,0 +1,22 @@
|
|||
|
||||
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>")
|
||||
|
||||
add_definitions(-DUNICODE -D_UNICODE)
|
||||
|
||||
list(APPEND SOURCE hid.c stubs.c hid.rc)
|
||||
|
||||
spec2def(hid ${CMAKE_CURRENT_SOURCE_DIR}/hid.spec ${CMAKE_CURRENT_BINARY_DIR}/hid.def)
|
||||
|
||||
add_library(hid SHARED
|
||||
${SOURCE}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/hid_precomp.h.gch)
|
||||
|
||||
set_target_properties(hid PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
|
||||
|
||||
target_link_libraries(hid
|
||||
${CMAKE_CURRENT_BINARY_DIR}/hid.def
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/kernel32/libkernel32.a
|
||||
${REACTOS_SOURCE_DIR}/dll/ntdll/libntdll.a)
|
||||
|
||||
add_pch(hid ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
||||
add_dependencies(hid hid_def psdk)
|
19
dll/win32/httpapi/CMakeLists.txt
Normal file
19
dll/win32/httpapi/CMakeLists.txt
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES> -L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(httpapi ${CMAKE_CURRENT_SOURCE_DIR}/httpapi.spec ${CMAKE_CURRENT_BINARY_DIR}/httpapi.def)
|
||||
|
||||
add_library(httpapi SHARED httpapi_main.c)
|
||||
|
||||
set_target_properties(httpapi PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
|
||||
|
||||
target_link_libraries(httpapi
|
||||
${CMAKE_CURRENT_BINARY_DIR}/httpapi.def
|
||||
wine
|
||||
mingw_common)
|
||||
|
||||
add_dependencies(httpapi httpapi_def psdk)
|
20
dll/win32/iccvid/CMakeLists.txt
Normal file
20
dll/win32/iccvid/CMakeLists.txt
Normal file
|
@ -0,0 +1,20 @@
|
|||
|
||||
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES> -L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(iccvid ${CMAKE_CURRENT_SOURCE_DIR}/iccvid.spec ${CMAKE_CURRENT_BINARY_DIR}/iccvid.def)
|
||||
|
||||
add_library(iccvid SHARED iccvid.c rsrc.rc)
|
||||
|
||||
set_target_properties(iccvid PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
|
||||
|
||||
target_link_libraries(iccvid
|
||||
${CMAKE_CURRENT_BINARY_DIR}/iccvid.def
|
||||
wine
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/user32/libuser32.a
|
||||
mingw_common)
|
||||
|
||||
add_dependencies(iccvid iccvid_def psdk)
|
18
dll/win32/icmp/CMakeLists.txt
Normal file
18
dll/win32/icmp/CMakeLists.txt
Normal file
|
@ -0,0 +1,18 @@
|
|||
|
||||
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES> -L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(icmp ${CMAKE_CURRENT_SOURCE_DIR}/icmp.spec ${CMAKE_CURRENT_BINARY_DIR}/icmp.def)
|
||||
|
||||
add_library(icmp SHARED icmp_main.c icmp.rc)
|
||||
|
||||
set_target_properties(icmp PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
|
||||
|
||||
target_link_libraries(icmp
|
||||
${CMAKE_CURRENT_BINARY_DIR}/icmp.def
|
||||
wine
|
||||
-lws2_32
|
||||
mingw_common)
|
||||
|
||||
add_dependencies(icmp icmp_def psdk)
|
29
dll/win32/imaadp32.acm/CMakeLists.txt
Normal file
29
dll/win32/imaadp32.acm/CMakeLists.txt
Normal file
|
@ -0,0 +1,29 @@
|
|||
|
||||
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES> -L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
|
||||
|
||||
add_definitions(-D_DLL -D__USE_CRTIMP)
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/imaadp32.acm.def
|
||||
COMMAND native-winebuild -o ${CMAKE_CURRENT_BINARY_DIR}/imaadp32.acm.def --def -E ${CMAKE_CURRENT_SOURCE_DIR}/imaadp32.acm.spec --filename imaadp32.acm
|
||||
DEPENDS native-winebuild)
|
||||
set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/imaadp32.acm.def PROPERTIES GENERATED TRUE)
|
||||
add_custom_target(imaadp32.acm_def ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/imaadp32.acm.def)
|
||||
|
||||
add_library(imaadp32.acm SHARED imaadp32.c)
|
||||
|
||||
set_target_properties(imaadp32.acm PROPERTIES LINK_FLAGS "-Wl,-entry,0" SUFFIX "")
|
||||
|
||||
target_link_libraries(imaadp32.acm
|
||||
${CMAKE_CURRENT_BINARY_DIR}/imaadp32.acm.def
|
||||
wine
|
||||
-lwinmm
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/user32/libuser32.a
|
||||
mingw_common
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/msvcrt/libmsvcrt.a)
|
||||
|
||||
add_dependencies(imaadp32.acm imaadp32.acm_def psdk)
|
32
dll/win32/imagehlp/CMakeLists.txt
Normal file
32
dll/win32/imagehlp/CMakeLists.txt
Normal file
|
@ -0,0 +1,32 @@
|
|||
|
||||
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES> -L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
|
||||
|
||||
add_definitions(-D_DLL -D__USE_CRTIMP)
|
||||
add_definitions(-D_IMAGEHLP_SOURCE_)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(imagehlp ${CMAKE_CURRENT_SOURCE_DIR}/imagehlp.spec ${CMAKE_CURRENT_BINARY_DIR}/imagehlp.def)
|
||||
|
||||
list(APPEND SOURCE
|
||||
access.c
|
||||
imagehlp_main.c
|
||||
integrity.c
|
||||
modify.c
|
||||
imagehlp.rc)
|
||||
|
||||
add_library(imagehlp SHARED
|
||||
${CMAKE_CURRENT_BINARY_DIR}/imagehlp_precomp.h.gch
|
||||
${SOURCE})
|
||||
|
||||
set_target_properties(imagehlp PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
|
||||
|
||||
target_link_libraries(imagehlp
|
||||
${CMAKE_CURRENT_BINARY_DIR}/imagehlp.def
|
||||
wine
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/dbghelp/libdbghelp.a
|
||||
mingw_common
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/msvcrt/libmsvcrt.a)
|
||||
|
||||
add_pch(imagehlp ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
||||
add_dependencies(imagehlp imagehlp_def psdk)
|
24
dll/win32/imm32/CMakeLists.txt
Normal file
24
dll/win32/imm32/CMakeLists.txt
Normal file
|
@ -0,0 +1,24 @@
|
|||
|
||||
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES> -L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
|
||||
|
||||
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(imm32 ${CMAKE_CURRENT_SOURCE_DIR}/imm32.spec ${CMAKE_CURRENT_BINARY_DIR}/imm32.def)
|
||||
|
||||
add_library(imm32 SHARED imm.c version.rc)
|
||||
|
||||
set_target_properties(imm32 PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
|
||||
|
||||
target_link_libraries(imm32
|
||||
${CMAKE_CURRENT_BINARY_DIR}/imm32.def
|
||||
wine
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/advapi32/libadvapi32.a
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/user32/libuser32.a
|
||||
mingw_common)
|
||||
|
||||
add_dependencies(imm32 imm32_def psdk)
|
|
@ -1,54 +0,0 @@
|
|||
4 stub IMMGETDEFAULTIMEWND
|
||||
7 stub IMMGETDESCRIPTIONA
|
||||
8 stub IMMGETIMEFILENAMEA
|
||||
9 stub IMMGETPROPERTY
|
||||
11 stub IMMINSTALLIMEA
|
||||
#15 stub ___EXPORTEDSTUB
|
||||
17 stub IMMISIME
|
||||
25 stub IMMGETHOTKEY
|
||||
26 stub IMMSETHOTKEY
|
||||
27 stub IMMSIMULATEHOTKEY
|
||||
35 stub IMMCREATECONTEXT
|
||||
36 stub IMMDESTROYCONTEXT
|
||||
37 stub IMMGETCONTEXT
|
||||
38 stub IMMRELEASECONTEXT
|
||||
39 stub IMMASSOCIATECONTEXT
|
||||
41 stub IMMASSOCIATECONTEXTEX
|
||||
43 stub IMMGETCOMPOSITIONSTRINGA
|
||||
44 stub IMMSETCOMPOSITIONSTRINGA
|
||||
45 stub IMMGETCANDIDATELISTCOUNTA
|
||||
46 stub IMMGETCANDIDATELISTA
|
||||
47 stub IMMGETGUIDELINEA
|
||||
51 stub IMMGETCONVERSIONSTATUS
|
||||
52 stub IMMSETCONVERSIONSTATUS
|
||||
53 stub IMMGETOPENSTATUS
|
||||
54 stub IMMSETOPENSTATUS
|
||||
55 stub IMMGETCOMPOSITIONFONTA
|
||||
56 stub IMMSETCOMPOSITIONFONTA
|
||||
61 stub IMMCONFIGUREIMEA
|
||||
63 stub IMMESCAPEA
|
||||
64 stub IMMGETCONVERSIONLISTA
|
||||
65 stub IMMNOTIFYIME
|
||||
71 stub IMMISUIMESSAGEA
|
||||
72 stub IMMGENERATEMESSAGE
|
||||
73 stub IMMGETVIRTUALKEY
|
||||
87 stub IMMGETSTATUSWINDOWPOS
|
||||
88 stub IMMSETSTATUSWINDOWPOS
|
||||
89 stub IMMGETCOMPOSITIONWINDOW
|
||||
90 stub IMMSETCOMPOSITIONWINDOW
|
||||
91 stub IMMGETCANDIDATEWINDOW
|
||||
92 stub IMMSETCANDIDATEWINDOW
|
||||
95 stub IMMUNINSTALLIMEA
|
||||
110 stub IMMLOCKIMC
|
||||
111 stub IMMUNLOCKIMC
|
||||
112 stub IMMGETIMCLOCKCOUNT
|
||||
116 stub IMMCREATEIMCC
|
||||
117 stub IMMDESTROYIMCC
|
||||
118 stub IMMLOCKIMCC
|
||||
119 stub IMMUNLOCKIMCC
|
||||
120 stub IMMGETIMCCLOCKCOUNT
|
||||
121 stub IMMRESIZEIMCC
|
||||
122 stub IMMGETIMCCSIZE
|
||||
#160 stub FT_IMMFTHKTHKCONNECTIONDATA
|
||||
#161 stub IMM32THKCONNECTIONDATASL
|
||||
180 stub IMMSYNCCONVERSION
|
19
dll/win32/initpki/CMakeLists.txt
Normal file
19
dll/win32/initpki/CMakeLists.txt
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES> -L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(initpki ${CMAKE_CURRENT_SOURCE_DIR}/initpki.spec ${CMAKE_CURRENT_BINARY_DIR}/initpki.def)
|
||||
|
||||
add_library(initpki SHARED main.c)
|
||||
|
||||
set_target_properties(initpki PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
|
||||
|
||||
target_link_libraries(initpki
|
||||
${CMAKE_CURRENT_BINARY_DIR}/initpki.def
|
||||
wine
|
||||
mingw_common)
|
||||
|
||||
add_dependencies(initpki initpki_def psdk)
|
36
dll/win32/iphlpapi/CMakeLists.txt
Normal file
36
dll/win32/iphlpapi/CMakeLists.txt
Normal file
|
@ -0,0 +1,36 @@
|
|||
|
||||
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES> -L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
|
||||
|
||||
add_definitions(-D_DLL -D__USE_CRTIMP)
|
||||
add_definitions(-DUNICODE -D_UNICODE)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/dll/win32/dhcpcsvc/include)
|
||||
include_directories(${REACTOS_SOURCE_DIR}/lib/tdilib)
|
||||
|
||||
spec2def(iphlpapi ${CMAKE_CURRENT_SOURCE_DIR}/iphlpapi.spec ${CMAKE_CURRENT_BINARY_DIR}/iphlpapi.def)
|
||||
|
||||
add_library(iphlpapi SHARED
|
||||
dhcp_reactos.c
|
||||
ifenum_reactos.c
|
||||
ipstats_reactos.c
|
||||
iphlpapi_main.c
|
||||
media.c
|
||||
registry.c
|
||||
resinfo_reactos.c
|
||||
route_reactos.c
|
||||
iphlpapi.rc)
|
||||
|
||||
set_target_properties(iphlpapi PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
|
||||
|
||||
target_link_libraries(iphlpapi
|
||||
${CMAKE_CURRENT_BINARY_DIR}/iphlpapi.def
|
||||
wine
|
||||
tdilib
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/dhcpcsvc/libdhcpcsvc.a
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/advapi32/libadvapi32.a
|
||||
-lws2_32
|
||||
mingw_common
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/msvcrt/libmsvcrt.a)
|
||||
|
||||
add_dependencies(iphlpapi iphlpapi_def psdk)
|
19
dll/win32/itircl/CMakeLists.txt
Normal file
19
dll/win32/itircl/CMakeLists.txt
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES> -L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(itircl ${CMAKE_CURRENT_SOURCE_DIR}/itircl.spec ${CMAKE_CURRENT_BINARY_DIR}/itircl.def)
|
||||
|
||||
add_library(itircl SHARED itircl_main.c)
|
||||
|
||||
set_target_properties(itircl PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
|
||||
|
||||
target_link_libraries(itircl
|
||||
${CMAKE_CURRENT_BINARY_DIR}/itircl.def
|
||||
wine
|
||||
mingw_common)
|
||||
|
||||
add_dependencies(itircl itircl_def psdk)
|
19
dll/win32/loadperf/CMakeLists.txt
Normal file
19
dll/win32/loadperf/CMakeLists.txt
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES> -L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(loadperf ${CMAKE_CURRENT_SOURCE_DIR}/loadperf.spec ${CMAKE_CURRENT_BINARY_DIR}/loadperf.def)
|
||||
|
||||
add_library(loadperf SHARED loadperf_main.c)
|
||||
|
||||
set_target_properties(loadperf PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
|
||||
|
||||
target_link_libraries(loadperf
|
||||
${CMAKE_CURRENT_BINARY_DIR}/loadperf.def
|
||||
wine
|
||||
mingw_common)
|
||||
|
||||
add_dependencies(loadperf loadperf_def psdk)
|
22
dll/win32/lpk/CMakeLists.txt
Normal file
22
dll/win32/lpk/CMakeLists.txt
Normal file
|
@ -0,0 +1,22 @@
|
|||
|
||||
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES> -L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
|
||||
|
||||
add_definitions(-DLANGPACK)
|
||||
add_definitions(-DUNICODE -D_UNICODE)
|
||||
|
||||
include_directories(include)
|
||||
|
||||
spec2def(lpk ${CMAKE_CURRENT_SOURCE_DIR}/lpk.spec ${CMAKE_CURRENT_BINARY_DIR}/lpk.def)
|
||||
|
||||
add_library(lpk SHARED dllmain.c stub.c lpk.rc)
|
||||
|
||||
set_target_properties(lpk PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
|
||||
|
||||
target_link_libraries(lpk
|
||||
${CMAKE_CURRENT_BINARY_DIR}/lpk.def
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/user32/libuser32.a
|
||||
-lusp10
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/kernel32/libkernel32.a
|
||||
${REACTOS_SOURCE_DIR}/dll/ntdll/libntdll.a)
|
||||
|
||||
add_dependencies(lpk lpk_def psdk)
|
19
dll/win32/lz32/CMakeLists.txt
Normal file
19
dll/win32/lz32/CMakeLists.txt
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
set(CMAKE_RC_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES> -L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(lz32 ${CMAKE_CURRENT_SOURCE_DIR}/lz32.spec ${CMAKE_CURRENT_BINARY_DIR}/lz32.def)
|
||||
|
||||
add_library(lz32 SHARED version.rc)
|
||||
|
||||
set_target_properties(lz32 PROPERTIES LINK_FLAGS "-Wl,-entry,0")
|
||||
|
||||
target_link_libraries(lz32
|
||||
${CMAKE_CURRENT_BINARY_DIR}/lz32.def
|
||||
wine
|
||||
mingw_common)
|
||||
|
||||
add_dependencies(lz32 lz32_def psdk)
|
30
dll/win32/mapi32/CMakeLists.txt
Normal file
30
dll/win32/mapi32/CMakeLists.txt
Normal file
|
@ -0,0 +1,30 @@
|
|||
|
||||
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES> -L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(mapi32 ${CMAKE_CURRENT_SOURCE_DIR}/mapi32.spec ${CMAKE_CURRENT_BINARY_DIR}/mapi32.def)
|
||||
|
||||
add_library(mapi32 SHARED
|
||||
imalloc.c
|
||||
mapi32_main.c
|
||||
prop.c
|
||||
sendmail.c
|
||||
util.c
|
||||
version.rc)
|
||||
|
||||
set_target_properties(mapi32 PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
|
||||
|
||||
target_link_libraries(mapi32
|
||||
${CMAKE_CURRENT_BINARY_DIR}/mapi32.def
|
||||
wine
|
||||
-lshlwapi
|
||||
-lshell32
|
||||
-luuid
|
||||
mingw_common
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/user32/libuser32.a
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/advapi32/libadvapi32.a)
|
||||
|
||||
add_dependencies(mapi32 mapi32_def psdk)
|
28
dll/win32/mciavi32/CMakeLists.txt
Normal file
28
dll/win32/mciavi32/CMakeLists.txt
Normal file
|
@ -0,0 +1,28 @@
|
|||
|
||||
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES> -L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(mciavi32 ${CMAKE_CURRENT_SOURCE_DIR}/mciavi32.spec ${CMAKE_CURRENT_BINARY_DIR}/mciavi32.def)
|
||||
|
||||
add_library(mciavi32 SHARED
|
||||
info.c
|
||||
mciavi.c
|
||||
mmoutput.c
|
||||
wnd.c
|
||||
mciavi_res.rc)
|
||||
|
||||
set_target_properties(mciavi32 PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
|
||||
|
||||
target_link_libraries(mciavi32
|
||||
${CMAKE_CURRENT_BINARY_DIR}/mciavi32.def
|
||||
wine
|
||||
-lmsvfw32
|
||||
-lwinmm
|
||||
mingw_common
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/user32/libuser32.a
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/gdi32/libgdi32.a)
|
||||
|
||||
add_dependencies(mciavi32 mciavi32_def psdk)
|
21
dll/win32/mcicda/CMakeLists.txt
Normal file
21
dll/win32/mcicda/CMakeLists.txt
Normal file
|
@ -0,0 +1,21 @@
|
|||
|
||||
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES> -L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(mcicda ${CMAKE_CURRENT_SOURCE_DIR}/mcicda.spec ${CMAKE_CURRENT_BINARY_DIR}/mcicda.def)
|
||||
|
||||
add_library(mcicda SHARED mcicda.c)
|
||||
|
||||
set_target_properties(mcicda PROPERTIES LINK_FLAGS "-Wl,-entry,0")
|
||||
|
||||
target_link_libraries(mcicda
|
||||
${CMAKE_CURRENT_BINARY_DIR}/mcicda.def
|
||||
wine
|
||||
-lwinmm
|
||||
mingw_common
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/user32/libuser32.a)
|
||||
|
||||
add_dependencies(mcicda mcicda_def psdk)
|
25
dll/win32/mciqtz32/CMakeLists.txt
Normal file
25
dll/win32/mciqtz32/CMakeLists.txt
Normal file
|
@ -0,0 +1,25 @@
|
|||
|
||||
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES> -L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
|
||||
|
||||
add_definitions(-D__WINESRC__)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
spec2def(mciqtz32 ${CMAKE_CURRENT_SOURCE_DIR}/mciqtz32.spec ${CMAKE_CURRENT_BINARY_DIR}/mciqtz32.def)
|
||||
|
||||
add_library(mciqtz32 SHARED mciqtz.c version.rc)
|
||||
|
||||
set_target_properties(mciqtz32 PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
|
||||
|
||||
target_link_libraries(mciqtz32
|
||||
${CMAKE_CURRENT_BINARY_DIR}/mciqtz32.def
|
||||
wine
|
||||
-lwinmm
|
||||
-loleaut32
|
||||
-lole32
|
||||
strmiids
|
||||
mingw_common
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/user32/libuser32.a
|
||||
${REACTOS_SOURCE_DIR}/dll/win32/gdi32/libgdi32.a)
|
||||
|
||||
add_dependencies(mciqtz32 mciqtz32_def psdk)
|
Loading…
Reference in a new issue