mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00

- Move some dlls with no stubs into using def files instead of spec files. svn path=/branches/cmake-bringup/; revision=49448
35 lines
693 B
CMake
35 lines
693 B
CMake
|
|
add_definitions(
|
|
-DUSE_MSVCRT_PREFIX
|
|
-D_MSVCRT_LIB_
|
|
-D_MSVCRT_
|
|
-DCRTDLL
|
|
-D_CTYPE_DISABLE_MACROS
|
|
-D_NO_INLINING
|
|
-D__MINGW_IMPORT="")
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/lib/sdk/crt/include)
|
|
|
|
list(APPEND SOURCE
|
|
dllmain.c
|
|
crtdll.rc
|
|
crtdll.def)
|
|
|
|
if(NOT MSVC)
|
|
set_source_files_properties(crtdll.def PROPERTIES EXTERNAL_OBJECT TRUE)
|
|
endif()
|
|
|
|
add_library(crtdll SHARED
|
|
${CMAKE_CURRENT_BINARY_DIR}/crtdll_precomp.h.gch
|
|
${SOURCE})
|
|
|
|
set_module_type(crtdll win32dll)
|
|
|
|
target_link_libraries(crtdll
|
|
wine
|
|
crt)
|
|
|
|
add_importlibs(crtdll kernel32 ntdll)
|
|
add_pch(crtdll ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
|
|
|
add_cab_target(crtdll 1)
|