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