2010-12-07 11:40:10 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-D__ROS_LONG64__
|
2011-06-18 22:02:28 +00:00
|
|
|
-D_CRT_NONSTDC_NO_DEPRECATE)
|
2010-12-07 11:40:10 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
cpp.c
|
|
|
|
data.c
|
|
|
|
dir.c
|
|
|
|
environ.c
|
|
|
|
file.c
|
|
|
|
headers.c
|
|
|
|
heap.c
|
|
|
|
locale.c
|
|
|
|
misc.c
|
|
|
|
printf.c
|
|
|
|
scanf.c
|
|
|
|
signal.c
|
|
|
|
string.c
|
|
|
|
testlist.c
|
|
|
|
time.c)
|
|
|
|
|
|
|
|
add_executable(msvcrt_winetest ${SOURCE})
|
2011-06-18 22:02:28 +00:00
|
|
|
|
|
|
|
if(MSVC)
|
|
|
|
target_link_libraries(msvcrt_winetest oldnames)
|
2011-09-04 17:33:34 +00:00
|
|
|
else()
|
2011-10-02 22:16:18 +00:00
|
|
|
add_target_compile_flags(msvcrt_winetest "-Wno-format")
|
2011-06-18 22:02:28 +00:00
|
|
|
endif()
|
|
|
|
|
2010-12-07 11:40:10 +00:00
|
|
|
set_module_type(msvcrt_winetest win32cui)
|
|
|
|
add_importlibs(msvcrt_winetest msvcrt kernel32 ntdll)
|
2011-05-14 20:55:36 +00:00
|
|
|
add_cd_file(TARGET msvcrt_winetest DESTINATION reactos/bin FOR all)
|