mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 03:48:17 +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.
24 lines
523 B
CMake
24 lines
523 B
CMake
|
|
spec2def(access.cpl access.spec)
|
|
|
|
list(APPEND SOURCE
|
|
access.c
|
|
display.c
|
|
general.c
|
|
keyboard.c
|
|
mouse.c
|
|
sound.c
|
|
access.h)
|
|
|
|
add_rc_deps(access.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/applet.ico)
|
|
|
|
add_library(access MODULE
|
|
${SOURCE}
|
|
access.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/access.def)
|
|
|
|
set_module_type(access cpl UNICODE)
|
|
add_importlibs(access user32 gdi32 advapi32 comctl32 msvcrt kernel32)
|
|
add_pch(access access.h SOURCE)
|
|
add_cd_file(TARGET access DESTINATION reactos/system32 FOR all)
|