mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 12:54:51 +00:00
![David Quintana](/assets/img/avatar_default.png)
MSVCRT_CRT_APITEST: Remove getmainargs tests from X64 build. DELAYIMP: Fix callback prototype. CComHeapPtr: Fix implementation of IMallocSpy to match the actual interface. [WINETESTS] ntdll: Disable 'generated' tests when not i386 platform, since they were generated for x86 and not x64 or ARM. Fixes x64 compilation for tests. svn path=/trunk/; revision=75397
42 lines
807 B
CMake
42 lines
807 B
CMake
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
|
remove_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502)
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
list(APPEND SOURCE
|
|
atom.c
|
|
change.c
|
|
directory.c
|
|
env.c
|
|
error.c
|
|
exception.c
|
|
file.c
|
|
info.c
|
|
large_int.c
|
|
om.c
|
|
path.c
|
|
pipe.c
|
|
port.c
|
|
reg.c
|
|
rtl.c
|
|
rtlbitmap.c
|
|
rtlstr.c
|
|
string.c
|
|
time.c
|
|
testlist.c)
|
|
|
|
if(ARCH STREQUAL "i386")
|
|
list(APPEND SOURCE
|
|
generated.c
|
|
)
|
|
endif()
|
|
|
|
add_executable(ntdll_winetest ${SOURCE})
|
|
set_module_type(ntdll_winetest win32cui)
|
|
add_importlibs(ntdll_winetest user32 ole32 advapi32 msvcrt kernel32 ntdll)
|
|
add_rostests_file(TARGET ntdll_winetest)
|
|
|
|
if(NOT MSVC)
|
|
add_target_compile_flags(ntdll_winetest "-Wno-format")
|
|
endif()
|