reactos/subsystems/win/basesrv/CMakeLists.txt
Amine Khaldi 121bde3b83 * Sync up to trunk HEAD (r62286).
svn path=/branches/ntvdm/; revision=62287
2014-02-22 10:50:51 +00:00

32 lines
760 B
CMake

include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
spec2def(basesrv.dll basesrv.spec)
list(APPEND SOURCE
dosdev.c
init.c
proc.c
sndsntry.c
vdm.c
nls.c
basesrv.h)
add_library(basesrv SHARED
${SOURCE}
basesrv.rc
${CMAKE_CURRENT_BINARY_DIR}/basesrv.def)
set_module_type(basesrv win32dll UNICODE ENTRYPOINT DllMain 12)
#############################################
## HACK FOR MSVC COMPILATION WITH win32dll ##
set_subsystem(basesrv console)
################# END HACK #################
target_link_libraries(basesrv ${PSEH_LIB})
add_importlibs(basesrv csrsrv ntdll)
add_pch(basesrv basesrv.h SOURCE)
add_dependencies(basesrv bugcodes)
add_cd_file(TARGET basesrv DESTINATION reactos/system32 FOR all)