[CMAKE]
[reactos.git] / dll / win32 / pidgen / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 set_rc_compiler()
6 spec2def(pidgen.dll pidgen.spec)
7
8 list(APPEND SOURCE
9 main.c
10 rsrc.rc
11 ${CMAKE_CURRENT_BINARY_DIR}/pidgen_stubs.c
12 ${CMAKE_CURRENT_BINARY_DIR}/pidgen.def)
13
14 add_library(pidgen SHARED ${SOURCE})
15
16 set_module_type(pidgen win32dll)
17
18 target_link_libraries(pidgen wine)
19
20 add_importlibs(pidgen msvcrt kernel32 ntdll)
21
22 add_cd_file(TARGET pidgen DESTINATION reactos/system32)