OrangeC
OrangeC copied to clipboard
Does omake support GNU style of long options?
For example, --jobs 4, --no-print-directory,...
yes, it supports longoptions and no, it dopes not support all of GNU make longoptions:
omake.exe --help
Usage: omake [options] goals
/B Rebuild all /C Set directory
/Dxxx Define something /Ixxx Set include path
/K Keep response files /O Set output mode
/R Ignore builtin vars /S Cancel keepgoing
/T Tree Build /V Show version and date
/Wxxx WhatIf /d Reserved
/e Environment overrides /fxxx Specify make file
/h This text /i Ignore errors
/j:xx Set number of jobs /k Keep going
/n Display only /oxxx Specify old goals
/p Print database /q Query
/r Ignore builtin rules /s Don't print commands
/t Touch /u Debug warnings
/w Print make status --eval=STRING evaluate a statement
/! No logo /? or --help this help
--jobserver-auth=xxxx Name a jobserver to use for getting jobs
--version Show version info
--no-builtin-rules Ignore builtin rules
--no-builtin-vars Ignore builtin variables
Time: 17:20:04 Date: Sep 23 2023
As far as I see --print-directory is missing in the help and --jobs in the implementation: https://github.com/LADSoft/OrangeC/blob/c232d9a5b9c5973043217e9f14c02fc750bec053/src/omake/MakeMain.cpp#L47-L97
Will it ignore the unknown options or simply refused to run?