[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 spec2def(pidgen ${CMAKE_CURRENT_SOURCE_DIR}/pidgen.spec ${CMAKE_CURRENT_BINARY_DIR}/pidgen.def)
6
7 add_library(pidgen SHARED main.c rsrc.rc)
8
9 set_module_type(pidgen win32dll)
10
11 target_link_libraries(pidgen
12 ${CMAKE_CURRENT_BINARY_DIR}/pidgen.def
13 wine)
14
15 add_importlibs(pidgen kernel32 ntdll)
16 add_dependencies(pidgen pidgen_def)
17 add_livecd_target(pidgen reactos/system32)