b17f239d50195c9b334992726551d950eac359bd
[reactos.git] / dll / win32 / loadperf / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(loadperf ${CMAKE_CURRENT_SOURCE_DIR}/loadperf.spec ${CMAKE_CURRENT_BINARY_DIR}/loadperf.def)
6
7 add_library(loadperf SHARED loadperf_main.c)
8
9 set_module_type(loadperf win32dll)
10
11 target_link_libraries(loadperf
12 ${CMAKE_CURRENT_BINARY_DIR}/loadperf.def
13 wine)
14
15 add_importlibs(loadperf kernel32 ntdll)
16 add_dependencies(loadperf loadperf_def)
17 add_livecd_target(loadperf reactos/system32)