list(APPEND SOURCE
acledit.c
stubs.c
- acleditint.h
+ acleditint.h)
+
+add_library(acledit SHARED
+ ${SOURCE}
+ acledit.rc
${CMAKE_CURRENT_BINARY_DIR}/acledit.def)
-add_library(acledit SHARED ${SOURCE} acledit.rc)
set_module_type(acledit win32dll UNICODE)
add_importlibs(acledit msvcrt kernel32 ntdll)
add_pch(acledit acleditint.h SOURCE)
atl30.c
atl_ax.c
registrar.c
- precomp.h
${CMAKE_CURRENT_BINARY_DIR}/atl_stubs.c
- ${CMAKE_CURRENT_BINARY_DIR}/atl.def)
+ precomp.h)
list(APPEND atl_rc_deps
${CMAKE_CURRENT_SOURCE_DIR}/atl.rgs
${CMAKE_CURRENT_BINARY_DIR}/atl_lib.tlb)
set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS "${atl_rc_deps}")
-add_library(atl SHARED ${SOURCE} rsrc.rc)
+
+add_library(atl SHARED
+ ${SOURCE}
+ rsrc.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/atl.def)
+
add_typelib(atl_lib.idl)
add_dependencies(atl stdole2)
set_module_type(atl win32dll)
atl80.c
${REACTOS_SOURCE_DIR}/dll/win32/atl/atl_ax.c
${REACTOS_SOURCE_DIR}/dll/win32/atl/registrar.c
- precomp.h
${CMAKE_CURRENT_BINARY_DIR}/atl80_stubs.c
+ precomp.h)
+
+add_library(atl80 SHARED
+ ${SOURCE}
${CMAKE_CURRENT_BINARY_DIR}/atl80.def)
-add_library(atl80 SHARED ${SOURCE})
set_module_type(atl80 win32dll)
target_link_libraries(atl80 uuid wine)
add_importlibs(atl80 oleaut32 user32 ole32 gdi32 advapi32 advapi32_vista shlwapi msvcrt kernel32 ntdll)
+
+include_directories(
+ ${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers/fltmgr
+ includes)
+
+spec2def(fltmgr.sys fltmgr.spec ADD_IMPORTLIB)
+
list(APPEND SOURCE
Context.c
Dispatch.c
Object.c
Registry.c
Volume.c
- ${CMAKE_CURRENT_BINARY_DIR}/fltmgr.def
fltmgr.h)
-include_directories(
- ${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers/fltmgr
- includes)
-
-spec2def(fltmgr.sys fltmgr.spec ADD_IMPORTLIB)
-
add_library(fltmgr SHARED
${SOURCE}
- fltmgr.rc)
+ fltmgr.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/fltmgr.def)
set_module_type(fltmgr kernelmodedriver)
target_link_libraries(fltmgr ${PSEH_LIB})