* Improve the PCH.

svn path=/trunk/; revision=53184
This commit is contained in:
Amine Khaldi 2011-08-11 15:14:25 +00:00
parent 2b5f85b71e
commit 76d63856af
3 changed files with 11 additions and 12 deletions

View file

@ -23,24 +23,21 @@ list(APPEND SOURCE
add_library(msvcrt SHARED ${SOURCE})
if (NOT MSVC)
set_target_properties(msvcrt PROPERTIES LINK_FLAGS "-u __seh_longjmp_unwind@4")
if(NOT MSVC)
set_target_properties(msvcrt PROPERTIES LINK_FLAGS "-u __seh_longjmp_unwind@4")
endif()
add_dependencies(msvcrt psdk)
set_entrypoint(msvcrt DllMain@12)
set_image_base(msvcrt ${baseaddress_msvcrt})
target_link_libraries(msvcrt
crt
wine)
target_link_libraries(msvcrt crt wine)
if(NOT MSVC)
target_link_libraries(msvcrt pseh)
target_link_libraries(msvcrt pseh)
endif()
add_pch(msvcrt precomp.h)
add_importlibs(msvcrt kernel32 ntdll)
add_pch(msvcrt precomp.h)
add_cd_file(TARGET msvcrt DESTINATION reactos/system32 FOR all)
add_importlib_target(msvcrt.spec)

View file

@ -21,11 +21,7 @@
*/
#include <precomp.h>
#include <internal/wine/msvcrt.h>
#include <locale.h>
#include <mbctype.h>
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
/* EXTERNAL PROTOTYPES ********************************************************/

View file

@ -6,4 +6,10 @@
#include <stdlib.h>
#include <windows.h>
#include <internal/wine/msvcrt.h>
#include <locale.h>
#include <mbctype.h>
#include "wine/debug.h"
#endif /* _CRT_PRECOMP_H */