reactos/base/applications/utilman/umandlg/CMakeLists.txt
Bișoc George 975d417b34
[UTILMAN] Move most of the code in a library (#2530)
Windows XP and Server 2003 Utility Manager has a dedicated library for the resources and other stuff. Utility Manager is just a simple process that loads it. Hence create a library for the program, UManDlg.dll, and move the resources and other stuff there.

In addition to that, use ExtractIconW to get the icon resource from the program (the DLL doesn't share icons by default) and remove the icon resource from the "About" dialog window. Also change the encoding type of other translation files to UTF-8 (which were previously set with UTF-8 with BOM).
2020-04-17 13:42:47 +03:00

16 lines
395 B
CMake

spec2def(umandlg.dll umandlg.spec)
add_library(umandlg MODULE
about.c
process.c
registry.c
umandlg.c
umandlg.h
umandlg.rc
${CMAKE_CURRENT_BINARY_DIR}/umandlg.def)
set_module_type(umandlg win32dll UNICODE)
add_importlibs(umandlg comdlg32 user32 gdi32 advapi32 shell32 comctl32 msvcrt kernel32 ntdll)
add_cd_file(TARGET umandlg DESTINATION reactos/system32 FOR all)