mirror of
https://github.com/reactos/reactos.git
synced 2024-09-14 23:01:53 +00:00
53010e4c40
Stubs: Fix some win32 modules. svn path=/branches/cmake-bringup/; revision=49876
27 lines
456 B
CMake
27 lines
456 B
CMake
|
|
add_definitions(-D__WINESRC__)
|
|
add_definitions(-D_DLL -D__USE_CRTIMP)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(odbc32.dll odbc32.spec)
|
|
|
|
list(APPEND SOURCE
|
|
proxyodbc.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/odbc32.def)
|
|
|
|
add_library(odbc32 SHARED ${SOURCE})
|
|
|
|
set_module_type(odbc32 win32dll)
|
|
|
|
target_link_libraries(odbc32 wine)
|
|
|
|
add_importlibs(odbc32
|
|
msvcrt
|
|
advapi32
|
|
kernel32
|
|
ntdll)
|
|
|
|
|
|
add_cab_target(odbc32 1)
|