2010-12-07 11:40:10 +00:00
|
|
|
|
2011-06-18 23:04:39 +00:00
|
|
|
add_definitions(-D__ROS_LONG64__)
|
2010-12-07 11:40:10 +00:00
|
|
|
|
2012-03-19 15:18:56 +00:00
|
|
|
list(APPEND SOURCE
|
|
|
|
reader.c
|
2012-12-11 10:53:46 +00:00
|
|
|
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(reader.c PROPERTIES COMPILE_FLAGS "-Wno-error")
|
|
|
|
endif()
|
2011-06-18 23:04:39 +00:00
|
|
|
|
2012-03-19 15:18:56 +00:00
|
|
|
add_executable(xmllite_winetest ${SOURCE})
|
|
|
|
target_link_libraries(xmllite_winetest wine uuid)
|
2010-12-07 11:40:10 +00:00
|
|
|
set_module_type(xmllite_winetest win32cui)
|
|
|
|
add_importlibs(xmllite_winetest xmllite ole32 msvcrt kernel32 ntdll)
|
2011-05-14 20:55:36 +00:00
|
|
|
add_cd_file(TARGET xmllite_winetest DESTINATION reactos/bin FOR all)
|