//-------------------------------------------------------------------------------------------------- void MakeExecutable ( int argc, ///< Count of the number of command line parameters. const char** argv ///< Pointer to an array of pointers to command line argument strings. ) //-------------------------------------------------------------------------------------------------- { GetCommandLineArgs(argc, argv); Build(ConstructObjectModel()); }
//-------------------------------------------------------------------------------------------------- void MakeComponent ( int argc, ///< Count of the number of command line parameters. const char** argv ///< Pointer to an array of pointers to command line argument strings. ) //-------------------------------------------------------------------------------------------------- { GetCommandLineArgs(argc, argv); // Set the target-specific environment variables (e.g., LEGATO_TARGET). mk::SetTargetSpecificEnvVars(BuildParams.Target()); ConstructObjectModel(); if (IsStandAlone) { BuildStandAlone(); } else { Build(); } }