[CMAKE]
[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_stubs.c
12 ${CMAKE_CURRENT_BINARY_DIR}/odbc32.def)
13
14 add_library(odbc32 SHARED ${SOURCE})
15
16 set_module_type(odbc32 win32dll)
17
18 target_link_libraries(odbc32 wine)
19
20 add_importlibs(odbc32
21 msvcrt
22 advapi32
23 kernel32
24 ntdll)
25
26
27 add_cd_file(TARGET odbc32 DESTINATION reactos/system32)