mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 10:01:43 +00:00
[CMAKE]
* Fix several modules to compile with the recent gcc versions. * ReactOS now compiles with mingw-w64 gcc 4.6.0 and boots to shell. * Dedicated to dreimer. svn path=/trunk/; revision=52114
This commit is contained in:
parent
637da7e860
commit
377dc192bb
9 changed files with 14 additions and 7 deletions
|
@ -44,6 +44,7 @@ add_importlibs(actxprxy
|
|||
rpcrt4
|
||||
ole32
|
||||
oleaut32
|
||||
msvcrt
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
|
|
|
@ -114,7 +114,7 @@ add_library(kernel32 SHARED ${SOURCE})
|
|||
set_entrypoint(kernel32 DllMain@12)
|
||||
set_image_base(kernel32 ${baseaddress_kernel32})
|
||||
|
||||
target_link_libraries(kernel32 ${PSEH_LIB})
|
||||
target_link_libraries(kernel32 chkstk ${PSEH_LIB})
|
||||
|
||||
add_importlibs(kernel32 ntdll)
|
||||
add_pch(kernel32 k32.h)
|
||||
|
|
|
@ -28,7 +28,7 @@ target_link_libraries(lsasrv
|
|||
wine
|
||||
${PSEH_LIB})
|
||||
|
||||
add_importlibs(lsasrv rpcrt4 kernel32 ntdll)
|
||||
add_importlibs(lsasrv rpcrt4 msvcrt kernel32 ntdll)
|
||||
add_dependencies(lsasrv psdk)
|
||||
add_cd_file(TARGET lsasrv DESTINATION reactos/system32 FOR all)
|
||||
add_importlib_target(lsasrv.spec)
|
||||
|
|
|
@ -18,7 +18,7 @@ set_module_type(msports win32dll)
|
|||
|
||||
target_link_libraries(msports wine)
|
||||
|
||||
add_importlibs(msports setupapi comctl32 user32 advapi32 kernel32 ntdll)
|
||||
add_importlibs(msports setupapi comctl32 user32 advapi32 msvcrt kernel32 ntdll)
|
||||
|
||||
add_cd_file(TARGET msports DESTINATION reactos/system32 FOR all)
|
||||
add_importlib_target(msports.spec)
|
||||
|
|
|
@ -36,6 +36,7 @@ add_importlibs(sti
|
|||
oleaut32
|
||||
rpcrt4
|
||||
advapi32
|
||||
msvcrt
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@ add_library(ufatx SHARED ${SOURCE})
|
|||
|
||||
set_entrypoint(ufatx 0)
|
||||
|
||||
target_link_libraries(ufatx vfatxlib -lgcc)
|
||||
add_importlibs(ufatx kernel32 ntdll)
|
||||
target_link_libraries(ufatx vfatxlib)
|
||||
add_importlibs(ufatx msvcrt kernel32 ntdll)
|
||||
add_importlib_target(ufatx.spec)
|
||||
add_dependencies(ufatx psdk)
|
||||
add_cd_file(TARGET ufatx DESTINATION reactos/system32 FOR all)
|
||||
|
|
|
@ -17,7 +17,7 @@ target_link_libraries(wlanapi
|
|||
wine
|
||||
${PSEH_LIB})
|
||||
|
||||
add_importlibs(wlanapi rpcrt4 kernel32 ntdll)
|
||||
add_importlibs(wlanapi rpcrt4 msvcrt kernel32 ntdll)
|
||||
add_importlib_target(wlanapi.spec)
|
||||
|
||||
add_dependencies(wlanapi psdk)
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
|
||||
add_library(vfatxlib fatx.c vfatxlib.c)
|
||||
add_dependencies(vfatxlib psdk)
|
||||
|
||||
if(NOT MSVC)
|
||||
target_link_libraries(vfatxlib -lgcc)
|
||||
endif()
|
||||
|
||||
add_dependencies(vfatxlib psdk)
|
||||
|
|
|
@ -14,6 +14,7 @@ if(NOT MSVC)
|
|||
endif()
|
||||
|
||||
add_library(pseh ${SOURCE})
|
||||
target_link_libraries(pseh chkstk)
|
||||
add_dependencies(pseh psdk)
|
||||
|
||||
else()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue