mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[ACLEDIT][ATL][ATL80][FLTMGR] Get the def files out of the source files lists. #179
This commit is contained in:
parent
bddb0db469
commit
d6cb9f60d1
4 changed files with 25 additions and 15 deletions
|
@ -4,10 +4,13 @@ spec2def(acledit.dll acledit.spec)
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
acledit.c
|
acledit.c
|
||||||
stubs.c
|
stubs.c
|
||||||
acleditint.h
|
acleditint.h)
|
||||||
|
|
||||||
|
add_library(acledit SHARED
|
||||||
|
${SOURCE}
|
||||||
|
acledit.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/acledit.def)
|
${CMAKE_CURRENT_BINARY_DIR}/acledit.def)
|
||||||
|
|
||||||
add_library(acledit SHARED ${SOURCE} acledit.rc)
|
|
||||||
set_module_type(acledit win32dll UNICODE)
|
set_module_type(acledit win32dll UNICODE)
|
||||||
add_importlibs(acledit msvcrt kernel32 ntdll)
|
add_importlibs(acledit msvcrt kernel32 ntdll)
|
||||||
add_pch(acledit acleditint.h SOURCE)
|
add_pch(acledit acleditint.h SOURCE)
|
||||||
|
|
|
@ -14,9 +14,8 @@ list(APPEND SOURCE
|
||||||
atl30.c
|
atl30.c
|
||||||
atl_ax.c
|
atl_ax.c
|
||||||
registrar.c
|
registrar.c
|
||||||
precomp.h
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/atl_stubs.c
|
${CMAKE_CURRENT_BINARY_DIR}/atl_stubs.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/atl.def)
|
precomp.h)
|
||||||
|
|
||||||
list(APPEND atl_rc_deps
|
list(APPEND atl_rc_deps
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/atl.rgs
|
${CMAKE_CURRENT_SOURCE_DIR}/atl.rgs
|
||||||
|
@ -25,7 +24,12 @@ list(APPEND atl_rc_deps
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/atl_lib.tlb)
|
${CMAKE_CURRENT_BINARY_DIR}/atl_lib.tlb)
|
||||||
|
|
||||||
set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS "${atl_rc_deps}")
|
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_typelib(atl_lib.idl)
|
||||||
add_dependencies(atl stdole2)
|
add_dependencies(atl stdole2)
|
||||||
set_module_type(atl win32dll)
|
set_module_type(atl win32dll)
|
||||||
|
|
|
@ -13,11 +13,13 @@ list(APPEND SOURCE
|
||||||
atl80.c
|
atl80.c
|
||||||
${REACTOS_SOURCE_DIR}/dll/win32/atl/atl_ax.c
|
${REACTOS_SOURCE_DIR}/dll/win32/atl/atl_ax.c
|
||||||
${REACTOS_SOURCE_DIR}/dll/win32/atl/registrar.c
|
${REACTOS_SOURCE_DIR}/dll/win32/atl/registrar.c
|
||||||
precomp.h
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/atl80_stubs.c
|
${CMAKE_CURRENT_BINARY_DIR}/atl80_stubs.c
|
||||||
|
precomp.h)
|
||||||
|
|
||||||
|
add_library(atl80 SHARED
|
||||||
|
${SOURCE}
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/atl80.def)
|
${CMAKE_CURRENT_BINARY_DIR}/atl80.def)
|
||||||
|
|
||||||
add_library(atl80 SHARED ${SOURCE})
|
|
||||||
set_module_type(atl80 win32dll)
|
set_module_type(atl80 win32dll)
|
||||||
target_link_libraries(atl80 uuid wine)
|
target_link_libraries(atl80 uuid wine)
|
||||||
add_importlibs(atl80 oleaut32 user32 ole32 gdi32 advapi32 advapi32_vista shlwapi msvcrt kernel32 ntdll)
|
add_importlibs(atl80 oleaut32 user32 ole32 gdi32 advapi32 advapi32_vista shlwapi msvcrt kernel32 ntdll)
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers/fltmgr
|
||||||
|
includes)
|
||||||
|
|
||||||
|
spec2def(fltmgr.sys fltmgr.spec ADD_IMPORTLIB)
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
Context.c
|
Context.c
|
||||||
Dispatch.c
|
Dispatch.c
|
||||||
|
@ -9,18 +16,12 @@ list(APPEND SOURCE
|
||||||
Object.c
|
Object.c
|
||||||
Registry.c
|
Registry.c
|
||||||
Volume.c
|
Volume.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/fltmgr.def
|
|
||||||
fltmgr.h)
|
fltmgr.h)
|
||||||
|
|
||||||
include_directories(
|
|
||||||
${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers/fltmgr
|
|
||||||
includes)
|
|
||||||
|
|
||||||
spec2def(fltmgr.sys fltmgr.spec ADD_IMPORTLIB)
|
|
||||||
|
|
||||||
add_library(fltmgr SHARED
|
add_library(fltmgr SHARED
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
fltmgr.rc)
|
fltmgr.rc
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/fltmgr.def)
|
||||||
|
|
||||||
set_module_type(fltmgr kernelmodedriver)
|
set_module_type(fltmgr kernelmodedriver)
|
||||||
target_link_libraries(fltmgr ${PSEH_LIB})
|
target_link_libraries(fltmgr ${PSEH_LIB})
|
||||||
|
|
Loading…
Reference in a new issue