xref: /reactos/dll/win32/query/CMakeLists.txt (revision 23373acb)
1
2add_definitions(
3    -D__WINESRC__
4    -DCOM_NO_WINDOWS_H)
5
6include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
7spec2def(query.dll query.spec)
8
9list(APPEND SOURCE
10    query_main.c
11    ${CMAKE_CURRENT_BINARY_DIR}/query_stubs.c
12    ${CMAKE_CURRENT_BINARY_DIR}/query.def)
13
14add_library(query MODULE ${SOURCE})
15set_module_type(query win32dll)
16target_link_libraries(query wine)
17add_importlibs(query msvcrt kernel32 ntdll)
18add_cd_file(TARGET query DESTINATION reactos/system32 FOR all)
19