[SDK] One step further towards ReactOS source code tree restructure: the sdk folder...
[reactos.git] / reactos / dll / win32 / pidgen / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4 spec2def(pidgen.dll pidgen.spec)
5
6 list(APPEND SOURCE
7 main.c
8 rsrc.rc
9 ${CMAKE_CURRENT_BINARY_DIR}/pidgen_stubs.c
10 ${CMAKE_CURRENT_BINARY_DIR}/pidgen.def)
11
12 add_library(pidgen SHARED ${SOURCE})
13 set_module_type(pidgen win32dll)
14 target_link_libraries(pidgen wine)
15 add_importlibs(pidgen msvcrt kernel32 ntdll)
16 add_cd_file(TARGET pidgen DESTINATION reactos/system32 FOR all)