xref: /reactos/dll/win32/resutils/CMakeLists.txt (revision c702cc0d)
1
2
3
4include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5
6add_definitions(-D__WINESRC__)
7
8spec2def(resutils ${CMAKE_CURRENT_SOURCE_DIR}/resutils.spec ${CMAKE_CURRENT_BINARY_DIR}/resutils.def)
9
10add_library(resutils SHARED resutils.c)
11
12set_target_properties(resutils PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
13
14target_link_libraries(resutils
15    ${CMAKE_CURRENT_BINARY_DIR}/resutils.def
16    wine
17    mingw_common)
18
19add_dependencies(resutils resutils_def psdk)
20