2017-02-21 09:04:05 +00:00
|
|
|
|
|
|
|
spec2def(framedyn.dll framedyn.spec ADD_IMPORTLIB)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
main.c
|
|
|
|
chstring.cpp
|
|
|
|
provider.cpp
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/framedyn.def)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(framedyn MODULE ${SOURCE})
|
2020-09-18 07:34:18 +00:00
|
|
|
target_link_libraries(framedyn cpprt)
|
|
|
|
set_target_cpp_properties(framedyn WITH_EXCEPTIONS)
|
2017-02-21 09:04:05 +00:00
|
|
|
set_module_type(framedyn win32dll UNICODE)
|
|
|
|
add_importlibs(framedyn oleaut32 msvcrt kernel32 ntdll)
|
|
|
|
add_cd_file(TARGET framedyn DESTINATION reactos/system32/wbem FOR all)
|
|
|
|
|
|
|
|
if(NOT MSVC)
|
|
|
|
add_asm_files(framedynex_asm alias_gcc.s)
|
|
|
|
add_library(framedynex ${framedynex_asm})
|
|
|
|
set_target_properties(framedynex PROPERTIES LINKER_LANGUAGE ASM)
|
2020-09-21 10:16:02 +00:00
|
|
|
else()
|
|
|
|
target_compile_options(framedyn PRIVATE /Zc:wchar_t-)
|
2017-02-21 09:04:05 +00:00
|
|
|
endif()
|