2012-10-20 21:03:32 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/subsys)
|
2014-12-15 22:48:38 +00:00
|
|
|
|
2014-12-16 20:26:02 +00:00
|
|
|
spec2def(basesrv.dll basesrv.spec ADD_IMPORTLIB)
|
2012-10-20 21:03:32 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2014-12-15 22:48:38 +00:00
|
|
|
appcompat.c
|
2013-03-09 21:08:23 +00:00
|
|
|
dosdev.c
|
2012-10-20 21:03:32 +00:00
|
|
|
init.c
|
2013-03-09 21:08:23 +00:00
|
|
|
proc.c
|
|
|
|
sndsntry.c
|
2013-08-29 17:00:10 +00:00
|
|
|
vdm.c
|
|
|
|
nls.c
|
2014-02-09 23:03:24 +00:00
|
|
|
basesrv.h)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(basesrv MODULE
|
2014-02-09 23:03:24 +00:00
|
|
|
${SOURCE}
|
2012-10-20 21:03:32 +00:00
|
|
|
basesrv.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/basesrv.def)
|
|
|
|
|
2013-09-01 00:11:56 +00:00
|
|
|
set_module_type(basesrv win32dll UNICODE ENTRYPOINT DllMain 12)
|
|
|
|
#############################################
|
|
|
|
## HACK FOR MSVC COMPILATION WITH win32dll ##
|
|
|
|
set_subsystem(basesrv console)
|
|
|
|
################# END HACK #################
|
2012-10-20 21:03:32 +00:00
|
|
|
|
|
|
|
target_link_libraries(basesrv ${PSEH_LIB})
|
2013-09-01 00:11:56 +00:00
|
|
|
add_importlibs(basesrv csrsrv ntdll)
|
2014-02-09 23:03:24 +00:00
|
|
|
add_pch(basesrv basesrv.h SOURCE)
|
2015-09-07 10:05:42 +00:00
|
|
|
add_dependencies(basesrv bugcodes xdk)
|
2012-10-20 21:03:32 +00:00
|
|
|
add_cd_file(TARGET basesrv DESTINATION reactos/system32 FOR all)
|