mirror of
https://github.com/reactos/reactos.git
synced 2024-11-07 07:00:19 +00:00
527f2f9057
* Create a branch for some evul shell experiments. svn path=/branches/shell-experiments/; revision=61927
31 lines
802 B
CMake
31 lines
802 B
CMake
|
|
set_cpp(WITH_RUNTIME WITH_EXCEPTIONS)
|
|
|
|
if(NOT MSVC)
|
|
spec2def(framedyn.dll framedyn_gcc.spec ADD_IMPORTLIB)
|
|
else()
|
|
spec2def(framedyn.dll framedyn_msvc.spec ADD_IMPORTLIB)
|
|
endif()
|
|
|
|
list(APPEND SOURCE
|
|
main.c
|
|
chstring.cpp
|
|
${CMAKE_CURRENT_BINARY_DIR}/framedyn.def)
|
|
|
|
if(MSVC)
|
|
add_asm_files(framedyn_asm fix_exports_msvc.s)
|
|
endif()
|
|
|
|
add_library(framedyn SHARED ${SOURCE} ${framedyn_asm})
|
|
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(MSVC)
|
|
add_asm_files(framedynex_asm alias_msvc.s)
|
|
else()
|
|
add_asm_files(framedynex_asm alias_gcc.s)
|
|
endif()
|
|
add_library(framedynex ${framedynex_asm})
|
|
set_target_properties(framedynex PROPERTIES LINKER_LANGUAGE ASM)
|