mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
55b93aecdc
Documented as automatically removed, since CMake 3.12.4 at least. https://cmake.org/cmake/help/v3.12/command/target_compile_definitions.html
25 lines
642 B
CMake
25 lines
642 B
CMake
|
|
add_executable(d3dx9_36_winetest
|
|
asm.c
|
|
core.c
|
|
effect.c
|
|
line.c
|
|
math.c
|
|
mesh.c
|
|
shader.c
|
|
surface.c
|
|
texture.c
|
|
volume.c
|
|
xfile.c
|
|
testlist.c
|
|
rsrc.rc)
|
|
target_compile_definitions(d3dx9_36_winetest PRIVATE USE_WINE_TODOS __WINESRC__ isnan=_isnan)
|
|
if(MSVC)
|
|
# Disable warning C4477 (printf format warnings)
|
|
remove_target_compile_option(d3dx9_36_winetest "/we4477")
|
|
endif()
|
|
|
|
target_link_libraries(d3dx9_36_winetest uuid dxguid)
|
|
set_module_type(d3dx9_36_winetest win32cui)
|
|
add_importlibs(d3dx9_36_winetest d3dx9_36 d3d9 user32 gdi32 msvcrt kernel32)
|
|
add_rostests_file(TARGET d3dx9_36_winetest)
|