1f1f231c4fd742d27450acfdfe5d033af5915fec
[reactos.git] / dll / win32 / odbc32 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 add_definitions(-D_DLL -D__USE_CRTIMP)
4
5 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
6
7 spec2def(odbc32.dll odbc32.spec)
8
9 list(APPEND SOURCE
10 proxyodbc.c
11 ${CMAKE_CURRENT_BINARY_DIR}/odbc32.def)
12
13 add_library(odbc32 SHARED ${SOURCE})
14
15 set_module_type(odbc32 win32dll)
16
17 target_link_libraries(odbc32 wine)
18
19 add_importlibs(odbc32
20 msvcrt
21 advapi32
22 kernel32
23 ntdll)
24
25
26 add_cab_target(odbc32 1)