Skip to content

Commit 12e0121

Browse files
committed
[SYSTEMINFO] Do some code lift-up; use Conutils lib to be able to display localized unicode strings
In particular: - unhardcode buffer sizes and API flags; - add our standard file header in the .c file (I haven't done it for the other files); - merge systeminfo.rc and rsrc.rc together.
1 parent dc7c7fb commit 12e0121

File tree

4 files changed

+212
-219
lines changed

4 files changed

+212
-219
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11

22
include_directories(
3+
${REACTOS_SOURCE_DIR}/sdk/lib/conutils
34
${REACTOS_SOURCE_DIR}/sdk/lib/udmihelp)
45

56
add_executable(systeminfo systeminfo.c systeminfo.rc)
6-
set_module_type(systeminfo win32cui)
7-
target_link_libraries(systeminfo udmihelp)
7+
set_module_type(systeminfo win32cui UNICODE)
8+
target_link_libraries(systeminfo conutils udmihelp ${PSEH_LIB})
89
add_importlibs(systeminfo user32 advapi32 netapi32 shlwapi iphlpapi ws2_32 msvcrt kernel32 ntdll)
910
add_cd_file(TARGET systeminfo DESTINATION reactos/system32 FOR all)

modules/rosapps/applications/sysutils/systeminfo/rsrc.rc

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)