mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 17:06:29 +00:00
1bd330cd81
This commit contains a complete rewrite of find console utility. The goal of it was to make the source code easier to maintain and to add a missing feature (/offline switch). Additional changes: * now the program operates on Unicode strings; * added conutils and shlwapi as program's libraries; * added IDS_INVALID_SWITCH string into resources; * modified IDS_USAGE string to include /offline switch description. https://ss64.com/nt/find.html was used for reference.
9 lines
300 B
CMake
9 lines
300 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/conutils)
|
|
|
|
add_executable(find find.c find.rc)
|
|
set_module_type(find win32cui UNICODE)
|
|
target_link_libraries(find conutils ${PSEH_LIB})
|
|
add_importlibs(find user32 msvcrt kernel32 shlwapi)
|
|
add_cd_file(TARGET find DESTINATION reactos/system32 FOR all)
|