[CMAKE]
[reactos.git] / dll / win32 / ntmarta / CMakeLists.txt
1
2 set_unicode()
3
4 add_definitions(-D__WINESRC__)
5 remove_definitions(-D_WIN32_WINNT=0x502)
6 add_definitions(-D_WIN32_WINNT=0x600)
7
8 spec2def(ntmarta ${CMAKE_CURRENT_SOURCE_DIR}/ntmarta.spec ${CMAKE_CURRENT_BINARY_DIR}/ntmarta.def)
9
10 add_library(ntmarta SHARED ntmarta.c ntmarta.rc)
11
12 set_module_type(ntmarta win32dll)
13
14 target_link_libraries(ntmarta
15 ${CMAKE_CURRENT_BINARY_DIR}/ntmarta.def)
16
17 add_importlibs(ntmarta
18 user32
19 advapi32
20 kernel32
21 ntdll)
22
23 add_dependencies(ntmarta ntmarta_def)
24 add_livecd_target(ntmarta reactos/system32)