mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 01:48:11 +00:00
[CMAKE]
Create importlibs from spec files for kernel32, advapi32, gdi32, user32 and msvcrt calc now compiles with MSVC and works (slightly buggy) svn path=/branches/cmake-bringup/; revision=49554
This commit is contained in:
parent
1d6d730ed6
commit
2e9717b577
|
@ -66,5 +66,5 @@ add_importlibs(advapi32 rpcrt4 kernel32 ntdll msvcrt)
|
|||
|
||||
add_pch(advapi32 ${CMAKE_CURRENT_SOURCE_DIR}/advapi32.h ${SOURCE})
|
||||
add_cab_target(advapi32 1)
|
||||
add_importlib_target(${CMAKE_CURRENT_BINARY_DIR}/advapi32.def)
|
||||
add_importlib_target(advapi32.spec libntdll)
|
||||
|
||||
|
|
|
@ -54,4 +54,4 @@ set_pdef_file(gdi32 gdi32.pdef)
|
|||
add_importlibs(gdi32 user32 advapi32 kernel32 ntdll)
|
||||
add_pch(gdi32 ${CMAKE_CURRENT_SOURCE_DIR}/include/precomp.h ${SOURCE})
|
||||
add_cab_target(gdi32 1)
|
||||
add_importlib_target(gdi32.def)
|
||||
add_importlib_target(gdi32.spec)
|
||||
|
|
|
@ -121,4 +121,4 @@ add_importlibs(kernel32 ntdll)
|
|||
add_pch(kernel32 ${CMAKE_CURRENT_SOURCE_DIR}/k32.h ${SOURCE})
|
||||
add_dependencies(kernel32 errcodes)
|
||||
add_cab_target(kernel32 1)
|
||||
add_importlib_target(${CMAKE_CURRENT_BINARY_DIR}/kernel32.def)
|
||||
add_importlib_target(kernel32.spec)
|
||||
|
|
|
@ -34,5 +34,5 @@ target_link_libraries(msvcrt
|
|||
add_pch(msvcrt ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
||||
add_importlibs(msvcrt kernel32 ntdll)
|
||||
add_cab_target(msvcrt 1)
|
||||
add_importlib_target(${CMAKE_CURRENT_BINARY_DIR}/msvcrt.def)
|
||||
add_importlib_target(msvcrt.spec)
|
||||
|
||||
|
|
|
@ -84,5 +84,5 @@ target_link_libraries(user32
|
|||
add_pch(user32 ${CMAKE_CURRENT_SOURCE_DIR}/include/user32.h ${SOURCE})
|
||||
add_importlibs(user32 gdi32 advapi32 imm32 kernel32 ntdll)
|
||||
add_cab_target(user32 1)
|
||||
add_importlib_target(${CMAKE_CURRENT_BINARY_DIR}/user32.def)
|
||||
add_importlib_target(user32.spec)
|
||||
|
||||
|
|
Loading…
Reference in a new issue