mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 02:43:48 +00:00
16 lines
511 B
CMake
16 lines
511 B
CMake
|
|
add_definitions(-D__WINESRC__)
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
|
spec2def(dpnhpast.dll dpnhpast.spec)
|
|
|
|
list(APPEND SOURCE
|
|
main.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/dpnhpast_stubs.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/dpnhpast.def)
|
|
|
|
add_library(dpnhpast MODULE ${SOURCE} version.rc)
|
|
set_module_type(dpnhpast win32dll)
|
|
target_link_libraries(dpnhpast dxguid uuid wine)
|
|
add_importlibs(dpnhpast msvcrt kernel32 ntdll)
|
|
add_cd_file(TARGET dpnhpast DESTINATION reactos/system32 FOR all)
|