reactos/rostests/winetests/xmllite/CMakeLists.txt
Amine Khaldi 2aa63cb543 * Addendum to r57875.
svn path=/trunk/; revision=57876
2012-12-11 11:07:55 +00:00

20 lines
569 B
CMake

add_definitions(-D__ROS_LONG64__)
list(APPEND SOURCE
reader.c
writer.c
testlist.c)
if(NOT MSVC)
# FIXME: http://www.cmake.org/Bug/view.php?id=12998
#allow_warnings(xmllite_winetest)
set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error")
endif()
add_executable(xmllite_winetest ${SOURCE})
target_link_libraries(xmllite_winetest wine uuid)
set_module_type(xmllite_winetest win32cui)
add_importlibs(xmllite_winetest xmllite ole32 msvcrt kernel32 ntdll)
add_cd_file(TARGET xmllite_winetest DESTINATION reactos/bin FOR all)