mirror of
https://github.com/reactos/reactos.git
synced 2024-11-05 22:26:39 +00:00
23373acbb9
There is no need to compile our DLLs as shared libraries since we are managing symbols exports and imports through spec files. On my system, this reduces the configure-time by a factor of two.
25 lines
536 B
CMake
25 lines
536 B
CMake
|
|
spec2def(winsta.dll winsta.spec)
|
|
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
|
|
|
list(APPEND SOURCE
|
|
logon.c
|
|
main.c
|
|
misc.c
|
|
query.c
|
|
security.c
|
|
server.c
|
|
ws.c
|
|
winsta.h)
|
|
|
|
add_library(winsta MODULE
|
|
${SOURCE}
|
|
winsta.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/winsta.def)
|
|
|
|
set_module_type(winsta win32dll)
|
|
target_link_libraries(winsta wine)
|
|
add_importlibs(winsta msvcrt kernel32 ntdll)
|
|
add_pch(winsta winsta.h SOURCE)
|
|
add_cd_file(TARGET winsta DESTINATION reactos/system32 FOR all)
|