[CMAKE]
[reactos.git] / dll / win32 / odbccp32 / 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(odbccp32 ${CMAKE_CURRENT_SOURCE_DIR}/odbccp32.spec ${CMAKE_CURRENT_BINARY_DIR}/odbccp32.def)
8
9 add_library(odbccp32 SHARED odbccp32.c)
10
11 set_entrypoint(odbccp32 0)
12
13 target_link_libraries(odbccp32
14 ${CMAKE_CURRENT_BINARY_DIR}/odbccp32.def
15 uuid
16 wine)
17
18 add_importlibs(odbccp32
19 msvcrt
20 advapi32
21 kernel32
22 ntdll)
23
24 add_dependencies(odbccp32 odbccp32_def)
25 add_cab_target(odbccp32 1)