mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 11:56:26 +00:00
4f0b8d3db0
svn path=/branches/ntvdm/; revision=59241
21 lines
499 B
CMake
21 lines
499 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
|
|
|
|
spec2def(smdll.dll smdll.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
dllmain.c
|
|
query.c
|
|
smdll.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/smdll.def)
|
|
|
|
add_library(smdll SHARED ${SOURCE})
|
|
|
|
target_link_libraries(smdll smlib)
|
|
set_module_type(smdll nativedll ENTRYPOINT DllMainCRTStartup 12)
|
|
add_importlibs(smdll ntdll)
|
|
add_pch(smdll precomp.h)
|
|
add_dependencies(smdll psdk)
|
|
add_cd_file(TARGET smdll DESTINATION reactos/system32 FOR all)
|
|
|