mirror of
https://github.com/reactos/reactos.git
synced 2024-10-30 03:27:31 +00:00
688b18d88c
- Do not hardcode the test file name, but instead take it from the command line (and add a Usage() function); - Do not use a too large fixed-size buffer to read & print the file, but instead use a correctly-size buffer, get the file size, and then do a loop to read data from the file by chunks & send it to the printer. svn path=/trunk/; revision=73047
5 lines
215 B
CMake
5 lines
215 B
CMake
add_executable(winspool_print main.c)
|
|
set_module_type(winspool_print win32cui UNICODE)
|
|
add_importlibs(winspool_print winspool msvcrt kernel32)
|
|
add_cd_file(TARGET winspool_print DESTINATION reactos/system32 FOR all)
|