xref: /reactos/dll/win32/atl/CMakeLists.txt (revision b9e6a006)
1add_definitions(-D__WINESRC__)
2
3remove_definitions(-D_WIN32_WINNT=0x502)
4add_definitions(-D_WIN32_WINNT=0x600)
5
6include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7
8ADD_INTERFACE_DEFINITIONS(atl_atliface_header atliface.idl)
9
10set_rc_compiler()
11spec2def(atl.dll atl.spec)
12
13list(APPEND SOURCE
14    atl_ax.c
15    atl_main.c
16    registrar.c
17    stubs.c
18    rsrc.rc
19    ${CMAKE_CURRENT_BINARY_DIR}/atl.def)
20
21add_library(atl SHARED ${SOURCE})
22
23set_module_type(atl win32dll)
24
25target_link_libraries(atl
26    uuid
27    wine)
28
29add_importlibs(atl
30    msvcrt
31    ole32
32    oleaut32
33    user32
34    advapi32
35    gdi32
36    kernel32
37    ntdll)
38
39add_dependencies(atl atl_atliface_header)
40add_cab_target(atl 1)
41