3 list(APPEND SOURCE main.c chstring.cpp)
4 add_library(framedyn SHARED ${SOURCE})
5 set_module_type(framedyn win32dll UNICODE)
6 add_importlibs(framedyn oleaut32 msvcrt kernel32 ntdll)
9 # FIXME: http://www.cmake.org/Bug/view.php?id=12998
10 #add_target_compile_flags(framedyn "-fexceptions -Wno-deprecated-declarations")
11 set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-fexceptions -Wno-deprecated-declarations")
12 spec2def(framedyn.dll framedyn_gcc.spec ADD_IMPORTLIB)
13 list(APPEND SOURCE ${CMAKE_CURRENT_BINARY_DIR}/framedyn.def)
16 add_cd_file(TARGET framedyn DESTINATION reactos/system32/wbem FOR all)