mirror of
https://github.com/reactos/reactos.git
synced 2024-11-19 13:33:42 +00:00
7a133609e7
- Only include the strictly necessary headers. - Get rid of the dependency on shell and user DLLs. - fgetws() gets the string buffer size in number of characters. - We can use the CRT functions for lengths of the arguments etc. - The cFileName member of the WIN32_FIND_DATAW structure does not contain the full PATH to the enumerated file, but only its name. In order to use _wfopen(), build a full file path out of the directory part of the file specification and the full file name. - Simplify a ConPrintf() call to make it "atomic". - Fix the "confusion" lLineCount vs. lLineNumber vocable in the code. - Do not emit an extra newline after having displayed the results for a given file. - Uppercase the switches for performing the comparisons. - Send the errors to the StdErr stream. - Remove trailing whitespace.
8 lines
285 B
CMake
8 lines
285 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 msvcrt kernel32)
|
|
add_cd_file(TARGET find DESTINATION reactos/system32 FOR all)
|