\class cmFindProgramCommand * \brief Define a command to search for an executable program. * * cmFindProgramCommand is used to define a CMake variable * that specifies an executable program. The command searches * in the current path (e.g., PATH environment variable) for * an executable that matches one of the supplied names. */
| 20 | * an executable that matches one of the supplied names. |
| 21 | */ |
| 22 | class cmFindProgramCommand : public cmFindBase |
| 23 | { |
| 24 | public: |
| 25 | cmFindProgramCommand(cmExecutionStatus& status); |
| 26 | |
| 27 | bool InitialPass(std::vector<std::string> const& args); |
| 28 | |
| 29 | private: |
| 30 | std::string FindProgram(); |
| 31 | std::string FindNormalProgram(); |
| 32 | std::string FindNormalProgramDirsPerName(); |
| 33 | std::string FindNormalProgramNamesPerDir(); |
| 34 | std::string FindAppBundle(); |
| 35 | std::string GetBundleExecutable(std::string const& bundlePath); |
| 36 | }; |
| 37 | |
| 38 | bool cmFindProgram(std::vector<std::string> const& args, |
| 39 | cmExecutionStatus& status); |
no outgoing calls
no test coverage detected
searching dependent graphs…