[CMAKE]
[reactos.git] / dll / win32 / odbccp32 / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -D_DLL -D__USE_CRTIMP)
5
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7
8 spec2def(odbccp32.dll odbccp32.spec)
9
10 list(APPEND SOURCE
11 odbccp32.c
12 ${CMAKE_CURRENT_BINARY_DIR}/odbccp32_stubs.c
13 ${CMAKE_CURRENT_BINARY_DIR}/odbccp32.def)
14
15 add_library(odbccp32 SHARED ${SOURCE})
16 set_entrypoint(odbccp32 0)
17
18 target_link_libraries(odbccp32 uuid wine)
19
20 add_importlibs(odbccp32
21 msvcrt
22 advapi32
23 kernel32
24 ntdll)
25
26 add_importlib_target(odbccp32.spec)
27 add_cd_file(TARGET odbccp32 DESTINATION reactos/system32 FOR all)