reactos/dll/win32/sxs/CMakeLists.txt
Amine Khaldi ddb3d908c9 * Sync up to trunk HEAD (r62285). Branch guys deserve the significant speedups too ;)
svn path=/branches/shell-experiments/; revision=62286
2014-02-22 10:31:26 +00:00

23 lines
558 B
CMake

include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
spec2def(sxs.dll sxs.spec ADD_IMPORTLIB)
list(APPEND SOURCE
cache.c
name.c
sxs.c
sxs_private.h
${CMAKE_CURRENT_BINARY_DIR}/sxs_stubs.c)
add_library(sxs SHARED
${SOURCE}
guid.c
${CMAKE_CURRENT_BINARY_DIR}/sxs.def)
set_module_type(sxs win32dll)
target_link_libraries(sxs wine)
add_importlibs(sxs oleaut32 ole32 msvcrt kernel32 ntdll)
add_pch(sxs sxs_private.h SOURCE)
add_cd_file(TARGET sxs DESTINATION reactos/system32 FOR all)