mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 01:04:11 +00:00
89271fe38d
Add each win32dll module to livecd and remove global temporary add-on from gcc.cmake. Fix pch use in fmifs. Enable remaining dlls in dll/win32/CMakeLists.txt. svn path=/branches/cmake-bringup/; revision=49230
19 lines
523 B
CMake
19 lines
523 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
add_definitions(-D__WINESRC__)
|
|
add_definitions(-DCRTDLL)
|
|
|
|
spec2def(msvcrt40 ${CMAKE_CURRENT_SOURCE_DIR}/msvcrt40.spec ${CMAKE_CURRENT_BINARY_DIR}/msvcrt40.def)
|
|
|
|
add_library(msvcrt40 SHARED msvcrt40.c)
|
|
|
|
set_module_type(msvcrt40 win32dll)
|
|
|
|
target_link_libraries(msvcrt40
|
|
${CMAKE_CURRENT_BINARY_DIR}/msvcrt40.def
|
|
wine)
|
|
|
|
add_importlibs(msvcrt40 msvcrt kernel32 ntdll)
|
|
add_dependencies(msvcrt40 msvcrt40_def)
|
|
add_livecd_target(msvcrt40 reactos/system32)
|