4 add_definitions(-D__WINESRC__)
5 remove_definitions(-D_WIN32_WINNT=0x502)
6 add_definitions(-D_WIN32_WINNT=0x600)
8 spec2def(ntmarta ${CMAKE_CURRENT_SOURCE_DIR}/ntmarta.spec ${CMAKE_CURRENT_BINARY_DIR}/ntmarta.def)
10 add_library(ntmarta SHARED ntmarta.c ntmarta.rc)
12 set_module_type(ntmarta win32dll)
14 target_link_libraries(ntmarta
15 ${CMAKE_CURRENT_BINARY_DIR}/ntmarta.def)
17 add_importlibs(ntmarta
23 add_dependencies(ntmarta ntmarta_def)