mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 00:34:39 +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
31 lines
746 B
CMake
31 lines
746 B
CMake
|
|
add_definitions(
|
|
-DUSE_MSVCRT_PREFIX
|
|
-D_MSVCRT_
|
|
-D_MSVCRT_LIB_
|
|
-D_MT
|
|
-D_CTYPE_DISABLE_MACROS
|
|
-D_NO_INLINING
|
|
-DCRTDLL
|
|
-D__MINGW_IMPORT="")
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/lib/sdk/crt/include)
|
|
|
|
list(APPEND SOURCE dllmain.c msvcrt_stubs.c msvcrt.rc)
|
|
|
|
add_library(msvcrt SHARED
|
|
${CMAKE_CURRENT_BINARY_DIR}/msvcrt_precomp.h.gch
|
|
${SOURCE})
|
|
|
|
set_target_properties(msvcrt PROPERTIES LINK_FLAGS "-u __seh_longjmp_unwind@4")
|
|
set_module_type(msvcrt win32dll)
|
|
|
|
target_link_libraries(msvcrt
|
|
${CMAKE_CURRENT_SOURCE_DIR}/msvcrt.def
|
|
crt
|
|
wine
|
|
pseh)
|
|
|
|
add_pch(msvcrt ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
|
add_importlibs(msvcrt kernel32 ntdll)
|
|
add_livecd_target(msvcrt reactos/system32)
|