projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[UMPNPMGR]
[reactos.git]
/
reactos
/
base
/
services
/
umpnpmgr
/
CMakeLists.txt
diff --git
a/reactos/base/services/umpnpmgr/CMakeLists.txt
b/reactos/base/services/umpnpmgr/CMakeLists.txt
index
9667d98
..
5987acf
100644
(file)
--- a/
reactos/base/services/umpnpmgr/CMakeLists.txt
+++ b/
reactos/base/services/umpnpmgr/CMakeLists.txt
@@
-3,16
+3,19
@@
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/idl)
add_rpc_files(server ${REACTOS_SOURCE_DIR}/include/reactos/idl/pnp.idl)
add_rpc_files(server ${REACTOS_SOURCE_DIR}/include/reactos/idl/pnp.idl)
+spec2def(umpnpmgr.dll umpnpmgr.spec ADD_IMPORTLIB)
-add_
executable(umpnpmgr
+add_
library(umpnpmgr SHARED
umpnpmgr.c
umpnpmgr.rc
umpnpmgr.c
umpnpmgr.rc
- ${CMAKE_CURRENT_BINARY_DIR}/pnp_s.c)
+ ${CMAKE_CURRENT_BINARY_DIR}/pnp_s.c
+ ${CMAKE_CURRENT_BINARY_DIR}/umpnpmgr_stubs.c
+ ${CMAKE_CURRENT_BINARY_DIR}/umpnpmgr.def)
target_link_libraries(umpnpmgr
wdmguid
${PSEH_LIB})
target_link_libraries(umpnpmgr
wdmguid
${PSEH_LIB})
-set_module_type(umpnpmgr win32
cui
UNICODE)
+set_module_type(umpnpmgr win32
dll
UNICODE)
add_importlibs(umpnpmgr advapi32 rpcrt4 userenv shlwapi msvcrt kernel32 ntdll)
add_cd_file(TARGET umpnpmgr DESTINATION reactos/system32 FOR all)
add_importlibs(umpnpmgr advapi32 rpcrt4 userenv shlwapi msvcrt kernel32 ntdll)
add_cd_file(TARGET umpnpmgr DESTINATION reactos/system32 FOR all)