mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
975d417b34
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).
12 lines
383 B
CMake
12 lines
383 B
CMake
|
|
list(APPEND SOURCE
|
|
utilman.c
|
|
precomp.h)
|
|
|
|
add_rc_deps(utilman.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/utilman.ico)
|
|
add_executable(utilman ${SOURCE} utilman.rc)
|
|
set_module_type(utilman win32gui UNICODE)
|
|
add_importlibs(utilman user32 msvcrt kernel32 ntdll)
|
|
add_pch(utilman precomp.h SOURCE)
|
|
add_cd_file(TARGET utilman DESTINATION reactos/system32 FOR all)
|
|
add_subdirectory(umandlg)
|