954e449fba6f5a20b1df19a3c2472eb4db915a38
[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 ${CMAKE_CURRENT_SOURCE_DIR}/odbc32.spec ${CMAKE_CURRENT_BINARY_DIR}/odbc32.def)
8
9 add_library(odbc32 SHARED proxyodbc.c)
10
11 set_module_type(odbc32 win32dll)
12
13 target_link_libraries(odbc32
14 ${CMAKE_CURRENT_BINARY_DIR}/odbc32.def
15 wine)
16
17 add_importlibs(odbc32
18 msvcrt
19 advapi32
20 kernel32
21 ntdll)
22
23 add_dependencies(odbc32 odbc32_def)
24 add_livecd_target(odbc32 reactos/system32)