mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 10:23:22 +00:00
![Amine Khaldi](/assets/img/avatar_default.png)
* Addendum to r64795. * Also remove unneeded wine linking and ntdll importing. * Remove redundant defines. svn path=/trunk/; revision=64796
35 lines
662 B
CMake
35 lines
662 B
CMake
|
|
add_definitions(
|
|
-D_CRT_NONSTDC_NO_DEPRECATE
|
|
-D__msvcrt_ulong=ULONG)
|
|
|
|
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})
|
|
set_module_type(msvcrt_winetest win32cui)
|
|
add_importlibs(msvcrt_winetest msvcrt kernel32)
|
|
|
|
if(MSVC)
|
|
target_link_libraries(msvcrt_winetest oldnames)
|
|
add_importlibs(msvcrt_winetest ntdll)
|
|
else()
|
|
add_target_compile_flags(msvcrt_winetest "-Wno-format")
|
|
endif()
|
|
|
|
add_cd_file(TARGET msvcrt_winetest DESTINATION reactos/bin FOR all)
|