[CMAKE]
[reactos.git] / dll / win32 / sccbase / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 spec2def(sccbase.dll sccbase.spec)
6
7 list(APPEND SOURCE
8 main.c
9 ${CMAKE_CURRENT_BINARY_DIR}/sccbase_stubs.c
10 ${CMAKE_CURRENT_BINARY_DIR}/sccbase.def)
11
12 add_library(sccbase SHARED ${SOURCE})
13
14 set_module_type(sccbase win32dll)
15
16 target_link_libraries(sccbase wine)
17
18 add_importlibs(sccbase msvcrt kernel32 ntdll)
19
20 add_cd_file(TARGET sccbase DESTINATION reactos/system32 FOR all)